11 Q_PROPERTY(QAbstractItemModel* sourceModel READ sourceModel WRITE setSourceModel NOTIFY sourceModelChanged)
12 Q_PROPERTY(QStringList columnNames READ columnNames NOTIFY sourceModelChanged)
16 void setSourceModel(QAbstractItemModel* sourceModel);
17 QAbstractItemModel* sourceModel()
const;
19 QStringList columnNames()
const;
20 Q_INVOKABLE QVariantList calculateColumnMinMax(
int _column)
const;
22 int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
23 int columnCount(
const QModelIndex &parent = QModelIndex())
const override;
24 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const override;
26 void sourceModelChanged();