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/QtChatView.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/QtChatView.h')
| -rw-r--r-- | Swift/QtUI/QtChatView.h | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatView.h b/Swift/QtUI/QtChatView.h index 8b8d330..eda7e42 100644 --- a/Swift/QtUI/QtChatView.h +++ b/Swift/QtUI/QtChatView.h @@ -37,6 +37,7 @@ namespace Swift {  		signals:  			void gotFocus(); +			void fontResized(int);  		public slots:  			void copySelectionToClipboard(); @@ -44,6 +45,9 @@ namespace Swift {  			void handleLinkClicked(const QUrl&);  			void handleKeyPressEvent(QKeyEvent* event);  			void resetView(); +			void increaseFontSize(int numSteps = 1); +			void decreaseFontSize(); +			void resizeFont(int fontSizeSteps);  		private slots:  			void handleViewLoadFinished(bool); @@ -60,7 +64,7 @@ namespace Swift {  			bool isAtBottom_;  			QtWebView* webView_;  			QWebPage* webPage_; - +			int fontSizeSteps_;  			QtChatTheme* theme_;  			QWebElement newInsertPoint_;  			QWebElement lineSeparator_;  | 
 Swift