StackModel

class StackModel : public QAbstractTableModel

Public Types

  • enum Column

    Values:

    • enumerator OffsetColumn

    • enumerator ValueColumn

    • enumerator DescriptionColumn

    • enumerator CommentColumn

    • enumerator ColumnCount

  • enum Role

    Values:

    • enumerator StackDescriptionRole

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

    Public Members