summary refs log tree commit diff
path: root/include/TopRoomBar.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-03-18 17:38:57 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-03-18 17:38:57 +0200
commit48ee36f6b2bcb9d25eec298dda2e77878ab321e1 (patch)
treecc85c82b2f290f68c33f011cb0f1652356d149f0 /include/TopRoomBar.h
parentAdd border line above the text input (diff)
downloadnheko-48ee36f6b2bcb9d25eec298dda2e77878ab321e1.tar.xz
Add border in community list & minor refactorings (#204)
Diffstat (limited to 'include/TopRoomBar.h')
-rw-r--r--include/TopRoomBar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/TopRoomBar.h b/include/TopRoomBar.h

index 5b2ee506..0df31ee8 100644 --- a/include/TopRoomBar.h +++ b/include/TopRoomBar.h
@@ -36,6 +36,9 @@ class RoomSettings; class TopRoomBar : public QWidget { Q_OBJECT + + Q_PROPERTY(QColor borderColor READ borderColor WRITE setBorderColor) + public: TopRoomBar(QWidget *parent = 0); @@ -48,6 +51,9 @@ public: void reset(); + QColor borderColor() const { return borderColor_; } + void setBorderColor(QColor &color) { borderColor_ = color; } + signals: void inviteUsers(QStringList users); @@ -77,4 +83,6 @@ private: QString roomName_; QString roomTopic_; + + QColor borderColor_; };