From 708312d759e8a56d62dd9d6ac2a0d0f12d617817 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 9 Oct 2010 15:22:49 +0000 Subject: Allow the user to resize the columns. BUG: 190030 BUG: 196717 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1184247 --- src/views/dolphincolumnview.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/views/dolphincolumnview.h') 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; }; -- cgit v1.3.1