50 QVariant
data(
const QModelIndex&
index,
int role)
const override;
55 void clear()
override;
Item in the TreeItemView.
OpenScenarioModel()
Constructor that sets up the root of this model.
void update()
Updates this model.
OpenScenarioItem * getRootItem()
void clear() override
Deletes the current root and replaces it with a new one, as if this model was newly constructed.
TreeModel(QObject *parent=0)
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const override
std::shared_ptr< OpenScenarioModel > OpenScenarioModelPtr