Uwe Rathmann
64fee0247e
Floating section added
2023-02-16 08:23:45 +01:00
Uwe Rathmann
a0dde1a4e0
Tiny/Small/Large/Huge variations introduced
2023-02-15 17:10:50 +01:00
Uwe Rathmann
66db409b71
QskAspect::Placement renamed to QskAspect::Variation so that we use the
...
corresponding bits for an emphasis too
2023-02-15 16:37:54 +01:00
Uwe Rathmann
454688361c
orientation removed from the placement bits
2023-02-15 16:16:19 +01:00
Uwe Rathmann
4c10d8b0e4
using Qt::Edge instead of QskAspect::Placement
2023-02-15 16:14:05 +01:00
Uwe Rathmann
1300761ee2
adjusted to API changes
2023-02-15 16:12:35 +01:00
Uwe Rathmann
f89ab863f6
always inserting the connecting line between border and filling, when
...
using different strokers
2023-02-14 13:44:52 +01:00
Uwe Rathmann
126c276eac
better decisions for the direction of filling gradient lines
2023-02-14 11:19:13 +01:00
Uwe Rathmann
b8f198a97a
irrelevant micro optimzation removed, that was using the wrong corner
...
iteration
2023-02-14 09:29:51 +01:00
Uwe Rathmann
31feeff9aa
Complete support of linear gradients from the box renderer - only
...
expection are reflect/repeat spreading.
Code has been reimplemented or cleaned up significantly
2023-02-08 17:58:09 +01:00
Uwe Rathmann
67b10cca0a
elliptic scaling fixed
2023-02-04 11:55:37 +01:00
Uwe Rathmann
1dcdca3489
faster isMonochrome calculations
2023-02-04 11:55:06 +01:00
Uwe Rathmann
ca70fec579
caching some values for faster valueAt calculations
2023-02-04 11:53:54 +01:00
Uwe Rathmann
9d4c423591
color ramp calculation fixed for gradients with many stops
2023-02-04 11:53:23 +01:00
Uwe Rathmann
776468953d
using Circular/Elliptic
2023-02-03 11:13:11 +01:00
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
1b6f3285dc
segmented bar: Improve styling
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
Uwe Rathmann
07da205dc0
minor improvements
2023-01-24 19:39:56 +01:00
Peter Hartmann
03e24d5fea
push button: Support more alignments of icon and text
2023-01-24 09:51:36 +01:00
Peter Hartmann
f98af6d298
M3 buttons: Fix icons
...
Also for the gallery use the ones from M3.
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