Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
InviwoMainWindow (InviwoApplication *app) | |
void | showWindow () |
bool | openExample (const std::filesystem::path &exampleFileName) |
void | openLastWorkspace (const std::filesystem::path &workspace={}) |
bool | openWorkspace (const std::filesystem::path &workspaceFileName) |
bool | openWorkspaceAskToSave (const std::filesystem::path &workspaceFileName) |
NetworkEditor * | getNetworkEditor () const |
NetworkEditorView & | getNetworkEditorView () const |
TextLabelOverlay & | getNetworkEditorOverlay () const |
SettingsWidget * | getSettingsWidget () const |
ProcessorTreeWidget * | getProcessorTreeWidget () const |
PropertyListWidget * | getPropertyListWidget () const |
ConsoleWidget * | getConsoleWidget () const |
AnnotationsWidget * | getAnnotationsWidget () const |
HelpWidget * | getHelpWidget () const |
InviwoApplication * | getInviwoApplication () const |
InviwoEditMenu * | getInviwoEditMenu () const |
ToolsMenu * | getToolsMenu () const |
bool | newWorkspace () |
bool | openWorkspace () |
bool | appendWorkspace () |
bool | saveWorkspace () |
bool | saveWorkspaceAs () |
void | saveWorkspaceAsCopy () |
bool | askToSaveWorkspaceChanges () |
void | exitInviwo (bool saveIfModified=true) |
void | showAboutBox () |
void | toggleWelcomeScreen () |
void | showWelcomeScreen () |
void | hideWelcomeScreen () |
QStringList | getRecentWorkspaceList () const |
query the Qt settings for recent workspaces | |
bool | hasRestoreWorkspace () const |
void | restoreWorkspace () |
bool inviwo::InviwoMainWindow::appendWorkspace | ( | ) |
shows a file dialog for appending a workspace.
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.
bool inviwo::InviwoMainWindow::openExample | ( | const std::filesystem::path & | exampleFileName | ) |
loads the given example workspace.
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.
bool inviwo::InviwoMainWindow::openWorkspace | ( | const std::filesystem::path & | workspaceFileName | ) |
loads the given workspace.
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.
bool inviwo::InviwoMainWindow::saveWorkspace | ( | ) |
saves the current workspace. If the workspace does not have a name yet, a file dialog will be shown.
bool inviwo::InviwoMainWindow::saveWorkspaceAs | ( | ) |
saves the current workspace using a file dialog