]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinview.h
Add smaller statusbar and set it as default
[dolphin.git] / src / views / dolphinview.h
index d1667334e30d39336dd7dd05284f599ff735e409..de4bc1af2ca28374c41d669e95425802f451899a 100644 (file)
@@ -357,6 +357,18 @@ public:
      */
     bool isFolderWritable() const;
 
+    /**
+     * @returns the height of the scrollbar at the bottom of the view or zero if no such scroll bar is visible.
+     */
+    int horizontalScrollBarHeight() const;
+
+    /**
+     * Set the offset for any view items that small statusbar would otherwise
+     * cover. For example, in compact view this is used to make sure no
+     * item is covered by statusbar.
+     */
+    void setStatusBarOffset(int offset);
+
 public Q_SLOTS:
 
     void reload();