diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-05-12 17:51:41 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-05-12 17:51:41 (GMT) |
commit | 201e2a9a3a2d074166fb975277515a667e5cab4e (patch) | |
tree | 3f83500fa8e748d7405b5456a84ab9be1ea25a66 /Swift/QtUI/QtUIFactory.h | |
parent | 8a18d6692c246adf14a8b0aec270f9b96d1b4baf (diff) | |
download | swift-contrib-201e2a9a3a2d074166fb975277515a667e5cab4e.zip swift-contrib-201e2a9a3a2d074166fb975277515a667e5cab4e.tar.bz2 |
Allow Chat Window Font resizing
Resolves: #812
Release-Notes: It is now possible to resize the font in the chat window conversations.
Diffstat (limited to 'Swift/QtUI/QtUIFactory.h')
-rw-r--r-- | Swift/QtUI/QtUIFactory.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/QtUI/QtUIFactory.h b/Swift/QtUI/QtUIFactory.h index 9ef228a..828f1b4 100644 --- a/Swift/QtUI/QtUIFactory.h +++ b/Swift/QtUI/QtUIFactory.h @@ -20,6 +20,7 @@ namespace Swift { class QtMainWindow; class QtChatTheme; class QtChatWindowFactory; + class QtChatWindow; class QtUIFactory : public QObject, public UIFactory { Q_OBJECT @@ -41,6 +42,8 @@ namespace Swift { private slots: void handleLoginWindowGeometryChanged(); + void handleChatWindowDestroyed(QObject*); + void handleChatWindowFontResized(int); private: QtSettingsProvider* settings; @@ -50,6 +53,8 @@ namespace Swift { QtChatWindowFactory* chatWindowFactory; QtMainWindow* lastMainWindow; QtLoginWindow* loginWindow; + std::vector<QtChatWindow*> chatWindows; bool startMinimized; + int chatFontSize; }; } |