From d2d65b6662b57edc99d31b6edf47a5f2942d01a8 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Mon, 19 Mar 2018 20:26:14 +0200 Subject: More stylistic changes & dark theme tweaks --- include/RoomInfoListItem.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include') diff --git a/include/RoomInfoListItem.h b/include/RoomInfoListItem.h index 7da6c418..35214c30 100644 --- a/include/RoomInfoListItem.h +++ b/include/RoomInfoListItem.h @@ -51,6 +51,9 @@ class RoomInfoListItem : public QWidget Q_PROPERTY(QColor avatarBgColor READ avatarBgColor WRITE setAvatarBgColor) Q_PROPERTY(QColor avatarFgColor READ avatarFgColor WRITE setAvatarFgColor) + Q_PROPERTY(QColor bubbleBgColor READ bubbleBgColor WRITE setBubbleBgColor) + Q_PROPERTY(QColor bubbleFgColor READ bubbleFgColor WRITE setBubbleFgColor) + Q_PROPERTY(QColor titleColor READ titleColor WRITE setTitleColor) Q_PROPERTY(QColor subtitleColor READ subtitleColor WRITE setSubtitleColor) @@ -107,6 +110,9 @@ public: QColor btnColor() const { return btnColor_; } QColor btnTextColor() const { return btnTextColor_; } + QColor bubbleFgColor() const { return bubbleFgColor_; } + QColor bubbleBgColor() const { return bubbleBgColor_; } + void setHighlightedBackgroundColor(QColor &color) { highlightedBackgroundColor_ = color; } void setHoverBackgroundColor(QColor &color) { hoverBackgroundColor_ = color; } void setBackgroundColor(QColor &color) { backgroundColor_ = color; } @@ -124,6 +130,9 @@ public: void setBtnColor(QColor &color) { btnColor_ = color; } void setBtnTextColor(QColor &color) { btnTextColor_ = color; } + void setBubbleFgColor(QColor &color) { bubbleFgColor_ = color; } + void setBubbleBgColor(QColor &color) { bubbleBgColor_ = color; } + signals: void clicked(const QString &room_id); void leaveRoom(const QString &room_id); @@ -213,4 +222,7 @@ private: QColor avatarBgColor_; QColor avatarFgColor_; + + QColor bubbleBgColor_; + QColor bubbleFgColor_; }; -- cgit 1.5.1