VPTissue Reference Manual
|
For a given Session::ISession::ExportersType instance, generates a list of actions that will trigger file "Export" to happen. More...
#include <ExportActions.h>
Public Member Functions | |
ExportActions (const std::shared_ptr< Ws::IProject > &, const Session::ISession::ExportersType &, QWidget *parent=nullptr) | |
virtual | ~ExportActions () |
Virtual destructor. | |
const std::vector< QAction * > & | GetActions () const |
Get actions. More... | |
For a given Session::ISession::ExportersType instance, generates a list of actions that will trigger file "Export" to happen.
This object maintains ownership of those actions, so a long as they are available to the user (e.g. added to a menu), this object should NOT be destroyed. Such a trigger of "Export" will cause a file dialog window to be shown, so the user can choose where to save the exported file.
Definition at line 44 of file ExportActions.h.
const vector< QAction * > & SimShell::Gui::ProjectActions::ExportActions::GetActions | ( | ) | const |
Get actions.
This class keeps ownership over the returned objects!
Definition at line 50 of file ExportActions.cpp.