Commit Graph

16 Commits

Author SHA1 Message Date
Sergio Martins
c87f5ba6eb Move utility function into tests
used by the tests only
2020-07-27 21:32:58 +01:00
Sergio Martins
a84fea36fe qml: Move widgetMaxSize to the base class
The logic is not specific to QWidget. It will be reused for QtQuick
2020-07-26 20:24:24 +01:00
Allen Winter
b4f49895c2 clarify: licensing is GPL2 or GPL3 or commercial licensed
follow the REUSE specs
2020-07-24 18:16:13 -04:00
Sergio Martins
25dd149475 Add Widget::mapToGlobal() 2020-06-13 19:09:44 +01:00
Sergio Martins
16c32cea4b Added Widget::update() and mapFromGlobal 2020-06-11 19:33:20 +01:00
Sergio Martins
9f44eb3154 Add Widget::topLevel()
Equivalent to QWidget::window()
2020-06-11 18:18:11 +01:00
Sergio Martins
d5797a3aea Honour QSizePolicy::Fixed too
Some widgets, for example QPushButton, instead of having an explicit max size,
they communicate the need for a max size through their size policy
2020-06-07 19:53:06 +01:00
Sergio Martins
dabfeeaf3b Honour max-size when floating a window 2020-06-05 15:35:55 +01:00
Sergio Martins
df8511b3dc Add an example of how to use the multisplitter with QtQuick 2020-06-01 12:16:00 +01:00
Sergio Martins
d8af06a7ee Rename Item::maxSize to Item::maxSizeHint
It will more of an hint than really enforced in all cases
2020-05-28 20:20:24 +01:00
Sergio Martins
8461f1f79e kddockwidgets_multisplitter is now a library of its own 2020-05-25 06:45:13 +01:00
Sergio Martins
ba49e1cbe2 Separator no longer inherits from QWidget
Only SeparatorWidget does
2020-05-24 20:29:49 +01:00
Sergio Martins
de0bcf9ce3 readability: Rename asWidget() to asQWidget() 2020-05-24 20:03:02 +01:00
Sergio Martins
c477fce1d9 Add Widget::show(), hide() and setGeometry() 2020-05-24 17:43:54 +01:00
Sergio Martins
e28f82dcad Make Item::hostWidget be a Layouting::Widget instead of QWidget
Just an abstraction preparing for QQuickItem support
2020-05-24 17:31:37 +01:00
Sergio Martins
7016656264 Rename GuestInterface to Widget
So we can use it to abstract the host too, not just the guest.
2020-05-24 15:23:10 +01:00