forked from qt-creator/qt-creator
Theme: make relevant methods Q_INVOKABLE
Change-Id: I397d473e5414b705c3e61b4344464fb018b3f676 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -327,8 +327,8 @@ public:
|
|||||||
WindowColorAsBase
|
WindowColorAsBase
|
||||||
};
|
};
|
||||||
|
|
||||||
bool flag(Flag f) const;
|
Q_INVOKABLE bool flag(Flag f) const;
|
||||||
QColor color(Color role) const;
|
Q_INVOKABLE QColor color(Color role) const;
|
||||||
QString imageFile(ImageFile imageFile, const QString &fallBack) const;
|
QString imageFile(ImageFile imageFile, const QString &fallBack) const;
|
||||||
QGradientStops gradient(Gradient role) const;
|
QGradientStops gradient(Gradient role) const;
|
||||||
QPalette palette() const;
|
QPalette palette() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user