|
static const unsigned int | maxNumRecentFiles_ = 10 |
|
|
virtual void | dragEnterEvent (QDragEnterEvent *event) override |
|
virtual void | dragMoveEvent (QDragMoveEvent *event) override |
|
virtual void | dropEvent (QDropEvent *event) override |
|
void | addObservation (ObservableInterface *observable) |
|
◆ newWorkspace()
bool inviwo::InviwoMainWindow::newWorkspace |
( |
| ) |
|
sets up an empty workspace. In case there are unsaved changes, the user will be asked to save or discard them, or cancel the task.
- Returns
- true if the workspace was opened, otherwise false.
- See also
- askToSaveWorkspaceChanges
◆ openExample()
bool inviwo::InviwoMainWindow::openExample |
( |
QString |
exampleFileName | ) |
|
loads the given example workspace.
- Returns
- true if the example was opened, otherwise false.
◆ openWorkspace() [1/2]
bool inviwo::InviwoMainWindow::openWorkspace |
( |
QString |
workspaceFileName | ) |
|
loads the given workspace.
- Returns
- true if the workspace was opened, otherwise false.
◆ openWorkspace() [2/2]
bool inviwo::InviwoMainWindow::openWorkspace |
( |
| ) |
|
shows a file dialog for loading a workspace. In case there are unsaved changes, the user will be asked to save or discard them, or cancel the loading.
- Returns
- true if the workspace was opened, otherwise false.
- See also
- askToSaveWorkspaceChanges
◆ openWorkspaceAskToSave()
bool inviwo::InviwoMainWindow::openWorkspaceAskToSave |
( |
QString |
workspaceFileName | ) |
|
loads the given workspace. In case there are unsaved changes, the user will be asked to save or discard them, or cancel the loading.
- Returns
- true if the workspace was opened, otherwise false.
The documentation for this class was generated from the following files:
- inviwomainwindow.h
- inviwomainwindow.cpp