┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinstatusbar.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-12-23 10:54:56 +0000
committerPeter Penz <[email protected]>2008-12-23 10:54:56 +0000
commit86ee6dbd07b42789676b8e7eee097104a93e8d54 (patch)
tree6b367552a59951de3a6c74180717ecfabaf65e1c /src/dolphinstatusbar.h
parente1ca3fc1eeafe582703f9df42267a5a20324c5a2 (diff)
assure that the zoom slider tooltip is always updated when changing a value
svn path=/trunk/KDE/kdebase/apps/; revision=900577
Diffstat (limited to 'src/dolphinstatusbar.h')
-rw-r--r--src/dolphinstatusbar.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/dolphinstatusbar.h b/src/dolphinstatusbar.h
index a5062928c..c6a2e8c43 100644
--- a/src/dolphinstatusbar.h
+++ b/src/dolphinstatusbar.h
@@ -116,7 +116,7 @@ public:
*/
void setDefaultText(const QString& text);
const QString& defaultText() const;
-
+
/**
* Refreshes the status bar to get synchronized with the (updated) Dolphin settings.
*/
@@ -135,7 +135,7 @@ private slots:
* content is updated.
*/
void updateSpaceInfoContent(const KUrl& url);
-
+
/**
* Sets the zoom level of the item view to \a zoomLevel.
*/
@@ -147,11 +147,11 @@ private slots:
* enough width is available.
*/
void assureVisibleText();
-
+
void zoomOut();
void zoomIn();
void showZoomSliderToolTip(int zoomLevel);
-
+
private:
/**
* Makes the space information widget and zoom slider widget
@@ -161,11 +161,17 @@ private:
*/
void setExtensionsVisible(bool visible);
+ /**
+ * Updates the text of the zoom slider tooltip to show
+ * the currently used size.
+ */
+ void updateZoomSliderToolTip();
+
private:
DolphinView* m_view;
StatusBarMessageLabel* m_messageLabel;
StatusBarSpaceInfo* m_spaceInfo;
-
+
QWidget* m_zoomWidget;
QToolButton* m_zoomOut;
QSlider* m_zoomSlider;