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