1833 Commits

Author SHA1 Message Date
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
Peter Hartmann
8a22a2f7bb Add shadow to menus and move shadows to palette 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
56f25bd74c fix button size again, was lost in a merge 2022-06-15 11:37:02 +02:00
Uwe Rathmann
9fbcedfc2c Merge branch 'master' of https://github.com/uwerat/qskinny 2022-06-15 11:00:44 +02:00
Uwe Rathmann
824325eccf being more careful with setting the dirty bits of a QskBoxShadowNode 2022-06-15 10:59:39 +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
4aa0c7de79 fix menu 2022-06-14 12:09:07 +02:00
Uwe Rathmann
49bc726376 missing color update added 2022-06-14 12:03:33 +02:00
Uwe Rathmann
bf15d21fb5 shadows example improved 2022-06-14 11:58:56 +02:00
Uwe Rathmann
1e675e5b8c compare operators fixed, extra methods for offsetX/Y 2022-06-14 11:49:50 +02:00
Peter Hartmann
f8070c1bf0 fix build 2022-06-14 11:26:12 +02:00
Peter Hartmann
c3dd5efd1a improve button shadow 2022-06-14 10:26:43 +02:00
Peter Hartmann
f39ade0606 Revert "Gallery: Use raster for textures"
This reverts commit 0c3355fa0fb047f5273c550c59d48e44b99ff49b.
2022-06-14 09:35:59 +02:00
Peter Hartmann
03512e03c0 Merge branch 'uwerat-master' into material-theme 2022-06-14 09:28:52 +02:00
Uwe Rathmann
e554a125b2 Merge branch 'master' of https://github.com/uwerat/qskinny 2022-06-13 20:35:02 +02:00
Uwe Rathmann
2a2894a63f lost workaround forsituations, where multisampling gets lost, fixed 2022-06-13 20:34:12 +02:00
Peter Hartmann
42ab3fcb85 add shadow to buttons 2022-06-13 17:41:50 +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
Peter Hartmann
3a0b3b077d style menu 2022-06-13 17:11:27 +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
Uwe Rathmann
ff76f1ecfa removeChildNode added 2022-06-13 13:09:49 +02:00
Uwe Rathmann
da21b95eb3 isNull added 2022-06-13 13:09:08 +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
4841e39813 small fix for switch 2022-06-08 11:50:43 +02:00
Peter Hartmann
e6b85e528b button: Add more states to cover different button types 2022-06-08 11:48:29 +02:00
Peter Hartmann
a810739254 Revert "Material skin: Allow setting a different palette"
This reverts commit 421db106da4724aee16274ecfb818713e3ac61d7.

We cannot easily change this on the fly anyhow.
2022-06-07 16:21:04 +02:00
Peter Hartmann
421db106da Material skin: Allow setting a different palette 2022-06-07 14:03:06 +02:00
Peter Hartmann
a2d67f0438 Material: set up fonts 2022-06-07 12:58:50 +02:00
Peter Hartmann
1839cd452f Material: More skin hints 2022-06-07 12:14:50 +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
0c3355fa0f Gallery: Use raster for textures 2022-06-07 11:18:11 +02:00
Peter Hartmann
c4dc6e8c2f Merge remote-tracking branch 'origin/master' into material-theme 2022-06-07 11:09:38 +02:00
Peter Hartmann
8a14b75747 Material: Set values according to new palette 2022-06-07 11:09:25 +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
e954fb8aa1
CI: Use the native backends on Windows also for Qt 6 (#194)
Resolves #164
2022-06-06 07:06:07 +02:00
Uwe Rathmann
0ed9afe2b4 QskBoxShadowNode introduced ( from playground/shadows )
- shader code migrated from glsl to vulkan-glsl
   - #ifdef "Geschnetzel" introduced to support old and rhi graphic APIs
   - iotdashboard, shadows examples adjusted
2022-06-04 17:56:14 +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
e5af877246 pointless fil removed 2022-06-03 16:56:09 +02:00
Peter Hartmann
fdd19894fb fixup Material: Move palette generation around 2022-06-03 10:23:02 +02:00