4 #ifndef pqTreeViewSelectionHelper_h 5 #define pqTreeViewSelectionHelper_h 8 #include <QAbstractItemView> 9 #include <QItemSelection> 39 typedef QObject Superclass;
40 Q_PROPERTY(
bool filterable READ isFilterable WRITE setFilterable);
57 virtual void buildupMenu(QMenu& menu,
int section,
const QPoint& pos);
61 virtual void showContextMenu(
int section,
const QPoint&);
66 void setSelectedItemsCheckState(Qt::CheckState state);
helper class to add selection/sort/filter context menu to QAbstractItemView.
QAbstractItemView * TreeView
void setFilterable(bool val)
This property holds whether the tree view support filtering.
bool isFilterable() const
This property holds whether the tree view support filtering.