Commit Graph

861 Commits

Author SHA1 Message Date
Uwe Rathmann 58d0bb5dd1 keep upper case letters for skin names 2022-07-14 13:55:35 +02:00
Uwe Rathmann a0dc632867 Merge branch 'material-theme' of https://github.com/edelhirsch/qskinny into edelhirsch-material-theme 2022-07-07 08:42:59 +02:00
Uwe Rathmann a3b48c68fa Qtcalculations only for Qt::MinimumSize 2022-07-07 08:39:29 +02:00
Peter Hartmann ca3285fc40 QskSubWindow: Respect minimum size
E.g. Material 3 dialogs have a minimum size
2022-07-07 08:20:31 +02:00
Peter Hartmann 511f92338f Slider: Add ripple and style it 2022-07-05 13:41:18 +02:00
Peter Hartmann 1b0b37ee4b remove leftover change in segmented bar 2022-07-05 09:52:03 +02:00
Peter Hartmann 19b7914a80 Merge branch 'uwerat-master' into material-theme
This means remove the outlined and text buttons for now
2022-07-05 09:33:43 +02:00
Uwe Rathmann d9929e1dde using QskSkin::symbol for the indicator 2022-07-01 12:40:52 +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 bc66faea8c QskAspect::Section introduced 2022-06-29 16:15:38 +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
Peter Hartmann cf1f99bf36 Merge branch 'uwerat-master' into material-theme 2022-06-27 10:35:49 +02:00
Uwe Rathmann 504a75ed19 minor improvements of the push button layout 2022-06-18 11:32:48 +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 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
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 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 a44c3a1e4e 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 bde5d8f59f Merge branch 'uwerat-master' into material-theme 2022-06-13 17:12:25 +02:00
Uwe Rathmann 3a22880778 shadows added to the box model 2022-06-13 17:01:15 +02:00
Peter Hartmann 1bcb6a18aa 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 1ae1b76dd5 Merge branch 'uwerat-master' into material-theme 2022-06-13 14:40:06 +02:00
Uwe Rathmann 6b04e8d3ea setter/getter for shadow hints 2022-06-13 13:10:45 +02:00
Peter Hartmann 3f65bfb68e Merge branch 'uwerat-master' into material-theme 2022-06-13 09:50:27 +02:00
Uwe Rathmann 57feb5aae3 QskShadowMetrics added to QskSkinHintTableEditor 2022-06-13 08:43:28 +02:00
Peter Hartmann 24bff6d64d button: Add more states to cover different button types 2022-06-08 11:48:29 +02:00
Peter Hartmann 769e88d1d5 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 a01e03622a Merge remote-tracking branch 'origin/master' into material-theme 2022-06-07 11:09:38 +02:00
Peter Hartmann c2bc787087 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 0497382b57 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 9af48dfba0 default graphic pipeline without native OpenGL calls.
code is QRHI compiant now
2022-06-02 16:02:42 +02:00
Uwe Rathmann 7237ad65c9 includes fixed 2022-06-01 16:51:11 +02:00
Uwe Rathmann cecc412128 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 3aed2368fa deprecation warnings fixed 2022-05-02 16:51:24 +02:00
Uwe Rathmann d8518e1d6c 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 0354121199 unused lambda capture removed 2022-04-22 08:39:01 +02:00
Uwe Rathmann 5fa323cb3f boilerplate code to have QskSegmentedBar in the gallery. 2022-04-20 15:25:15 +02:00