Commit Graph

3 Commits

Author SHA1 Message Date
Sergio Martins
89dbd20e1d Honour the widget's initial size when adding it to the layout
In MultiSplitterLayout::lengthForDrop(), we use frame's size
as the suggested size to use when add a dock widget. So give
the frame the size of the dock widget.

User can now do:
    dockwidget->resize(foo);
    mainwindow->addWidget(); and it will respect the size
2019-12-08 17:24:30 +00:00
Sergio Martins
2d0b7f1bee Add Frame::isInMainWindowChanged() signal 2019-12-03 19:53:50 +00:00
Sergio Martins
787f7802be Move the private code into a private/ folder
It's nice to have a similar include hierarchy at build time and install
time.

It also makes things more explicit
2019-10-20 19:24:54 +01:00