|
using | Role = WorkspaceModelRole |
|
using | Type = WorkspaceModelType |
|
|
| WorkspaceTreeModel (InviwoApplication *app, QObject *parent=nullptr) |
|
virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
|
virtual Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
virtual QVariant | data (const QModelIndex &index, int role) const override |
|
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
|
virtual QModelIndex | parent (const QModelIndex &index) const override |
|
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
|
void | updateRecentWorkspaces (const QStringList &recentFiles) |
|
void | updateRestoreEntries () |
|
void | updateCustomEntries () |
|
void | updateExampleEntries () |
|
void | updateRegressionTestEntries () |
|
QModelIndex | getCategoryIndex (std::string_view category) |
|
|
static constexpr std::string_view | recent = "Recent Workspaces" |
|
static constexpr std::string_view | restore = "Restore" |
|
static constexpr std::string_view | custom = "Custom" |
|
static constexpr std::string_view | examples = "Examples" |
|
static constexpr std::string_view | tests = "Regression Tests" |
|
The documentation for this class was generated from the following file: