Add documentation for colorscopes
Change-Id: I6b4eae9839bc13386ea7e07301f46e0852974aa6
This commit is contained in:
parent
edc9eae84b
commit
3db430156e
@ -38,9 +38,25 @@ class QQuickItem;
|
|||||||
class ColorScope : public QQuickItem
|
class ColorScope : public QQuickItem
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Specifies the color group to use for this ColorScope
|
||||||
|
*/
|
||||||
Q_PROPERTY(Plasma::Theme::ColorGroup colorGroup READ colorGroup WRITE setColorGroup NOTIFY colorGroupChanged)
|
Q_PROPERTY(Plasma::Theme::ColorGroup colorGroup READ colorGroup WRITE setColorGroup NOTIFY colorGroupChanged)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The main foreground color within this colorscope
|
||||||
|
*/
|
||||||
Q_PROPERTY(QColor textColor READ textColor NOTIFY colorsChanged)
|
Q_PROPERTY(QColor textColor READ textColor NOTIFY colorsChanged)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The highlight color within this colorscope
|
||||||
|
*/
|
||||||
Q_PROPERTY(QColor highlightColor READ highlightColor NOTIFY colorsChanged)
|
Q_PROPERTY(QColor highlightColor READ highlightColor NOTIFY colorsChanged)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The background color that should be used within this colorscope
|
||||||
|
*/
|
||||||
Q_PROPERTY(QColor backgroundColor READ backgroundColor NOTIFY colorsChanged)
|
Q_PROPERTY(QColor backgroundColor READ backgroundColor NOTIFY colorsChanged)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user