18 #ifndef _GUI_ACTIONS_HH_ 19 #define _GUI_ACTIONS_HH_ 29 extern GZ_GUI_VISIBLE QAction *
g_newAct;
89 extern GZ_GUI_VISIBLE QAction *
g_fpsAct;
112 extern GZ_GUI_VISIBLE QAction *
g_copyAct;
115 extern GZ_GUI_VISIBLE QWidgetAction *
g_alignAct;
117 extern GZ_GUI_VISIBLE QAction *
g_snapAct;
126 extern GZ_GUI_VISIBLE QAction *
g_undoAct;
129 extern GZ_GUI_VISIBLE QAction *
g_redoAct;
146 : QAction(_text, _parent) {}
150 public:
void Signal(
const std::string &_modelName)
151 { emit DeleteSignal(_modelName); }
155 Q_SIGNALS:
void DeleteSignal(
const std::string &_modelName);
DeleteAction(const QString &_text, QObject *_parent)
Constructor.
Definition: Actions.hh:145
QAction * g_viewAngleButtonAct
Action attached to the view angle button.
QAction * g_resetModelsAct
DeleteAction * g_deleteAct
Action used to delete a model.
QAction * g_showGridAct
Action to show/hide the grid over the ground plane.
QAction * g_fullScreenAct
QAction * g_alignButtonAct
QWidgetAction * g_viewAngleAct
Action to open the view angle widget.
Forward declarations for the common classes.
Definition: Animation.hh:33
QAction * g_viewWireframeAct
QAction * g_redoAct
Action to redo last undone user command.
QAction * g_cylinderCreateAct
QWidgetAction * g_alignAct
QAction * g_viewOculusAct
QAction * g_hotkeyChartAct
QAction * g_showCollisionsAct
Action to show/hide collision visuals for all models.
QAction * g_redoHistoryAct
Action to open the redo history menu.
QAction * g_cameraOrthoAct
Enable orthographic projection action.
QAction * g_showCOMAct
Action to show/hide CoM visuals for all models.
QAction * g_sphereCreateAct
QAction * g_showOriginAct
Action to show/hide the world origin indicator.
QAction * g_undoHistoryAct
Action to open the undo history menu.
Custom delete action.
Definition: Actions.hh:139
QAction * g_resetWorldAct
QAction * g_showJointsAct
Action to show/hide joint visuals for all models.
QAction * g_undoAct
Action to undo last user command.
QAction * g_editTerrainAct
QAction * g_showLinkFrameAct
Action to show/hide link frame visuals for all models.
QAction * g_screenshotAct
QAction * g_dirLghtCreateAct
QAction * g_editBuildingAct
QAction * g_spotLghtCreateAct
QAction * g_dataLoggerAct
QAction * g_cameraPerspectiveAct
Enable perspective projection action.
QAction * g_showToolbarsAct
QAction * g_pointLghtCreateAct
void Signal(const std::string &_modelName)
Emit the delete signal.
Definition: Actions.hh:150
QAction * g_showInertiaAct
Action to show/hide inertia visuals for all models.
QAction * g_diagnosticsAct
QAction * g_transparentAct
QAction * g_showContactsAct
Action to show/hide contact visuals for all models.