0.2.0
Loading...
Searching...
No Matches
GlobalActions.hpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
13
14#pragma once
15
27
28namespace NAV::gui
29{
32
35
38
41
44
47
50
53
56
59
62
63} // namespace NAV::gui
bool canPasteFlowElements()
Checks if elements can be pasted.
void copyFlowElements()
Copies the currently selected elements.
bool canUndoLastAction()
Checks if an action can be undone.
GlobalActions
Possible Global Actions to perform in the GUI.
Definition GlobalActions.hpp:18
@ RunFlow
Run the flow.
Definition GlobalActions.hpp:25
@ Clear
Clear the flow.
Definition GlobalActions.hpp:23
@ QuitUnsaved
Quit the program without saving.
Definition GlobalActions.hpp:21
@ Quit
Quit the program.
Definition GlobalActions.hpp:20
@ Load
Load a flow.
Definition GlobalActions.hpp:24
@ None
None.
Definition GlobalActions.hpp:19
@ SaveAs
Save the flow as filename.
Definition GlobalActions.hpp:22
bool canCutOrCopyFlowElements()
Checks if elements can be cutted/copied.
bool canRedoLastAction()
Checks if an action can be redone.
void pasteFlowElements()
Pastes the copied/cutted elements.
void clearLastActionList()
Clears the list of last actions.
void cutFlowElements()
Cuts the currently selected elements.
void redoLastAction()
Redo the last action.
void undoLastAction()
Undo the last action.
void saveLastAction()
Saves the last action to the action list.