Sergio Martins
bba7ddc4a5
wip
2020-04-27 19:46:58 +01:00
Sergio Martins
52e945c900
wip
2020-04-27 19:31:21 +01:00
Sergio Martins
de60913a88
wip
2020-04-26 16:56:34 +01:00
Sergio Martins
93fec759ed
wip
2020-04-10 13:07:56 +01:00
Sergio Martins
2a0abe60f9
wip
2020-04-05 22:15:02 +01:00
Sergio Martins
a5a7019d5a
wip
2020-04-05 13:52:06 +01:00
Sergio Martins
4be5b72208
wip
2020-04-05 13:27:21 +01:00
Sergio Martins
f6200739ff
wip
2020-04-05 13:22:06 +01:00
Sergio Martins
4997970800
wip
2020-04-04 17:59:16 +01:00
Sergio Martins
9a18276819
wip
2020-04-04 13:12:06 +01:00
Sergio Martins
8539a9f1a4
KDDockWidgets builds now
2020-04-02 20:48:12 +01:00
Sergio Martins
4734f06046
builds
2020-04-02 19:43:36 +01:00
Sergio Martins
76eb54e86f
WIP: Anchor.cpp now builds
2020-04-01 15:19:22 +01:00
Sergio Martins
1643f23612
WIP
2020-04-01 12:02:47 +01:00
Sergio Martins
9904d847f2
LayoutSaver now can save/restore a sub-set of windows
...
Each subset is identified by its "affinity name".
See DockWidget/MainWindow setAffinityName property.
Patch contributed by Andras Mantia, I've changed it to deal in
terms of affinity names instead of unique names.
2020-03-01 14:25:31 +00:00
Sergio Martins
ee786f57c5
LayoutSaver: Fix rounding errors when doing a relative restore
...
After a restore with relative sizes the items might not be on a pixel
perfect position regarding to their anchors. Make sure they are after
the restore is complete.
2020-02-25 23:24:39 +00:00
Sergio Martins
3f732e91a7
Minor refactoring
2020-02-25 22:53:28 +00:00
Sergio Martins
b80a795968
Improve comments on this function
2020-01-24 10:02:22 +00:00
Sergio Martins
0003b508d6
Bound interval when adding the widget
...
rectForDrop() doesn't know about the anchors bounds, so we need to
adjust the interval after. Fixes fuzzer testcase 16
2020-01-22 22:49:45 +00:00
Allen Winter
df692686e7
various - update copyright year
2020-01-07 11:36:56 -05:00
Sergio Martins
83f6bb8daf
Remove some sanity checks, no longer needed
...
Silenced a false-positive warning about anchor visibility.
It was invisible because we're within a main window show()
It will be checked by the unit-tests and fuzzer anyway. No need to
do it in production.
2019-10-22 15:28:50 +01:00
Sergio Martins
38949fac2a
Fix build without find_package()
...
Some of our projects have kddockwidgets directly in their build
2019-10-21 14:30:04 +01: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