26 typedef QTableView Superclass;
35 Q_PROPERTY(
int maximumRowCountBeforeScrolling READ maximumRowCountBeforeScrolling WRITE
36 setMaximumRowCountBeforeScrolling);
42 Q_PROPERTY(
int minimumRowCount READ minimumRowCount WRITE setMinimumRowCount);
51 Q_PROPERTY(
int padding READ padding WRITE setPadding);
81 int padding()
const {
return this->Padding; }
86 void setModel(QAbstractItemModel* model)
override;
87 void setRootIndex(
const QModelIndex&
index)
override;
92 QSize sizeHint()
const override;
93 QSize minimumSizeHint()
const override;
98 bool eventFilter(QObject* watched, QEvent* evt)
override;
103 void wheelEvent(QWheelEvent* event)
override;
106 void invalidateLayout();
111 int MaximumRowCountBeforeScrolling;
void setMaximumRowCountBeforeScrolling(int val)
Set the maximum number of rows beyond which this view should show a vertical scroll bar...
int minimumRowCount() const
a QTableView subclass for ParaView specific customizations.
void setMinimumRowCount(int val)
Set the number of rows to use as the minimum to determine the size of the widget when there are fewer...
void setPadding(int val)
Set the number of rows to always pad the widget with.
int maximumRowCountBeforeScrolling() const