From f0b8e6518506c7d3b8d2beb2b391d6f4301608cf Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 7 Oct 2008 18:38:53 +0000 Subject: provide zoom-out and zoom-in buttons beside the zoom slider svn path=/trunk/KDE/kdebase/apps/; revision=868953 --- src/dolphinstatusbar.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dolphinstatusbar.h') diff --git a/src/dolphinstatusbar.h b/src/dolphinstatusbar.h index e64312b48..c959410aa 100644 --- a/src/dolphinstatusbar.h +++ b/src/dolphinstatusbar.h @@ -29,6 +29,7 @@ class StatusBarMessageLabel; class StatusBarSpaceInfo; class QLabel; class QProgressBar; +class QToolButton; class QSlider; class QTimer; @@ -147,6 +148,9 @@ private slots: */ void assureVisibleText(); + void zoomOut(); + void zoomIn(); + private: /** * Makes the space information widget and zoom slider widget @@ -160,7 +164,11 @@ private: DolphinView* m_view; StatusBarMessageLabel* m_messageLabel; StatusBarSpaceInfo* m_spaceInfo; + + QWidget* m_zoomWidget; + QToolButton* m_zoomOut; QSlider* m_zoomSlider; + QToolButton* m_zoomIn; QLabel* m_progressText; QProgressBar* m_progressBar; -- cgit v1.3