999 Commits

Author SHA1 Message Date
Peter Hartmann
8ee9e8ed22 segmented bar: Add separator subcontrol 2022-06-27 13:31:17 +02:00
Peter Hartmann
e7d05b5c98 segmented bar: Respect padding hint for graphic 2022-06-27 13:31:17 +02:00
Peter Hartmann
00b7df5b30 segmented bar: Don't constrain segment and cursor to inner box
In case we want to fill e.g. the cursor completely, we want to
access the contents rect. This means that it is our responsibility
to not draw beyond the panel.
2022-06-27 13:31:17 +02:00
Peter Hartmann
bbaf7b2884 segmented bar: Add states for when cursor is at beginning and end
... so we can style the cursor accordingly
2022-06-27 13:31:17 +02:00
Peter Hartmann
879b4144b1 Merge branch 'uwerat-master' into material-theme 2022-06-27 10:35:49 +02:00
Uwe Rathmann
061cdb0a07 minor improvements of the push button layout 2022-06-18 11:32:48 +02:00
Peter Hartmann
c465676642 segmented bar: Add separator subcontrol 2022-06-17 12:49:27 +02:00
Peter Hartmann
8036d8ee69 Merge branch 'uwerat-master' into material-theme 2022-06-17 09:37:32 +02:00
Peter Hartmann
e5880cf3ba segmented bar: Respect padding hint for graphic 2022-06-17 09:37:04 +02:00
Peter Hartmann
a8fd90f5b1 segmented bar: Use QskAspect for the orientation
... to be able to style properly.
2022-06-17 09:37:04 +02:00
Peter Hartmann
79442019e4 segmented bar: Don't constrain segment and cursor to inner box
In case we want to fill e.g. the cursor completely, we want to
access the contents rect. This means that it is our responsibility
to not draw beyond the panel.
2022-06-17 09:37:04 +02:00
Peter Hartmann
ed26bd3ab4 segmented bar: Add states for when cursor is at beginning and end
... so we can style the cursor accordingly
2022-06-17 09:37:04 +02:00
Uwe Rathmann
112221f123 only clip at the top border 2022-06-17 09:24:58 +02:00
Peter Hartmann
d88edb3a02 Merge branch 'uwerat-master' into material-theme 2022-06-15 14:37:49 +02:00
Uwe Rathmann
54616a5781 missing Metric bit for spacings added 2022-06-15 11:38:07 +02:00
Peter Hartmann
bac7a2024a Merge branch 'uwerat-master' into material-theme 2022-06-15 10:58:56 +02:00
Peter Hartmann
8ee681588e Revert "QskPushButton: respect the graphics alignment"
This reverts commit 3c69498026c0a4e26b585a265a25ecf73857ab5d.
2022-06-15 10:57:36 +02:00
Peter Hartmann
74e036c355
QskPushButton: respect the graphics alignment (#193)
Also, respect the padding hint of the graphic

Resolves #22
2022-06-15 10:34:51 +02:00
Peter Hartmann
264d53cb39
QskMenu: Respect graphic padding (#196)
We need some padding for e.g. the Material 3 style.
2022-06-13 17:18:47 +02:00
Peter Hartmann
f53d0daeda Merge branch 'uwerat-master' into material-theme 2022-06-13 17:12:25 +02:00
Uwe Rathmann
1339a5f4cb shadows added to the box model 2022-06-13 17:01:15 +02:00
Peter Hartmann
e6120baf15 QskMenu: Respect graphic padding
We need some padding for e.g. the Material 3 style.
2022-06-13 16:59:52 +02:00
Peter Hartmann
3df987894e Merge branch 'uwerat-master' into material-theme 2022-06-13 14:40:06 +02:00
Uwe Rathmann
1e1cf34829 setter/getter for shadow hints 2022-06-13 13:10:45 +02:00
Peter Hartmann
2340b21280 Merge branch 'uwerat-master' into material-theme 2022-06-13 09:50:27 +02:00
Uwe Rathmann
f03007e7b8 QskShadowMetrics added to QskSkinHintTableEditor 2022-06-13 08:43:28 +02:00
Peter Hartmann
e6b85e528b button: Add more states to cover different button types 2022-06-08 11:48:29 +02:00
Peter Hartmann
3c69498026 QskPushButton: respect the graphics alignment
Also, respect the padding hint of the graphic

Resolves #22
2022-06-07 11:44:41 +02:00
Peter Hartmann
c4dc6e8c2f Merge remote-tracking branch 'origin/master' into material-theme 2022-06-07 11:09:38 +02:00
Peter Hartmann
167965e12c
switch button: Fix size hint (#195)
This fixes a case where the Groove is bigger than the Handle, e.g.
with the Material 3 switch buttons.
2022-06-06 07:08:33 +02:00
Peter Hartmann
d456237feb switch button: Fix size hint
This fixes the case where the Groove is bigger than the Handle, e.g.
with the Material 3 switch buttons.
2022-06-03 17:28:16 +02:00
Uwe Rathmann
54b55c0324 default graphic pipeline without native OpenGL calls.
code is QRHI compiant now
2022-06-02 16:02:42 +02:00
Uwe Rathmann
c291cde259 includes fixed 2022-06-01 16:51:11 +02:00
Uwe Rathmann
8593a5cf2e hide QskGraphicNode, QskTextNode in QskSkinlet, where possible.
We will have less dependencies, when moving QskGraphicNode to something
that works better with the QRhi abstraction
2022-05-30 15:16:46 +02:00
Uwe Rathmann
dae4ee02d5 deprecation warnings fixed 2022-05-02 16:51:24 +02:00
Uwe Rathmann
9f706beab1 iconst keywords removed to avoid clang warnings about implicitely
deleted functions. But do we really need QSK_EVENT_DISABLE_COPY ?
2022-04-22 09:00:26 +02:00
Uwe Rathmann
bce7d6e1dc unused lambda capture removed 2022-04-22 08:39:01 +02:00
Uwe Rathmann
12a3dd06da boilerplate code to have QskSegmentedBar in the gallery. 2022-04-20 15:25:15 +02:00
Uwe Rathmann
8f04d21739 formal adjustments 2022-04-20 14:20:41 +02:00
Uwe Rathmann
50ee82fbaa QskSegmentedBar ( inspired by the IOS segmented control ) added 2022-04-20 14:14:37 +02:00
Uwe Rathmann
e689575510 suing QskMenu::Segement instead of Qskmenu::Cell to be in line with other
controls
2022-04-20 13:58:53 +02:00
Uwe Rathmann
22060f6aaf missing moc include 2022-04-20 13:54:27 +02:00
Uwe Rathmann
d011d5d1ea all node role enums should have RoleCount 2022-04-20 13:50:14 +02:00
Uwe Rathmann
d0b926b868 using Qt::Edge instead of Qsk::Position 2022-04-17 12:37:13 +02:00
Uwe Rathmann
e514b659e8 resetPlacementPolicy added 2022-04-16 20:38:50 +02:00
Uwe Rathmann
1f0ad384ac dropping support for Qt < 5.15 2022-04-16 16:29:58 +02:00
Uwe Rathmann
d52453311f heuristic for initializing the cascading property moved from skin to
QskMenu
2022-04-16 12:25:39 +02:00
Uwe Rathmann
c4f5a4bc93 compiler error fixed 2022-04-16 11:32:51 +02:00
Uwe Rathmann
6dd3b44f52 placementPolicy as property 2022-04-15 13:19:52 +02:00
Uwe Rathmann
bf37fe000c using QMetaObject instead of QTimer for delayed calls 2022-04-14 08:26:49 +02:00