Sergio Martins
e99772fa4f
Hide the frame whenever DockWidget::setVisible(false) is called
2019-06-19 17:03:21 +01:00
Sergio Martins
566370eb32
readability: Renamed Frame::widgetCount() to Frame::dockWidgetCount()
...
dpcs++
2019-06-19 14:44:07 +01:00
Sergio Martins
41d75dd494
tests++
2019-06-19 12:58:05 +01:00
Sergio Martins
17ddc03b3f
Fix DockWidget::isTabbed() when it's in the central frame
...
The central frame always shows tabs
2019-06-19 11:24:13 +01:00
Sergio Martins
d047702e29
tests: Test redocking the frame before redocking the middle dock
...
The middle dock still finds its home.
2019-06-19 10:48:08 +01:00
Sergio Martins
cdcef34497
DockWidget::setFloating(false) now restores to the correct tab
2019-06-19 10:37:18 +01:00
Sergio Martins
ca4421e963
DockWidget::setFloating(false) now restores to previous tab
...
TODO: Restore to areas (non-tabbed). Will require a bigger refactoring.
2019-06-18 23:29:18 +01:00
Sergio Martins
0410963a3c
Fix calling DockWidget::setFloating(true)
...
The used titlebar wasn't the right one.
2019-06-18 22:02:59 +01:00
Sergio Martins
aa7ae24b8b
DockWidget: Rework setFloating/isFloating a bit
...
- setFloating() now works if the widget was tabbed.
- isFloating() changes the definition of floating a bit:
If a widget is tabbed into another one then it's docked, not tabbed.
To be floating it has to have it's own window and that window not have
any other dock widgets, which excludes side-by-side and tabbed stuff, even if it's
in a floating group (FloatingWindow)
2019-06-18 21:23:51 +01:00
Sergio Martins
e8bf44d238
tests: Add a minimal tst_isTabbed()
2019-06-18 18:29:27 +01:00
Sergio Martins
55d0968d96
tests: Print the warning category
2019-06-17 18:24:14 +01:00
Allen Winter
7241bf6794
various - move Author to its own line
2019-04-24 13:02:32 -04:00
Allen Winter
1574986a1b
various - update copyright year
...
also run dos2unix on a few files with CRLFs
2019-04-24 11:13:38 -04:00
Sergio Martins
87f2325c71
Fix copyrights
2019-04-24 15:27:04 +01:00
Sergio Martins
e43b673858
Initial commit
2019-04-24 14:49:01 +01:00