codilime / veles

Binary data analysis and visualization tool
https://veles.io
Apache License 2.0
1.16k stars 118 forks source link

Fix widget docking #348

Open mkow opened 7 years ago

mkow commented 7 years ago

I didn't manage to arrange two hex views side-by-side. When dragging a window there should be an option to split another window both vertically and horizontally.

mkow commented 7 years ago

(there's an option in the context menu for this, but this should be possible to do by dragging windows, like in other applications)

mkow commented 7 years ago

Our docks seem to be generally bugged, a lot of things don't work properly (resizing, rendering glitches, broken docking).

malpunek commented 6 years ago

I think we are using QMainWindow in a wrong way. QMainWindow docs state:

Note: Creating a main window without a central widget is not supported. You must have a central widget even if it is just a placeholder.

While in src/ui/mainwindowwithdetachabledockwidgets.cc line 47 we have setCentralWidget(nullptr);

malpunek commented 6 years ago

I think this does something we are trying to achieve. We should try to use it in our project