diff options
author | hjk <hjk121@nokiamail.com> | 2014-05-29 00:56:11 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-05-30 13:35:21 +0200 |
commit | f84e5eed7406c049c846a91687507c27da9746c9 (patch) | |
tree | a2dd075df077b44bfdf55b9a8ffaf9b1c1082da5 /src/libs/utils/basetreeview.h | |
parent | 26b54747e2e8c876d2aaa32103f7907aab9fd8e1 (diff) |
Utils::BaseTreeView: Adjust column size by mouse click
Single click on either header or unoccupied part of the
view will toggle the respective column width between
a large value based on contents contents width and a
small fixed one (8ex). Previously it only expanded.
Change-Id: I2c5865a3b0bad7593a47976626d4c516e021c157
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/libs/utils/basetreeview.h')
-rw-r--r-- | src/libs/utils/basetreeview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/basetreeview.h b/src/libs/utils/basetreeview.h index e8bcdb132eb..7067d005f25 100644 --- a/src/libs/utils/basetreeview.h +++ b/src/libs/utils/basetreeview.h @@ -64,7 +64,7 @@ protected slots: private slots: void rowActivatedHelper(const QModelIndex &index) { rowActivated(index); } void rowClickedHelper(const QModelIndex &index) { rowClicked(index); } - void headerSectionClicked(int logicalIndex); + void toggleColumnWidth(int logicalIndex); private: QAction *m_alwaysAdjustColumnsAction; |