summaryrefslogtreecommitdiff
path: root/Bootstrap.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'Bootstrap.hxx')
-rw-r--r--Bootstrap.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/Bootstrap.hxx b/Bootstrap.hxx
index 37b5870..6d27d07 100644
--- a/Bootstrap.hxx
+++ b/Bootstrap.hxx
@@ -22,6 +22,8 @@ class Bootstrap : public QObject
Q_PROPERTY(QFont bodyFont READ bodyFont NOTIFY bodyFontChanged)
Q_PROPERTY(QColor bodyColor READ bodyColor NOTIFY bodyColorChanged)
Q_PROPERTY(QColor bodyBg READ bodyBg NOTIFY bodyBgChanged)
+ Q_PROPERTY(QColor headingColor READ headingColor
+ NOTIFY headingColorChanged)
Q_PROPERTY(QColor borderColor READ borderColor
NOTIFY borderColorChanged)
QML_ELEMENT
@@ -59,16 +61,18 @@ class Bootstrap : public QObject
QFont bodyFont() const;
QColor bodyColor() const;
QColor bodyBg() const;
+ QColor headingColor() const;
QColor borderColor() const;
signals:
void themeChanged();
void modeChanged();
+ void fontSansSerifChanged();
+ void bodyFontChanged();
void bodyColorChanged();
void bodyBgChanged();
+ void headingColorChanged();
void borderColorChanged();
- void fontSansSerifChanged();
- void bodyFontChanged();
private:
Mode bsMode;
@@ -77,6 +81,7 @@ class Bootstrap : public QObject
QFont bsBodyFont;
QVector<QColor> bodyColors;
QVector<QColor> bodyBgs;
+ QVector<QColor> headingColors;
QVector<QColor> borderColors;
};