|
virtual void | dragEnterEvent (QDragEnterEvent *event) override |
|
virtual void | dragMoveEvent (QDragMoveEvent *event) override |
|
virtual void | dropEvent (QDropEvent *event) override |
|
◆ appendWorkspace()
bool inviwo::InviwoMainWindow::appendWorkspace |
( |
| ) |
|
shows a file dialog for appending a workspace.
- Returns
- true if the workspace was appended, otherwise false.
- See also
- askToSaveWorkspaceChanges
◆ 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 |
( |
const std::filesystem::path & | exampleFileName | ) |
|
loads the given example workspace.
- Returns
- true if the example was opened, otherwise false.
◆ openWorkspace() [1/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
◆ openWorkspace() [2/2]
bool inviwo::InviwoMainWindow::openWorkspace |
( |
const std::filesystem::path & | workspaceFileName | ) |
|
loads the given workspace.
- Returns
- true if the workspace was opened, otherwise false.
◆ openWorkspaceAskToSave()
bool inviwo::InviwoMainWindow::openWorkspaceAskToSave |
( |
const std::filesystem::path & | 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.
◆ saveWorkspace()
bool inviwo::InviwoMainWindow::saveWorkspace |
( |
| ) |
|
saves the current workspace. If the workspace does not have a name yet, a file dialog will be shown.
- Returns
- true if the workspace was saved, otherwise false.
- See also
- saveWorkspaceAs
◆ saveWorkspaceAs()
bool inviwo::InviwoMainWindow::saveWorkspaceAs |
( |
| ) |
|
saves the current workspace using a file dialog
- Returns
- true if the workspace was saved, otherwise false.
- See also
- saveWorkspaceAs
The documentation for this class was generated from the following file: