]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/kitemlistheader.h
Add symmetric padding on right side of details view
[dolphin.git] / src / kitemviews / kitemlistheader.h
index 6875a0f5e75cd804a51a72c2d27bf9b8a35f696c..e2653e41eab68d041a2e616eb3b3bf41f5a336b0 100644 (file)
@@ -58,7 +58,16 @@ public:
      */
     qreal preferredColumnWidth(const QByteArray& role) const;
 
+    /**
+     * Sets the width of the column *before* the first column.
+     * This is intended to facilitate an empty region for deselection in the main viewport.
+     */
+    void setLeadingPadding(qreal width);
+    qreal leadingPadding() const;
+
 Q_SIGNALS:
+    void leadingPaddingChanged(qreal width);
+
     /**
      * Is emitted if the width of a column has been adjusted by the user with the mouse
      * (no signal is emitted if KItemListHeader::setColumnWidth() is invoked).