make a few settings into pajlada::Settings::Settings

Add setting to hide badges

Give focus to text input if you click anywhere in a chat widget
This commit is contained in:
Rasmus Karlsson
2017-06-11 20:53:43 +02:00
parent 945ca5d17a
commit 7c3cd930f3
11 changed files with 71 additions and 27 deletions
+3 -1
View File
@@ -29,7 +29,7 @@ protected:
virtual void resizeEvent(QResizeEvent *) override;
private:
ChatWidget *chatWidget;
ChatWidget *const chatWidget;
QHBoxLayout hbox;
QVBoxLayout vbox;
@@ -46,6 +46,8 @@ private slots:
}
void editTextChanged();
// void editKeyPressed(QKeyEvent *event);
friend class ChatWidget;
};
} // namespace widgets