2 files changed, 7 insertions, 2 deletions
diff --git a/include/ChatPage.h b/include/ChatPage.h
index cd516a71..2fa8779e 100644
--- a/include/ChatPage.h
+++ b/include/ChatPage.h
@@ -149,8 +149,6 @@ private:
QWidget *communitiesSideBar_;
QVBoxLayout *communitiesSideBarLayout_;
QVBoxLayout *sideBarLayout_;
- QVBoxLayout *sideBarTopLayout_;
- QVBoxLayout *sideBarMainLayout_;
QWidget *sideBarTopWidget_;
QVBoxLayout *sideBarTopWidgetLayout_;
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_;
};
|