VPTissue Reference Manual
SimShell::Gui::ProjectActions::ExportActions Class Reference

For a given Session::ISession::ExportersType instance, generates a list of actions that will trigger file "Export" to happen. More...

#include <ExportActions.h>

Inheritance diagram for SimShell::Gui::ProjectActions::ExportActions:
Inheritance graph
Collaboration diagram for SimShell::Gui::ProjectActions::ExportActions:
Collaboration graph

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...
 

Detailed Description

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.

Member Function Documentation

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.


The documentation for this class was generated from the following files: