Commit Graph

1970 Commits

Author SHA1 Message Date
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 bbfc16c609 improving Qml support or QskGradient 2022-11-29 10:59:09 +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 86cb02466c Merge branch 'master' of https://github.com/uwerat/qskinny 2022-11-24 09:10: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 d596bb24b3 no need for private includes anymore 2022-11-24 08:03:56 +01:00
Uwe Rathmann b52e54bb7e return invalid directions, when requeting with the wrong type 2022-11-24 07:58:47 +01:00
Uwe Rathmann 1150c8693d uppercase gadget registrations when having enums only 2022-11-21 17:31:56 +01:00
Uwe Rathmann ea8f426d67 QML registration using templates instead of macros. lower/uppercase
definitions for gadgets solved ( defining then twice to have the enums
with uppercase prefix )
2022-11-20 15:36:30 +01:00
Uwe Rathmann 2aaaa4ecb1 QskSizePolicy property names shortened 2022-11-20 15:27:08 +01:00
Uwe Rathmann 19bced362d missing/wrong/obsolete registrations fixed 2022-11-18 18:48:28 +01:00
Uwe Rathmann b96b1acd20 missing boilerplate definitions added 2022-11-18 18:47:35 +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 19f01c0232 debug operator simplified 2022-11-18 12:15:20 +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 116b835906 metatype registrations moved to class implementations 2022-11-18 09:44:11 +01:00
Uwe Rathmann 5356f0ce88 Q_INVOKABLE for READ/WRITE property accessors removed. do not make sense
and lead to assertions, when Qt has been built in debug mode
2022-11-18 09:12:13 +01:00
Uwe Rathmann 974e7372dd code moved to QskColorRamp 2022-11-16 17:26:50 +01:00
Uwe Rathmann d327a68fc1 missing setStops versions added 2022-11-16 16:19:19 +01:00
Uwe Rathmann 0f028e4239 qsb files recreated 2022-11-16 16:00:36 +01:00
Uwe Rathmann ff0599686d unused parameters removed 2022-11-16 14:33:10 +01:00
Uwe Rathmann 18b0594cd6 internal API simplyfied 2022-11-16 14:23:47 +01:00
Uwe Rathmann 615e0016c2 working more with RGBA values instead of QColor 2022-11-16 13:46:37 +01:00
Uwe Rathmann 31577cab9b pointless reset operations removed 2022-11-16 13:25:17 +01:00
Uwe Rathmann 70f4d28285 using QRgb instead of QColor 2022-11-14 09:01:07 +01:00
Uwe Rathmann 688c7881b2 missing setter for Qt::GlobalColor added 2022-11-14 09:00:02 +01:00
Uwe Rathmann 33bb68d903 more APIs for working with QRgb 2022-11-14 08:56:30 +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 a658a2a4e4 palette -> colorRamp 2022-11-13 11:05:53 +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 f988805f95 DefaultProperty added 2022-11-04 17:16:38 +01:00
Uwe Rathmann b64f92e695 properties changed 2022-11-04 17:16:12 +01:00
Uwe Rathmann f14036c124 using QskGrdient::Stops for separator hints 2022-10-31 18:02:35 +01:00
Uwe Rathmann fe8e696f40 debug operator fixed 2022-10-31 17:35:47 +01:00
Uwe Rathmann 4c73c1fd7b QskBoxBorderColors interpolation fixed 2022-10-31 17:35:13 +01:00
Uwe Rathmann ad67d035f3 new QskGradient 2022-10-31 14:42:08 +01:00
Uwe Rathmann 38bc3286cd QskGradient improved ( linear/radial/conic gradients ) 2022-10-31 14:22:20 +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 bad4f90a16 if/else cascade reordered 2022-10-25 18:19:32 +02:00
Uwe Rathmann 506dd4f60c working towards introducing new type of gradients 2022-10-25 18:17:21 +02:00