Commit Graph

1816 Commits

Author SHA1 Message Date
Uwe Rathmann 0c28d9d664 QskGraphic::fraomGraphic introduced 2022-07-01 12:37:58 +02:00
Uwe Rathmann cda5a8b45c Starting with a simpler version of QskCheckBox ( no tristate ), but with
having an optional text.
2022-07-01 11:10:59 +02:00
Uwe Rathmann e67bc4a5ed QskAbstractButton::Flat removed, using QskAspect::Header instead 2022-06-29 16:21:54 +02:00
Uwe Rathmann dc335ddf24 QskAspect added 2022-06-29 16:17:58 +02:00
Uwe Rathmann 3f803399c5 Merge branch 'master' of https://github.com/uwerat/qskinny 2022-06-29 16:16:07 +02:00
Uwe Rathmann bc66faea8c QskAspect::Section introduced 2022-06-29 16:15:38 +02:00
Uwe 615d40e4a1 avoid pointless gcc11 stringop-overflow warnings 2022-06-28 09:20:22 +02:00
Peter Hartmann 73f5538844 fix build after merge 2022-06-27 14:50:54 +02:00
Peter Hartmann d70742db50 Merge branch 'uwerat-master' into material-theme 2022-06-27 14:00:13 +02:00
Uwe Rathmann 5c2614b515 returning an empty rect for the separator behind the last segment 2022-06-27 13:44:44 +02:00
Peter Hartmann ade6dfe73f segmented bar: Add separator subcontrol 2022-06-27 13:31:17 +02:00
Peter Hartmann 2bd544989a segmented bar: Respect padding hint for graphic 2022-06-27 13:31:17 +02:00
Peter Hartmann 3abd9b2762 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 b55655de13 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
Uwe Rathmann 2c311e12b9 making QskHctColor a class, tone calculation from rgb added 2022-06-27 12:54:13 +02:00
Peter Hartmann cf1f99bf36 Merge branch 'uwerat-master' into material-theme 2022-06-27 10:35:49 +02:00
Uwe Rathmann d73768a06f Q_DECL_UNUSED removed, seems to cause problems on Macs 2022-06-26 14:33:39 +02:00
Uwe Rathmann 17e52fa2e0 hacks for exposing definitions to QML are not needed anymore 2022-06-25 16:52:24 +02:00
Uwe Rathmann 7134f3358d wip 2022-06-25 16:38:42 +02:00
Uwe Rathmann 6c25420fb6 QskRgbValueQml removed. For QML we have the definitions in ColorConstants::Svg 2022-06-25 16:22:31 +02:00
Uwe Rathmann 8a8314da10 M(aterial)2 related code replaced 2022-06-25 16:14:08 +02:00
Uwe Rathmann 895efcc6da typos fixed 2022-06-25 16:10:00 +02:00
Uwe Rathmann 32097b8412 RGB converter for the HCT color system introduced 2022-06-24 17:19:04 +02:00
Uwe Rathmann 504a75ed19 minor improvements of the push button layout 2022-06-18 11:32:48 +02:00
Peter Hartmann 29fd674df0 style segmented bar in disabled state 2022-06-17 18:23:40 +02:00
Peter Hartmann 467d5c3c12 move some colors to the palette 2022-06-17 17:44:05 +02:00
Peter Hartmann e5a3a01e8c improve shadow 2022-06-17 15:45:03 +02:00
Peter Hartmann 81d69e902f style segmented bar some more 2022-06-17 12:50:35 +02:00
Peter Hartmann 56a6b5d5d1 segmented bar: Add separator subcontrol 2022-06-17 12:49:27 +02:00
Peter Hartmann f45cae27a3 Merge branch 'uwerat-master' into material-theme 2022-06-17 09:37:32 +02:00
Peter Hartmann 6d4a521768 style segmented bar 2022-06-17 09:37:04 +02:00
Peter Hartmann 174397e48e segmented bar: Respect padding hint for graphic 2022-06-17 09:37:04 +02:00
Peter Hartmann 04b3167df3 segmented bar: Use QskAspect for the orientation
... to be able to style properly.
2022-06-17 09:37:04 +02:00
Peter Hartmann c4b1fd7916 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 e17ed9ee3e 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
Peter Hartmann 6645317dcf Add shadow to menus and move shadows to palette 2022-06-17 09:37:04 +02:00
Uwe Rathmann 7edfb41f22 only clip at the top border 2022-06-17 09:24:58 +02:00
Peter Hartmann afa63bce5b Merge branch 'uwerat-master' into material-theme 2022-06-15 14:37:49 +02:00
Uwe Rathmann c374688b28 missing Metric bit for spacings added 2022-06-15 11:38:07 +02:00
Peter Hartmann 8b91dd9514 fix button size again, was lost in a merge 2022-06-15 11:37:02 +02:00
Uwe Rathmann 62ea3b67a9 Merge branch 'master' of https://github.com/uwerat/qskinny 2022-06-15 11:00:44 +02:00
Uwe Rathmann ffd02c6f5c being more careful with setting the dirty bits of a QskBoxShadowNode 2022-06-15 10:59:39 +02:00
Peter Hartmann 5213a9fd0e Merge branch 'uwerat-master' into material-theme 2022-06-15 10:58:56 +02:00
Peter Hartmann 33d601befd Revert "QskPushButton: respect the graphics alignment"
This reverts commit 3c69498026.
2022-06-15 10:57:36 +02:00
Peter Hartmann be360c729c 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 9d64f2b957 fix menu 2022-06-14 12:09:07 +02:00
Uwe Rathmann b8502524ff missing color update added 2022-06-14 12:03:33 +02:00
Uwe Rathmann 7227dd0d22 shadows example improved 2022-06-14 11:58:56 +02:00
Uwe Rathmann 2b2da9dac2 compare operators fixed, extra methods for offsetX/Y 2022-06-14 11:49:50 +02:00
Peter Hartmann 7377811f95 fix build 2022-06-14 11:26:12 +02:00