Sergio Martins
|
d5faebb81c
|
Add support for aero-snap
|
2019-07-29 23:13:57 +01:00 |
|
Sergio Martins
|
1ed32283eb
|
Add a native resize handler for windows so we can have aero-snap
|
2019-07-29 22:21:15 +01:00 |
|
Sergio Martins
|
77a61aed23
|
Preserve Anchor position percentage after restore
|
2019-07-29 21:18:29 +01:00 |
|
Sergio Martins
|
7bcafb6ee3
|
Preserve anchor position percentage when restoring a maximized window
|
2019-07-29 20:31:51 +01:00 |
|
Sergio Martins
|
90cbd9731a
|
Fix anchors being out of bounds when consoming another multi splitter
dropping a multi splitter into another one wasn't honouring the bounds
of the donor's inner anchors
|
2019-07-29 18:54:09 +01:00 |
|
Sergio Martins
|
158c6157b5
|
Don't resize horizontal anchors when resizing window width
Similar for height
|
2019-07-29 18:53:29 +01:00 |
|
Sergio Martins
|
3c87d106ff
|
Actually remove the assert
|
2019-07-29 12:11:35 +01:00 |
|
Sergio Martins
|
a876249f13
|
Remove assert that can happen during a dumpDebug during restore
|
2019-07-29 12:07:06 +01:00 |
|
Sergio Martins
|
6fc9d48a9d
|
Don't warn if the current tab is -1
|
2019-07-29 11:33:47 +01:00 |
|
Sergio Martins
|
2b737ae6ad
|
Don't flicker when restoring
Only show the frame after it's parented
|
2019-07-29 11:01:06 +01:00 |
|
Sergio Martins
|
7400ae97de
|
Fix build
|
2019-07-28 21:13:31 +01:00 |
|
Sergio Martins
|
a69652a20a
|
DebugWindow: Add a way to repaint all windows
For debugging weird artifacts on MFC
|
2019-07-28 20:33:13 +01:00 |
|
Sergio Martins
|
d3256b5eb2
|
Fix linux build
|
2019-07-28 09:29:49 +01:00 |
|
Sergio Martins
|
13280dd01e
|
Also print Qt's version of the story
|
2019-07-27 20:16:24 +01:00 |
|
Sergio Martins
|
7f67349ab2
|
DebugWindow: Print native window rects
|
2019-07-27 20:00:14 +01:00 |
|
Sergio Martins
|
48e42b3247
|
Fix setContentSize() that was a no-op
Also, while restoring the layout don't resize the central widget
|
2019-07-27 19:09:27 +01:00 |
|
Sergio Martins
|
fd0b594331
|
Save the geometry of the actual top-level window
In case we have a main window embedded in another widget
|
2019-07-27 18:56:29 +01:00 |
|
Sergio Martins
|
1b249d68e9
|
Disable SeparatorWidget before the deleteLater
So we don't get an enterEvent
|
2019-07-27 11:35:12 +01:00 |
|
Sergio Martins
|
95f82cf8d7
|
Add assert
|
2019-07-27 11:26:03 +01:00 |
|
Sergio Martins
|
1f920a3aec
|
Add qDebug
|
2019-07-27 11:24:20 +01:00 |
|
Sergio Martins
|
73183a4fd5
|
Don't crash in a warning
|
2019-07-27 00:36:23 +01:00 |
|
Sergio Martins
|
a50683f400
|
Remove the Qt::WA_DontCreateNativeAncestors flag
IT doesn't fixes it completely
|
2019-07-27 00:06:47 +01:00 |
|
Sergio Martins
|
ab7f44f30a
|
DebugWindow: More debug helpers
|
2019-07-27 00:03:54 +01:00 |
|
Sergio Martins
|
5992114fc1
|
Allow to click on disabled widgets
|
2019-07-26 22:04:57 +01:00 |
|
Sergio Martins
|
6c18b25d00
|
DebugWindow: Add option to update and to print to png
|
2019-07-26 21:50:51 +01:00 |
|
Sergio Martins
|
c12a691433
|
Update Frame's icon and title when the dock widget's title/icon changes
|
2019-07-26 18:38:05 +01:00 |
|
Sergio Martins
|
f6304ee21e
|
refactor
|
2019-07-26 18:29:07 +01:00 |
|
Sergio Martins
|
a238b61ebf
|
Emit signal when icon changes
|
2019-07-26 18:22:42 +01:00 |
|
Sergio Martins
|
e55d4a97b7
|
also disable native parents in the dock widget ctor
since the client widget might already be parented to DockWidget,
so at least we stop it there
|
2019-07-26 18:10:32 +01:00 |
|
Sergio Martins
|
5ba23f3c5d
|
Add hasIcon property for gammaray
|
2019-07-26 18:05:57 +01:00 |
|
Sergio Martins
|
b196d6fad9
|
Add WA_DontCreateNativeAncestors
This is a good default to have, so we're shielded from the client
widget
|
2019-07-26 17:14:40 +01:00 |
|
Sergio Martins
|
a6270137ec
|
Debug++
|
2019-07-26 16:21:05 +01:00 |
|
Sergio Martins
|
10047fcd38
|
DebugWindow: Add a way to detach central widget for debug
|
2019-07-26 15:58:33 +01:00 |
|
Sergio Martins
|
61f6cdc650
|
DebugWindow :Print the geometry too
|
2019-07-26 15:55:43 +01:00 |
|
Sergio Martins
|
f624cf7bf4
|
Uncomment check which passes now
|
2019-07-26 14:40:01 +01:00 |
|
Sergio Martins
|
1a8a409f6f
|
Fix some out of bounds positionings
When calculating the cumulative min length some anchor thicknesses
were being accounted for because we had cleared the placeholders
|
2019-07-26 14:21:57 +01:00 |
|
Sergio Martins
|
6ce7c3c88b
|
Add boundPositionsForAllAnchors() method
|
2019-07-26 14:01:37 +01:00 |
|
Sergio Martins
|
d0be94e2dd
|
Also update Item's minSize before restoring placeholder
|
2019-07-26 11:52:21 +01:00 |
|
Sergio Martins
|
5c07a92f7f
|
Update item's min size when the frame's min size changes
|
2019-07-26 11:27:31 +01:00 |
|
Sergio Martins
|
4d9424e330
|
tests++
|
2019-07-26 10:50:49 +01:00 |
|
Sergio Martins
|
d7c5052e8f
|
Disable fuzzer for now, we'll re-enable it when it can do N runs
|
2019-07-26 10:50:13 +01:00 |
|
Sergio Martins
|
6946f3c64c
|
Make TestDocks a friend of Item
|
2019-07-26 10:49:38 +01:00 |
|
Sergio Martins
|
f5e72e7bed
|
Fix available space calculation when there's placeholders
When layout is empty we don't need to account for the space
occupied by the new anchor. But neither when all the items
are placeholders
|
2019-07-25 23:15:12 +01:00 |
|
Sergio Martins
|
e4d1c92b8a
|
Simplify test, this is enough to repro
|
2019-07-25 21:23:27 +01:00 |
|
Sergio Martins
|
d13ae5f03a
|
Add a failing test
|
2019-07-25 19:32:07 +01:00 |
|
Sergio Martins
|
e428b073c3
|
Fix saving minimum sizes of Item placeholders
Item::minSize() wasn't returning d->m_minSize
|
2019-07-25 19:01:05 +01:00 |
|
Sergio Martins
|
e58cab181a
|
Don't crash when restoring after a resize
|
2019-07-25 18:20:05 +01:00 |
|
Sergio Martins
|
359855856c
|
Add another sanity check
|
2019-07-25 17:48:04 +01:00 |
|
Sergio Martins
|
6ca50aecc7
|
Update the frame geometry when restoring the item
|
2019-07-25 17:17:27 +01:00 |
|
Sergio Martins
|
d50d5606e4
|
DebugView: Don't show our own window in the viewer
|
2019-07-25 17:03:13 +01:00 |
|