MenuAdd creates the menus and menu items in the File menu of the simulation.
More...
#include <MenuAdd.h>
MenuAdd creates the menus and menu items in the File menu of the simulation.
Definition at line 69 of file MenuAdd.h.
◆ MenuAdd()
The constructor adds the actions to the File menu.
MenuAdd creates the menus and menu items in the File menu of the simulation.
Definition at line 65 of file MenuAdd.cpp.
◆ ~MenuAdd()
mars::gui::MenuAdd::~MenuAdd |
( |
| ) |
|
◆ addObject
void mars::gui::MenuAdd::addObject |
( |
| ) |
|
|
privateslot |
◆ menu_addBox()
void mars::gui::MenuAdd::menu_addBox |
( |
const std::string & |
name | ) |
|
|
private |
◆ menu_addJoint()
void mars::gui::MenuAdd::menu_addJoint |
( |
const std::string & |
name | ) |
|
|
private |
◆ menu_addLight()
void mars::gui::MenuAdd::menu_addLight |
( |
const std::string & |
name | ) |
|
|
private |
◆ menu_addMaterial()
void mars::gui::MenuAdd::menu_addMaterial |
( |
const std::string & |
name | ) |
|
|
private |
◆ menu_addMesh()
void mars::gui::MenuAdd::menu_addMesh |
( |
const std::string & |
name | ) |
|
|
private |
◆ menu_addMotor()
void mars::gui::MenuAdd::menu_addMotor |
( |
const std::string & |
name | ) |
|
|
private |
◆ menu_addPlane()
void mars::gui::MenuAdd::menu_addPlane |
( |
const std::string & |
name | ) |
|
|
private |
◆ menu_addSphere()
void mars::gui::MenuAdd::menu_addSphere |
( |
const std::string & |
name | ) |
|
|
private |
◆ menuAction()
void mars::gui::MenuAdd::menuAction |
( |
int |
action, |
|
|
bool |
checked = false |
|
) |
| |
|
virtual |
Called whenever a menu item is selected.
- Parameters
-
action | The action that is passed to the GuiInterface via addGenericMenuAction function. |
checked | Indicates if the menu/menu item is checked or not. |
Implements mars::main_gui::MenuInterface.
Definition at line 190 of file MenuAdd.cpp.
◆ selectFile
void mars::gui::MenuAdd::selectFile |
( |
| ) |
|
|
privateslot |
◆ addLabel
QLabel* mars::gui::MenuAdd::addLabel |
|
private |
◆ addLineEdit
QLineEdit* mars::gui::MenuAdd::addLineEdit |
|
private |
◆ addLineEdit2
QLineEdit * mars::gui::MenuAdd::addLineEdit2 |
|
private |
◆ addType
int mars::gui::MenuAdd::addType |
|
private |
◆ combo1
QComboBox* mars::gui::MenuAdd::combo1 |
|
private |
◆ combo2
QComboBox * mars::gui::MenuAdd::combo2 |
|
private |
◆ combo3
QComboBox * mars::gui::MenuAdd::combo3 |
|
private |
◆ comboLabel1
QLabel * mars::gui::MenuAdd::comboLabel1 |
|
private |
◆ comboLabel2
QLabel * mars::gui::MenuAdd::comboLabel2 |
|
private |
◆ comboLabel3
QLabel * mars::gui::MenuAdd::comboLabel3 |
|
private |
◆ control
◆ defaultLight
◆ gridLayout
QGridLayout* mars::gui::MenuAdd::gridLayout |
|
private |
◆ label3
QLabel * mars::gui::MenuAdd::label3 |
|
private |
◆ libManager
◆ mainGui
◆ material
◆ openFile
QPushButton* mars::gui::MenuAdd::openFile |
|
private |
◆ vLayout
QVBoxLayout* mars::gui::MenuAdd::vLayout |
|
private |
◆ widgetAdd
QWidget* mars::gui::MenuAdd::widgetAdd |
|
private |
The documentation for this class was generated from the following files:
- /Developer/bob-learning-dev/simulation/mars/gui/src/menus/MenuAdd.h
- /Developer/bob-learning-dev/simulation/mars/gui/src/menus/MenuAdd.cpp