┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphincolumnview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-10-09 15:22:49 +0000
committerPeter Penz <[email protected]>2010-10-09 15:22:49 +0000
commit708312d759e8a56d62dd9d6ac2a0d0f12d617817 (patch)
tree471f259389a4f913b6295797f7592c162b5244a6 /src/views/dolphincolumnview.h
parentabd36cde0c3e41d933bd18a5d7c44e17d0e94ab9 (diff)
Allow the user to resize the columns.
BUG: 190030 BUG: 196717 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1184247
Diffstat (limited to 'src/views/dolphincolumnview.h')
-rw-r--r--src/views/dolphincolumnview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/views/dolphincolumnview.h b/src/views/dolphincolumnview.h
index 4f439fc99..871610d81 100644
--- a/src/views/dolphincolumnview.h
+++ b/src/views/dolphincolumnview.h
@@ -34,6 +34,7 @@ class DolphinModel;
class DolphinSortFilterProxyModel;
class DolphinDirLister;
class KFileItem;
+class QLabel;
class SelectionManager;
class ViewExtensionsFactory;
@@ -102,6 +103,7 @@ protected:
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous);
virtual QRect visualRect(const QModelIndex& index) const;
virtual bool acceptsDrop(const QModelIndex& index) const;
+ virtual bool eventFilter(QObject* watched, QEvent* event);
private slots:
void setZoomLevel(int level);
@@ -136,6 +138,9 @@ private:
DolphinModel* m_dolphinModel;
DolphinSortFilterProxyModel* m_proxyModel;
+ QLabel* m_resizeWidget;
+ int m_resizeXOrigin;
+
friend class DolphinColumnViewContainer;
};