Commit Graph

458 Commits

Author SHA1 Message Date
Uwe Rathmann 484780a40e using "icon" instead of "graphic".
"icon" was not used to avoid confusing with QIcon,
but it is probably more confusing not to use the name that
is used by almost all toolkits.
2023-03-08 14:11:27 +01:00
Uwe Rathmann 3b88f7cd61 making the project file more compact 2023-03-08 10:25:37 +01:00
Uwe Rathmann fa998a9496 QskComboBox is creating its menu only temporary now 2023-03-07 13:26:36 +01:00
Uwe Rathmann c8dc9db00a we do not want to have standard buttons here 2023-03-05 11:09:17 +01:00
Peter Hartmann cda2877b42 gallery button page: increase spacing 2023-03-05 11:01:29 +01:00
Uwe Rathmann 27f79c7c0e using black as default color in SVGs, so that color filtering does not
break when changing skins
2023-03-04 11:35:36 +01:00
Uwe Rathmann 83a18a83c2 QskTextInput having the same default size policy as QLineEdit (
Expanding/Fixed )
2023-03-04 11:04:37 +01:00
Uwe Rathmann ed1a211e96 label renamed to placeholderText ( taken from QComboBox ), minor
adjustments
2023-03-03 19:01:40 +01:00
Uwe Rathmann 25be2106d5 alignment of the combo boxes 2023-03-03 18:11:09 +01:00
Uwe Rathmann 68d02006f4 QskRadioBox development continued - work in progress 2023-03-03 12:49:22 +01:00
Uwe Rathmann a32204cd8c QskAspect::Flag replaced by QskAspect::NoType. Flag was a leftover from
the very early stages of this project and its semantics had become wrong
in the meantime
2023-03-02 12:19:32 +01:00
Uwe Rathmann 0800a2002f tying spinboxes and sliders 2023-03-01 17:47:50 +01:00
Uwe Rathmann 55d6aa6d5e QskSpinBox bugs fixed, QskSpinBox::wrapping mode implemented 2023-03-01 13:58:10 +01:00
Uwe Rathmann a6bf60c9b4 upgraded to uncrustify 0.76.0 - still not happy with the C++ beautifier
situation, that requires way too much manual post processing
2023-02-28 15:49:42 +01:00
Uwe Rathmann bb960be42e minor improvements 2023-02-27 14:07:42 +01:00
Uwe Rathmann c8b276db40 the gallery should fit into 800x600 2023-02-27 12:27:57 +01:00
Uwe Rathmann 5d16d86e0d Merge branch 'master' of https://github.com/uwerat/qskinny 2023-02-27 09:57:22 +01:00
Uwe Rathmann 0b4de9afe7 spin box improvements 2023-02-27 09:56:41 +01:00
Uwe Rathmann 2e667f3ff2 formal adjustments 2023-02-26 17:04:47 +01:00
Uwe Rathmann c4efbf65f0 compiler warning fixed 2023-02-26 15:45:57 +01:00
Uwe Rathmann 5bbd304b94 Merge branch 'RadioBox' of https://github.com/clemensmanert/qskinny into clemensmanert-RadioBox 2023-02-26 15:42:15 +01:00
Peter Hartmann ebc8494359 Gallery: Make a bit nicer 2023-02-26 14:04:23 +01:00
Uwe Rathmann 06ba85605b QskSpinBox work in progress 2023-02-23 14:37:49 +01:00
Peter Hartmann 1d57d87332 Gallery: Add buttons with different emphasis and style for M3 2023-02-23 10:19:42 +01:00
Clemens Manert 8c0a54e54a
Add QskRadioBox 2023-02-20 21:56:26 +01:00
Uwe Rathmann 0c2bc32abd focus handling removed ( spin boxes do not have an internal focus chain
), formal adjustments
2023-02-19 14:24:09 +01:00
Uwe Rathmann 26661dcbb6 compiler errors/warnings fixed 2023-02-19 11:29:13 +01:00
uwerat cf449f174f
Merge branch 'master' into qskspinbox 2023-02-19 10:25:04 +01:00
Vogel, Rick 8e8f8f5c2a added sliders to play with sizes 2023-02-17 18:34:18 +01:00
Peter Hartmann a89d3def3b Add new control QskComboBox
Resolves #102
2023-02-17 17:26:06 +01:00
Vogel, Rick ad7a20053c refactoring + focused state 2023-02-17 13:32:47 +01:00
Vogel, Rick ba9ec8e783 initial commit of QskSpinBox 2023-02-17 13:28:44 +01:00
uwerat 6071ce74d2
Merge branch 'master' into qskspinbox 2023-02-17 13:22:39 +01:00
Vogel, Rick ac8a3dea9b initial commit of QskSpinBox 2023-02-17 12:01:56 +01:00
Uwe Rathmann d71b972232 QskBoxShapeMetrics::ScalingMode: using better names, missing mode
reinserted
2023-02-16 11:30:31 +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 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 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 776468953d using Circular/Elliptic 2023-02-03 11:13:11 +01:00
Peter Hartmann 5a78a365e3 segmented bar: Make API similar to QskMenu 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 9d1b2568e5 segmented bar: Allow icon and text 2023-02-01 17:18:22 +01:00
Uwe Rathmann 07da205dc0 minor improvements 2023-01-24 19:39:56 +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
Peter Hartmann 3b45b90011 CheckBox: Add error state and style for material 2023-01-16 08:15:41 +01:00
Uwe Rathmann f0d96ebfaa moc icludes added 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
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
Peter Hartmann dc356801e4 IOT dashboard: fix cube effect for more pages 2023-01-05 09:12:06 +01:00
Peter Hartmann c904f33cf1 IOT dashboard: Add more dummy pages 2023-01-05 09:12:06 +01:00
Peter Hartmann 39d75edda0 IOT dashboard: Exclude menu bar from cube effect 2023-01-05 09:12:06 +01:00
Peter Hartmann 31f2d0c93a IOT dashboard: Make MenuBar buttons and allow switching 2023-01-05 09:12:06 +01:00
Peter Hartmann 8a91e3c54c IOT dashboard: Improve menu bar styling 2023-01-05 09:12:06 +01:00
Peter Hartmann 0db351872a IOT dashboard: Fix theming for light display 2022-12-20 16:41:49 +01:00
Peter Hartmann 3e91e83187 IOT dashboard: Use skinny shadows for light display 2022-12-20 16:41:49 +01:00
Peter Hartmann 22db20e9eb IOT dashboard: Fix rooms page theming
Resolves #231
2022-12-20 16:41:49 +01:00
Peter Hartmann 9ba2fdb2f2 IOT example: Make device buttons clickable 2022-12-20 16:41:49 +01:00
Peter Hartmann 1338c876fd IOT dashboard: Make temperature and humidity changeable with buttons 2022-12-20 16:41:49 +01:00
Uwe Rathmann 125fe1e9f4 QskBoxNode renamed to QskBoxRectangleNode, QskShadedBoxNode renamed to QskBoxNode 2022-12-05 12:34:08 +01:00
Uwe Rathmann abf325dbde QJSValue converter for QskGradient added to be compatible with new Qt
6.5 features
2022-11-30 17:05:37 +01:00
Uwe Rathmann 57c25294c4 replace qmlRegister methods by setting the registration info manually.
Hopefully this allows better finetuning and validating of what is possible in QML
for the various Qt versions.

