summaryrefslogtreecommitdiff
path: root/Bootstrap.hxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-12 20:10:51 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-12 20:10:51 +0800
commit6188a0034cb971f71a1683450b1bc4dce8d45d4c (patch)
tree36991105acf3444b5657fc0214db6b0b27fae2e4 /Bootstrap.hxx
parent81a72b6eeb0614d2f8139314cf5d3948faa467b0 (diff)
Heading colours
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;
};