1619 Commits

Author SHA1 Message Date
Uwe Rathmann
d4e746e7c5 elliposid != ellipse 2023-02-03 10:46:08 +01:00
Uwe Rathmann
1c4bcffc3f aspectRatioMode replaced by scalingMode 2023-02-03 10:38:17 +01:00
Uwe Rathmann
e7c2cd0eba QskBoxShapeMetrics::toAbsolute reverted for the moment as the scaling of the buttons
is broken now. Only a temporary workaround as the other implementation
was actually correct
2023-02-02 18:44:08 +01:00
Peter Hartmann
5a78a365e3 segmented bar: Make API similar to QskMenu 2023-02-01 17:18:22 +01:00
Peter Hartmann
afdfa7b24e segmented bar: Fix vertical orientation 2023-02-01 17:18:22 +01:00
Peter Hartmann
c58593669d segmented bar: Add own checkmark
The checkmark is slightly different from the one used in the
check box.
2023-02-01 17:18:22 +01:00
Peter Hartmann
d75c07cbcc segmented bar: Selected element always has the checkmark symbol
This is how Material 3 does it at least.
If we are ever going to implement the iOS style, we need to do it
differently; although there are no icons involved there at all.
2023-02-01 17:18:22 +01:00
Peter Hartmann
9d1b2568e5 segmented bar: Allow icon and text 2023-02-01 17:18:22 +01:00
Peter Hartmann
329531777a segmented bar: Always assume 0 spacing between elements
... as is in the nature of this control. Rather think of the spacing
as the space between the icon and the text, like we do with
QskPushButton.
2023-02-01 17:18:22 +01:00
Peter Hartmann
f8983afa17 QskGraphic: Fix scale factors
We need to know the bounding rect of the graphic to know by how much
we can scale our shape, so we need to pass that to the scaling
methods.
E.g. when there are two shapes whose pen sizes overlap the path rect
left and right, we would calculate wrong scale factors without the
grapics' bounding rect.

Resolves #250
2023-01-30 17:11:28 +01:00
Uwe Rathmann
f78416fc63 QskLinearDirection::valueAt fixed 2023-01-24 20:26:23 +01:00
Uwe Rathmann
910a8a730f corner -> corners 2023-01-24 19:49:15 +01:00
Uwe Rathmann
83ce3dbbf9 convenience setter added 2023-01-24 19:48:04 +01:00
Uwe Rathmann
bd25e8ae23 explanation added 2023-01-24 19:47:37 +01:00
Uwe Rathmann
c384fd608d QskLinearDirection::valueAt added 2023-01-24 19:40:41 +01:00
Peter Hartmann
03e24d5fea push button: Support more alignments of icon and text 2023-01-24 09:51:36 +01:00
Uwe Rathmann
84156b138e workaround for a Qt 6.5 regression ( see
https://bugreports.qt.io/browse/QTBUG-110493 )
2023-01-23 15:51:21 +01:00
Uwe Rathmann
7d1e394b43 multicell propagation fixed ( also avoids assertions of the iotdashboard with
Qt 6.2 in debug mode )
2023-01-23 13:02:29 +01:00
Uwe Rathmann
76a7e94358 default value for reset added 2023-01-23 11:00:03 +01:00
Uwe Rathmann
ad09186229 QskGradientDirection::contais added 2023-01-23 10:59:34 +01:00
Uwe Rathmann
fff0389262 wrong aspect ratio scaling fixed 2023-01-23 10:59:01 +01:00
Peter Hartmann
9882dc61ee push button: Fix size hint 2023-01-18 06:36:47 +01:00
Uwe Rathmann
6e2769edfa QskVertex::fillOrdered renamed to QskVertex::fillBox 2023-01-17 15:41:12 +01:00
Uwe Rathmann
d7f1e22874 using QSizeF::grownBy 2023-01-17 15:37:53 +01:00
Peter Hartmann
3b45b90011 CheckBox: Add error state and style for material 2023-01-16 08:15:41 +01:00
Peter Hartmann
4352410128 check box: Add ripple effect and style for M3 2023-01-16 08:15:41 +01:00
Uwe Rathmann
cd4a46cc11 de-template-ified: much better starting point for the fixes to come 2023-01-12 20:26:51 +01:00
Uwe Rathmann
a916bd78c2 codemoved to QskRoundedRect.hpp/QskRoundedRect.h 2023-01-12 14:33:31 +01:00
Uwe Rathmann
c670d23582 QskRoundedRectRenderer reorganized 2023-01-11 17:40:25 +01:00
Uwe Rathmann
e66520294c minor API changes 2023-01-11 12:51:16 +01:00
Uwe Rathmann
5ba34eb11c method names cleaned up 2023-01-10 15:36:43 +01:00
Uwe Rathmann
4038f52cdf inverted gradient vectors for horizontal/vertical gradients supported 2023-01-10 12:17:56 +01:00
Uwe Rathmann
d2c5413daa wrong check fixed 2023-01-10 12:09:53 +01:00
Uwe Rathmann
e50fb269c3 minor adjustments 2023-01-10 10:20:30 +01:00
Uwe Rathmann
9afabe0e92 using Q_NAMESPACE_EXPORT 2023-01-09 15:19:39 +01:00
Uwe Rathmann
a5ab93bba8 bad workaround removed ad fixing the bug instead. 2023-01-09 15:11:38 +01:00
Uwe Rathmann
d80f9780fc iotdashboard crash fixed 2023-01-09 15:11:38 +01:00
Uwe Rathmann
f4aaf4cc92 more variations of gradient vectors supported 2023-01-05 17:18:34 +01:00
Uwe Rathmann
21e1206b2d QskBoxRenderer improvements 2023-01-05 13:06:32 +01:00
Uwe Rathmann
1b85d3053e QskBoxRenderer fixes 2023-01-04 16:15:22 +01:00
Uwe Rathmann
b449289509 convenience API added 2022-12-30 10:27:18 +01:00
Uwe Rathmann
14cee228e0 SimpleColorIterator added 2022-12-29 08:20:29 +01:00
Uwe Rathmann
8c6f0ffd60 full support of all linear gradient vectors by QskRectRenderer ( = not rounded rectangles ). 2022-12-28 19:39:08 +01:00
Uwe Rathmann
3ce2cea547 QLineF added for linear gradients 2022-12-28 19:23:42 +01:00
Uwe Rathmann
fba8b97a74 monochrome gradients are rendered vertically 2022-12-24 12:22:42 +01:00
Uwe Rathmann
d9eacd9eb3 setDirection fixed 2022-12-24 12:22:07 +01:00
Uwe Rathmann
76c8e41fcc radiusX/radiusY to allow ellipsoid and circular radial gradients 2022-12-23 14:57:46 +01:00
Uwe Rathmann
f13026b544 conic gradients fixed 2022-12-22 20:27:49 +01:00
Uwe Rathmann
a2a2c63678 qskEffectiveGradient fixed 2022-12-22 20:27:17 +01:00
Uwe Rathmann
82cb6e6811 QskGradient::effectiveGradient added 2022-12-22 20:13:45 +01:00