Commit Graph

2105 Commits

Author SHA1 Message Date
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
Uwe Rathmann d2c5413daa wrong check fixed 2023-01-10 12:09:53 +01:00
Uwe Rathmann da7e1f7ae4 compiler warnings fixed 2023-01-10 12:09:27 +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 f0d96ebfaa moc icludes added 2023-01-09 15:11:38 +01:00
Uwe Rathmann a5ab93bba8 bad workaround removed ad fixing the bug instead. 2023-01-09 15:11:38 +01:00
Peter Hartmann 540c3ea180 Material 3: fix push button size
Turns out the button was too small, hence the skewed display.
2023-01-09 15:11:38 +01:00
Uwe Rathmann d80f9780fc iotdashboard crash fixed 2023-01-09 15:11:38 +01:00
Uwe Rathmann 7d7eb87cbd compiler errors fixed 2023-01-09 15:11:38 +01:00
Uwe Rathmann 061da08c61 duplicates removed 2023-01-09 15:11:38 +01:00
Rick Vogel 30363a5e41 refactoring 2023-01-09 15:11:22 +01:00
Rick Vogel a5cf5acad9 iot storage page 2023-01-06 18:03:19 +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
Peter Hartmann 4bd294f72c IOT dashboard: Fix gradient of circular progress bar 2023-01-05 09:12:06 +01:00
Peter Hartmann 6324908cdf IOT dashboard: support key events for cube switching
Resolves #222
2023-01-05 09:12:06 +01:00
Peter Hartmann 3fbbd6cb3f IOT dashboard: fix menu bar 2023-01-05 09:12:06 +01:00
Peter Hartmann 4b1a03cf1d IOT dashboard: fix cube logic by keeping track of which edge we are on 2023-01-05 09:12:06 +01:00
Peter Hartmann 83a9d835b5 IOT dashboard: fix swiping over 2 hops 2023-01-05 09:12:06 +01:00
Peter Hartmann 978183916f IOT dashboard: fix menu bar 2023-01-05 09:12:06 +01:00
Peter Hartmann db706737be IOT dashboard: add edges to calculate neighbors correctly 2023-01-05 09:12:06 +01:00