Privacy
An open-source, flexible 3D physical simulation framework
mars::gui::MenuHelp Class Reference

MenuHelp is the part of the menu bar that manages the help dialogs. More...

#include <MenuHelp.h>

Public Member Functions

 MenuHelp (interfaces::ControlCenter *c, main_gui::GuiInterface *gui)
 The constructor adds the actions to the Remove menu. More...
 
 ~MenuHelp ()
 
virtual void menuAction (int action, bool checked=false)
 Called whenever a menu item is selected. More...
 
- Public Member Functions inherited from mars::main_gui::MenuInterface
virtual ~MenuInterface ()
 

Protected Member Functions

void menu_about ()
 
void menu_aboutQt ()
 

Private Attributes

AboutDialogda
 

Detailed Description

MenuHelp is the part of the menu bar that manages the help dialogs.

Definition at line 49 of file MenuHelp.h.

Constructor & Destructor Documentation

◆ MenuHelp()

mars::gui::MenuHelp::MenuHelp ( interfaces::ControlCenter c,
main_gui::GuiInterface gui 
)

The constructor adds the actions to the Remove menu.

Definition at line 28 of file MenuHelp.cpp.

◆ ~MenuHelp()

mars::gui::MenuHelp::~MenuHelp ( )

Definition at line 38 of file MenuHelp.cpp.

Member Function Documentation

◆ menu_about()

void mars::gui::MenuHelp::menu_about ( )
protected

Definition at line 54 of file MenuHelp.cpp.

◆ menu_aboutQt()

void mars::gui::MenuHelp::menu_aboutQt ( )
protected

Definition at line 66 of file MenuHelp.cpp.

◆ menuAction()

void mars::gui::MenuHelp::menuAction ( int  action,
bool  checked = false 
)
virtual

Called whenever a menu item is selected.

Parameters
actionThe action that is passed to the GuiInterface via addGenericMenuAction function.
checkedIndicates if the menu/menu item is checked or not.

Implements mars::main_gui::MenuInterface.

Definition at line 46 of file MenuHelp.cpp.

Member Data Documentation

◆ da

AboutDialog* mars::gui::MenuHelp::da
private

Definition at line 64 of file MenuHelp.h.


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