StackModel¶
-
class StackModel : public QAbstractTableModel¶
Public Types
Public Functions
-
StackModel(QObject *parent = nullptr)¶
-
void reload()¶
-
int rowCount(const QModelIndex &parent = QModelIndex()) const override¶
-
int columnCount(const QModelIndex &parent = QModelIndex()) const override¶
-
QVariant data(const QModelIndex &index, int role) const override¶
-
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override¶
-
bool setData(const QModelIndex &index, const QVariant &value, int role) override¶
-
Qt::ItemFlags flags(const QModelIndex &index) const override¶
-
struct Item¶
-
StackModel(QObject *parent = nullptr)¶