summary refs log tree commit diff
path: root/include/TextInputWidget.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-03-18 17:08:13 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-03-18 17:08:13 +0200
commitb70e09c7ec28b819701a12f07b6953eb66a12794 (patch)
tree99d14a770f793f36e209b34463e38285c50f8858 /include/TextInputWidget.h
parentroomlist: Put the message timestamp on the top (diff)
downloadnheko-b70e09c7ec28b819701a12f07b6953eb66a12794.tar.xz
Add border line above the text input
Diffstat (limited to 'include/TextInputWidget.h')
-rw-r--r--include/TextInputWidget.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/TextInputWidget.h b/include/TextInputWidget.h

index b89b7753..872773f1 100644 --- a/include/TextInputWidget.h +++ b/include/TextInputWidget.h
@@ -83,11 +83,16 @@ class TextInputWidget : public QWidget { Q_OBJECT + Q_PROPERTY(QColor borderColor READ borderColor WRITE setBorderColor) + public: TextInputWidget(QWidget *parent = 0); void stopTyping(); + QColor borderColor() const { return borderColor_; } + void setBorderColor(QColor &color) { borderColor_ = color; } + public slots: void openFileSelection(); void hideUploadSpinner(); @@ -126,4 +131,6 @@ private: FlatButton *sendFileBtn_; FlatButton *sendMessageBtn_; emoji::PickButton *emojiBtn_; + + QColor borderColor_; };