43 Q_PROPERTY(
int maximumRowCountBeforeScrolling READ maximumRowCountBeforeScrolling WRITE
44 setMaximumRowCountBeforeScrolling)
46 typedef QTreeView Superclass;
49 pqTreeView(QWidget* parent =
nullptr,
bool use_pqHeaderView =
false);
52 bool eventFilter(QObject*
object, QEvent* e)
override;
57 void wheelEvent(QWheelEvent* event)
override;
59 void setModel(QAbstractItemModel* model)
override;
60 void setRootIndex(
const QModelIndex& index)
override;
62 QSize sizeHint()
const override;
63 QSize minimumSizeHint()
const override;
73 void setupCustomHeader(
bool use_pqHeaderView =
false);
92 QItemSelectionModel::SelectionFlags selectionCommand(
93 const QModelIndex&
index,
const QEvent* event =
nullptr)
const override;
94 bool edit(
const QModelIndex&
index, EditTrigger trigger, QEvent* event)
override;
98 void invalidateLayout();
102 int MaximumRowCountBeforeScrolling;
int maximumRowCountBeforeScrolling() const
: QTreeView subclass that add ParaView specific customizations.
void setMaximumRowCountBeforeScrolling(int val)