76 void add(const QPersistentModelIndex& itemIndex) noexcept;
77 void copy(const QPersistentModelIndex& itemIndex) noexcept;
78 void remove(const QPersistentModelIndex& itemIndex) noexcept;
79 void moveUp(const QPersistentModelIndex& itemIndex) noexcept;
80 void moveDown(const QPersistentModelIndex& itemIndex) noexcept;
83 int rowCount(const QModelIndex& parent = QModelIndex()) const override;
84 int columnCount(const QModelIndex& parent = QModelIndex()) const override;
85 QVariant
data(const QModelIndex& index,
86 int role = Qt::DisplayRole) const override;
87 QVariant
headerData(
int section, Qt::Orientation orientation,
88 int role = Qt::DisplayRole) const override;
89 Qt::ItemFlags
flags(const QModelIndex& index) const override;
90 bool setData(const QModelIndex& index, const QVariant& value,
91 int role = Qt::EditRole) override;
type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier > ElementName
Definition elementname.h:84