ktimetracker
treeviewheadercontextmenu.h
Go to the documentation of this file.
56 explicit TreeViewHeaderContextMenu( QObject *parent, QTreeView *widget, int style = AlwaysCheckBox, QVector<int> excludedColumns = QVector<int>() );
81 void addExcludedColumns( QVector<int> columns ) { mExcludedColumns << columns; updateActions(); }
QVector< int > mExcludedColumns
Definition: treeviewheadercontextmenu.h:76
void slotAboutToShow()
Definition: treeviewheadercontextmenu.cpp:112
void updateActions()
Definition: treeviewheadercontextmenu.cpp:70
void columnToggled(int)
TreeViewHeaderContextMenu(QObject *parent, QTreeView *widget, int style=AlwaysCheckBox, QVector< int > excludedColumns=QVector< int >())
Definition: treeviewheadercontextmenu.cpp:33
KMenu * mContextMenu
Definition: treeviewheadercontextmenu.h:73
QVector< QAction * > mActions
Definition: treeviewheadercontextmenu.h:72
ContextMenu for QTreeView::header() to toggle the visible state of the columns.
Definition: treeviewheadercontextmenu.h:47
void addExcludedColumn(int column)
Definition: treeviewheadercontextmenu.h:80
~TreeViewHeaderContextMenu()
Definition: treeviewheadercontextmenu.cpp:55
void addExcludedColumns(QVector< int > columns)
Definition: treeviewheadercontextmenu.h:81
QHash< QAction *, int > mActionColumnMapping
Definition: treeviewheadercontextmenu.h:75
void slotTriggered(QAction *)
Definition: treeviewheadercontextmenu.cpp:99
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.