diff options
author | Daniel Teske <daniel.teske@theqtcompany.com> | 2015-08-17 16:29:09 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@theqtcompany.com> | 2015-08-31 14:59:03 +0000 |
commit | 8dfa9a5dab144797e446b09979be98642403259a (patch) | |
tree | f8e9e559c39b3ce1af2ccf49f0c52f898e223551 /src/plugins/projectexplorer/appoutputpane.h | |
parent | cac53ea41f98e5cf0b81ca3eea696940b98caeb3 (diff) | |
download | qt-creator-8dfa9a5dab144797e446b09979be98642403259a.tar.gz |
ZOOOOM for CompileOutputWindow and AppOutWindow
Implement zooming for the compile output and app output panes.
Those windows can be zoomed by toolbar buttons or ctrl+mousewheel.
The zoom factor is synced between app output panes, but not between
compile and app output. The scroll wheel zoom can be disabled
in the settings.
While at it, fix that the AppOutputPane did not update its font
on changes to the fontsettings.
Task-number: QTCREATORBUG-12476
Change-Id: I8a1639ab3d39c24a5fc21ed82f558f3d10efc02d
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/appoutputpane.h')
-rw-r--r-- | src/plugins/projectexplorer/appoutputpane.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/appoutputpane.h b/src/plugins/projectexplorer/appoutputpane.h index 1ba28c0c2d..824edf6d0a 100644 --- a/src/plugins/projectexplorer/appoutputpane.h +++ b/src/plugins/projectexplorer/appoutputpane.h @@ -119,6 +119,9 @@ private slots: void updateFromSettings(); void enableButtons(); + void zoomIn(); + void zoomOut(); + private: void enableButtons(const RunControl *rc, bool isRunning); @@ -143,6 +146,9 @@ private: int tabWidgetIndexOf(int runControlIndex) const; void handleOldOutput(Core::OutputWindow *window) const; void updateCloseActions(); + void updateFontSettings(); + void saveSettings(); + void updateBehaviorSettings(); QWidget *m_mainWidget; class TabWidget *m_tabWidget; @@ -154,6 +160,9 @@ private: QToolButton *m_reRunButton; QToolButton *m_stopButton; QToolButton *m_attachButton; + QToolButton *m_zoomInButton; + QToolButton *m_zoomOutButton; + float m_zoom; }; } // namespace Internal |