diff options
| author | Peter Penz <[email protected]> | 2008-01-16 22:14:34 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-01-16 22:14:34 +0000 |
| commit | 3e132ea672ec5e54fbb79438813a9d579a7daef9 (patch) | |
| tree | 200871fdea9d751b2b20ba087e044e6b01cfc94d /src/dolphindetailsview.h | |
| parent | ea351be02d2b2b2b856602481529325f1353d599 (diff) | |
don't resize the columns automatically, as soon as the user has modified the column widths himself (e. g. by a double-click on the header or by moving the header handle)
BUG: 155760
svn path=/trunk/KDE/kdebase/apps/; revision=762385
Diffstat (limited to 'src/dolphindetailsview.h')
| -rw-r--r-- | src/dolphindetailsview.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h index 086121f7a..a9201d8b3 100644 --- a/src/dolphindetailsview.h +++ b/src/dolphindetailsview.h @@ -118,6 +118,18 @@ private slots: void updateColumnVisibility(); + /** + * Disables the automatical resizing of columns, if the user has resized the columns + * with the mouse. + */ + void slotHeaderSectionResized(int logicalIndex, int oldSize, int newSize); + + /** + * Disables the automatical resizing of the columns. Per default all columns + * are resized to use the maximum available width of the view as good as possible. + */ + void disableAutoResizing(); + private: bool isZoomInPossible() const; bool isZoomOutPossible() const; @@ -143,6 +155,8 @@ private: void resizeColumns(); private: + bool m_autoResize; // if true, the columns are resized automatically to the available width + DolphinController* m_controller; QFont m_font; |
