map disabledTextColor to ColorScope
This commit is contained in:
parent
5f46dd6bd5
commit
1f6d7591e9
@ -181,6 +181,11 @@ QColor ColorScope::negativeTextColor() const
|
||||
return m_theme->color(Plasma::Theme::NegativeTextColor, colorGroup());
|
||||
}
|
||||
|
||||
QColor ColorScope::disabledTextColor() const
|
||||
{
|
||||
return m_theme->color(Plasma::Theme::DisabledTextColor, colorGroup());
|
||||
}
|
||||
|
||||
bool ColorScope::inherit() const
|
||||
{
|
||||
return m_inherit;
|
||||
|
@ -80,6 +80,11 @@ class ColorScope : public QQuickItem
|
||||
*/
|
||||
Q_PROPERTY(QColor negativeTextColor READ negativeTextColor NOTIFY colorsChanged)
|
||||
|
||||
/**
|
||||
* Color of disabled text @since 5.64
|
||||
*/
|
||||
Q_PROPERTY(QColor disabledTextColor READ disabledTextColor NOTIFY colorsChanged)
|
||||
|
||||
/**
|
||||
* true if the scope inherits from its parent scope
|
||||
* @since 5.39
|
||||
@ -101,6 +106,7 @@ public:
|
||||
QColor positiveTextColor() const;
|
||||
QColor neutralTextColor() const;
|
||||
QColor negativeTextColor() const;
|
||||
QColor disabledTextColor() const;
|
||||
|
||||
bool inherit() const;
|
||||
void setInherit(bool inherit);
|
||||
|
Loading…
Reference in New Issue
Block a user