Note that QPalette::ColorRole must be kept in sync with QQuickColorGroup
Without adding the corresponding properties, they will not be available in QML. Task-number: QTBUG-116106 Change-Id: I233e456ced585b9274a1724cc550bc2959757104 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit bcae883274a11a6a80a901a6e2776332992ed08e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
91619f0e76
commit
68e2645da2
@ -45,6 +45,7 @@ public:
|
|||||||
operator QVariant() const;
|
operator QVariant() const;
|
||||||
|
|
||||||
// Do not change the order, the serialization format depends on it
|
// Do not change the order, the serialization format depends on it
|
||||||
|
// Ensure these values are kept in sync with QQuickColorGroup's properties.
|
||||||
enum ColorGroup { Active, Disabled, Inactive, NColorGroups, Current, All, Normal = Active };
|
enum ColorGroup { Active, Disabled, Inactive, NColorGroups, Current, All, Normal = Active };
|
||||||
Q_ENUM(ColorGroup)
|
Q_ENUM(ColorGroup)
|
||||||
enum ColorRole { WindowText, Button, Light, Midlight, Dark, Mid,
|
enum ColorRole { WindowText, Button, Light, Midlight, Dark, Mid,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user