Add border line above the text input

This commit is contained in:
Konstantinos Sideris 2018-03-18 17:08:13 +02:00
parent 7253dc2c54
commit b70e09c7ec
7 changed files with 32 additions and 19 deletions

View file

@ -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_;
};