summary refs log tree commit diff
path: root/include/UserInfoWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/UserInfoWidget.h')
-rw-r--r--include/UserInfoWidget.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/UserInfoWidget.h b/include/UserInfoWidget.h

index 5e0ed85b..ea2d5400 100644 --- a/include/UserInfoWidget.h +++ b/include/UserInfoWidget.h
@@ -28,6 +28,8 @@ class UserInfoWidget : public QWidget { Q_OBJECT + Q_PROPERTY(QColor borderColor READ borderColor WRITE setBorderColor) + public: UserInfoWidget(QWidget *parent = 0); @@ -37,6 +39,9 @@ public: void reset(); + QColor borderColor() const { return borderColor_; } + void setBorderColor(QColor &color) { borderColor_ = color; } + signals: void logout(); @@ -63,4 +68,6 @@ private: QImage avatar_image_; int logoutButtonSize_; + + QColor borderColor_; };