3#include <QQmlParserStatus>
18 Q_PROPERTY(QString name READ name CONSTANT FINAL)
19 Q_PROPERTY(QString description READ description WRITE setDescription NOTIFY descriptionChanged)
20 Q_PROPERTY(QColor backgroundColor READ backgroundColor WRITE setBackgroundColor NOTIFY backgroundColorChanged)
21 Q_PROPERTY(QColor foregroundColor READ foregroundColor WRITE setForegroundColor NOTIFY foregroundColorChanged)
22 Q_PROPERTY(QColor color2 READ color2 WRITE setColor2 NOTIFY color2Changed)
23 Q_PROPERTY(QColor color3 READ color3 WRITE setColor3 NOTIFY color3Changed)
24 Q_PROPERTY(QColor color4 READ color4 WRITE setColor4 NOTIFY color4Changed)
25 Q_PROPERTY(QColor color5 READ color5 WRITE setColor5 NOTIFY color5Changed)
26 Q_PROPERTY(QColor color6 READ color6 WRITE setColor6 NOTIFY color6Changed)
27 Q_PROPERTY(QColor color7 READ color7 WRITE setColor7 NOTIFY color7Changed)
28 Q_PROPERTY(QColor color8 READ color8 WRITE setColor8 NOTIFY color8Changed)
29 Q_PROPERTY(QColor color9 READ color9 WRITE setColor9 NOTIFY color9Changed)
35 void classBegin() override final;
36 void componentComplete() override final;
40 QString description() const;
42 QColor backgroundColor() const;
44 QColor foregroundColor() const;
46 QColor color2() const;
48 QColor color3() const;
50 QColor color4() const;
52 QColor color5() const;
54 QColor color6() const;
56 QColor color7() const;
58 QColor color8() const;
60 QColor color9() const;
62 const Konsole::ColorScheme * getScheme();
65 void setDescription(QString description);
67 void setBackgroundColor(QColor backgroundColor);
69 void setForegroundColor(QColor foregroundColor);
71 void setColor2(QColor color2);
73 void setColor3(QColor color3);
75 void setColor4(QColor color4);
77 void setColor5(QColor color5);
79 void setColor6(QColor color6);
81 void setColor7(QColor color7);
83 void setColor8(QColor color8);
85 void setColor9(QColor color9);
88 Konsole::ColorScheme* m_scheme;
90 QString m_name =
"Adaptive";
92 QString m_description;
94 QColor m_backgroundColor;
96 QColor m_foregroundColor;
117 void descriptionChanged(QString description);
118 void backgroundColorChanged(QColor backgroundColor);
119 void foregroundColorChanged(QColor foregroundColor);
120 void color2Changed(QColor color2);
121 void color3Changed(QColor color3);
122 void color4Changed(QColor color4);
123 void color5Changed(QColor color5);
124 void color6Changed(QColor color6);
125 void color7Changed(QColor color7);
126 void color8Changed(QColor color8);
127 void color9Changed(QColor color9);
Represents a color scheme for a terminal display.
QObject * parent() const const