Commit Graph

1960 Commits

Author SHA1 Message Date
Uwe 6cbc0595e1 avoid pointless gcc11 stringop-overflow warnings 2022-06-28 09:20:22 +02:00
Peter Hartmann 6332a27764 fix build after merge 2022-06-27 14:50:54 +02:00
Peter Hartmann 212090f62a Merge branch 'uwerat-master' into material-theme 2022-06-27 14:00:13 +02:00
Uwe Rathmann 44e264d472 returning an empty rect for the separator behind the last segment 2022-06-27 13:44:44 +02:00
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
Uwe Rathmann d403af14ba making QskHctColor a class, tone calculation from rgb added 2022-06-27 12:54:13 +02:00
Peter Hartmann 879b4144b1 Merge branch 'uwerat-master' into material-theme 2022-06-27 10:35:49 +02:00
Uwe Rathmann d3c320bb9a Q_DECL_UNUSED removed, seems to cause problems on Macs 2022-06-26 14:33:39 +02:00
Uwe Rathmann e8f52c03cc hacks for exposing definitions to QML are not needed anymore 2022-06-25 16:52:24 +02:00
Uwe Rathmann e787b15d35 wip 2022-06-25 16:38:42 +02:00
Uwe Rathmann fbd3f79195 QskRgbValueQml removed. For QML we have the definitions in ColorConstants::Svg 2022-06-25 16:22:31 +02:00
Uwe Rathmann 6c7ba0489c M(aterial)2 related code replaced 2022-06-25 16:14:08 +02:00
Uwe Rathmann 98368d42ac typos fixed 2022-06-25 16:10:00 +02:00
Uwe Rathmann 501a3ae07e RGB converter for the HCT color system introduced 2022-06-24 17:19:04 +02:00
Uwe Rathmann 061cdb0a07 minor improvements of the push button layout 2022-06-18 11:32:48 +02:00
Peter Hartmann 74ccd3e4df style segmented bar in disabled state 2022-06-17 18:23:40 +02:00
Peter Hartmann fecfd7c5c7 move some colors to the palette 2022-06-17 17:44:05 +02:00
Peter Hartmann 752982fa03 improve shadow 2022-06-17 15:45:03 +02:00
Peter Hartmann 4e581486c3 style segmented bar some more 2022-06-17 12:50:35 +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 9ab96db757 style segmented bar 2022-06-17 09:37:04 +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
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 3c69498026.
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 0c3355fa0f.
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