Add documentation for colorscopes

Change-Id: I6b4eae9839bc13386ea7e07301f46e0852974aa6
This commit is contained in:
David Edmundson 2014-09-11 16:26:28 +02:00
parent edc9eae84b
commit 3db430156e

View File

@ -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: