32 #ifndef pqTreeViewSelectionHelper_h 33 #define pqTreeViewSelectionHelper_h 36 #include <QAbstractItemView> 37 #include <QItemSelection> 67 typedef QObject Superclass;
68 Q_PROPERTY(
bool filterable READ isFilterable WRITE setFilterable);
84 virtual void showContextMenu(
int section,
const QPoint&);
89 void setSelectedItemsCheckState(Qt::CheckState state);
90 QAbstractItemView* TreeView;
helper class to add selection/sort/filter context menu to QAbstractItemView.
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.