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
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
Peter Hartmann
9882dc61ee
push button: Fix size hint
2023-01-18 06:36:47 +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
Peter Hartmann
5e8d03fe50
QskGraphic: Make sure the underlying texture is big enough
...
Otherwise the scale factors might be off considerably.
Resolves #233
2022-12-15 16:08:23 +01:00
Uwe Rathmann
9ae7dc2f63
QskGradientNode renamed to QskRectangleNode
2022-12-06 09:58:46 +01:00
Uwe Rathmann
6d726eee0a
QskGradientNode introduced for rectangles filled with any type of
...
gradient being supported by QskGradient. It is lighter than QskBoxNode,
that is a compositition of border/gradient/shadow. Used for the
background node now - what means, that background can have radial/conic
gradients now as well.
2022-12-05 17:10:13 +01:00
Uwe Rathmann
125fe1e9f4
QskBoxNode renamed to QskBoxRectangleNode, QskShadedBoxNode renamed to QskBoxNode
2022-12-05 12:34:08 +01:00
Uwe Rathmann
cf9d203e48
exposing more methods to QML
2022-12-03 17:17:21 +01:00
Uwe Rathmann
912d768a61
QskControl::Background subcontrol introduced allowing to have a default setting for
...
all backgrounds ( color, padding ) without changing the overall fallback settings. This made
it possible to remove the confusing autoFillBackground property.
2022-11-18 13:20:21 +01:00
Uwe Rathmann
c5ace32bf2
QskAspect::Control renamed to QskAspect::NoSubcontrol
2022-11-18 12:29:58 +01:00
Uwe Rathmann
b140d1b30a
QskGradientDirection introduced - no more classes derived from
...
QskGradient
2022-11-13 17:22:09 +01:00
Uwe Rathmann
f14036c124
using QskGrdient::Stops for separator hints
2022-10-31 18:02:35 +01:00
Uwe Rathmann
ad67d035f3
new QskGradient
2022-10-31 14:42:08 +01:00
Uwe Rathmann
fdf0e1fdb9
pointless forward declaration removed
2022-10-21 16:44:31 +02:00
Uwe Rathmann
cb67a057d7
compiler error fixed
2022-09-13 13:05:47 +02:00
Uwe Rathmann
4f8a76234a
index added for animator lookups to allow smooth transitions f.e when
...
selcting an cell in a list box
2022-09-13 12:40:44 +02:00
Uwe Rathmann
7ca1e2f261
uncrustified
2022-09-13 12:22:20 +02:00
Uwe Rathmann
1900adbabb
Using a flat map ( sorted std::vector ) instead of a std:map for the
...
animators. Preperations for inntroducing aspect/index as lookup key.
2022-09-12 18:18:51 +02:00
Uwe Rathmann
4ca5e798c8
broken state changes fixed
2022-09-09 12:01:30 +02:00
Uwe Rathmann
996e849fc5
startHintTransitions added to be able to start transitions withot
...
changing the state
2022-09-09 11:29:47 +02:00
Uwe Rathmann
47df732f4a
better seperation between state animators and those for skin changes
2022-09-09 10:25:46 +02:00
Uwe Rathmann
50ec41868d
some APIs narrowed from QskAspect to QskAspect::Subcontrol
2022-09-09 09:30:15 +02:00
Uwe Rathmann
beddc2569f
early check for animators
2022-09-06 08:00:18 +02:00
Uwe Rathmann
b926476e55
QskHintAnimatorTable::isEmpty added
2022-09-06 07:57:08 +02:00
Uwe Rathmann
8088664465
less operator added
2022-09-04 10:37:40 +02:00
Uwe Rathmann
45e157c2c6
code moved to QskSubcontrolLayoutEngine
2022-08-29 14:17:13 +02:00
Uwe Rathmann
4c190ffe49
unregisterFactories added
2022-08-29 10:28:13 +02:00
Uwe Rathmann
2479064f58
spacing added
2022-08-26 13:19:37 +02:00
Uwe Rathmann
b84dfc8226
QskSubcontrolLayoutEngine introduced
2022-08-26 12:56:12 +02:00
Uwe Rathmann
896145ac11
QskTextOptions as skin hints
2022-08-25 09:39:33 +02:00
Uwe Rathmann
9daf934426
QskLayoutElement introduced
2022-08-06 15:41:32 +02:00
Uwe Rathmann
bc5510f7ef
temporary improvements for push buttons - until we have a general layout class
...
for graphic/text combinations
2022-08-03 18:28:53 +02:00
Uwe Rathmann
be53343375
do not align to scene coordinates for transformations beyond
...
translations
2022-08-03 09:39:15 +02:00
Uwe Rathmann
6c778c4b07
qskAlignedRect overloads
2022-07-28 16:51:20 +02:00
Uwe Rathmann
2737bc0be3
sourceSize members replaced by strutSizeHints to make icons sizes
...
configurable in the skin
2022-07-28 11:37:14 +02:00
Uwe Rathmann
cb6ec8437c
QskPushButtonSkinlet::rippleRect simplified
2022-07-18 16:40:53 +02:00
Uwe Rathmann
d7d90a9dc8
using QskSGNode::ensureNode
2022-07-18 16:26:49 +02:00
Uwe Rathmann
9fdaf8aef6
clipping the ripple into the button panel
2022-07-18 09:11:45 +02:00
Uwe Rathmann
0390166783
using built in QskHintAnimators
2022-07-17 16:01:46 +02:00
Uwe Rathmann
0a6ed7deb1
aspect resolving of animated values fixed ( placement/section bits )
2022-07-17 15:59:53 +02:00
Uwe Rathmann
e6fb38d383
minor cleanups
2022-07-17 14:44:19 +02:00
Peter Hartmann
7eed06659b
push button: Allow for animations when clicking
...
Which e.g. the Material 3 style does
2022-07-15 13:50:04 +02:00