In the long run we might want to qualify the class definitions with
QML_ELEMENT and friends to have better tool support ( qmlcachegen ??? )
See https://www.qt.io/blog/qml-type-registration-in-qt-5.15
2022-11-29 17:24:40 +01:00
Uwe Rathmann 47fad1be18 png files removed 2022-11-24 11:54:05 +01:00
Uwe Rathmann 8132c8a416 render bug fixed 2022-11-24 11:31:49 +01:00
Uwe Rathmann 8435c60b03 using c++ auto 2022-11-24 09:08:53 +01:00
Uwe Rathmann bfdecc0413 using qvg files to get rid of the qsvg dependency 2022-11-24 09:06:39 +01:00
Uwe Rathmann 2aaaa4ecb1 QskSizePolicy property names shortened 2022-11-20 15:27:08 +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 46d2b20df0 useless hint settings removed 2022-11-18 12:13:16 +01:00
Uwe Rathmann d45e63083f background transtion fixed 2022-11-18 12:12:05 +01:00
Uwe Rathmann 5a43165126 syntax error fixed 2022-11-13 17:26:44 +01:00
Uwe Rathmann b140d1b30a QskGradientDirection introduced - no more classes derived from
QskGradient
2022-11-13 17:22:09 +01:00
Uwe Rathmann 0fb4b25bba making QskGradient types acessible for QML ( mot 100% happy with using
lists )
2022-11-13 10:09:18 +01:00
Uwe Rathmann ad67d035f3 new QskGradient 2022-10-31 14:42:08 +01:00
Uwe Rathmann 9336e60c33 minor adjustments 2022-10-26 17:02:06 +02:00
Uwe Rathmann 4aeea2d6f8 PieChartPainted renamed to EnergyMeter. Name was misleading as it is
more of a decorated arc progressbar than a pie or a doughnut chart.
2022-10-26 16:47:42 +02:00
Uwe Rathmann 70664a2f67 unused classes removed 2022-10-26 16:46:28 +02:00
Uwe Rathmann 0109ffe675 unused classes removed 2022-10-26 16:45:34 +02:00
Uwe Rathmann a52499a7fc unused member removed 2022-10-26 11:00:57 +02:00
Uwe Rathmann d5f247a6f3 use QRgb values instead of strings ( slow initialization even warned by
clazy )
2022-10-26 10:50:11 +02:00
Uwe Rathmann 03ce740b29 towards improved QskGradient 2022-10-24 16:40:47 +02:00
Uwe Rathmann 8ba6085081 code prepared for gradients branch 2022-10-21 16:45:58 +02:00
Uwe Rathmann d9976527fd using setHGradient 2022-10-21 16:45:34 +02:00
Uwe Rathmann 84adee7ea8 unused includes removed 2022-10-21 16:43:59 +02:00
Uwe Rathmann a21d96543f using QskRgb::interpolated 2022-10-20 09:23:19 +02:00
Uwe Rathmann f9fefde387 warning fixed 2022-10-07 19:00:40 +02:00
Uwe Rathmann 76af5edfce moc include added 2022-09-09 09:15:26 +02:00
Peter Hartmann 4216775891 IOT example: Use shadows from the system
... and not our own ones.

Resolves #201
2022-08-31 14:41:45 +02:00
Uwe Rathmann 47fc994c70 example was broken with the different sorting of the skins. Solved by
unregistering the skin factory of the support lib
2022-08-29 10:28:38 +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