![]() |
An open-source, flexible 3D physical simulation framework
|
Adds a QDialog to set torque to nodes. More...
#include <Dialog_Add_Torque.h>
Public Member Functions | |
Dialog_Add_Torque (interfaces::ControlCenter *c, main_gui::GuiInterface *gui) | |
Creates the Dialog. More... | |
~Dialog_Add_Torque () | |
std::vector< interfaces::core_objects_exchange > * | getNodeListPtr (void) |
return the address of the NodeList vector More... | |
void | show (void) |
void | hide (void) |
bool | isHidden (void) |
void | close (void) |
![]() | |
BaseWidget (QWidget *parent, cfg_manager::CFGManagerInterface *_cfg, std::string _widgetName) | |
~BaseWidget () | |
virtual void | cfgUpdateProperty (cfg_manager::cfgPropertyStruct _property) |
void | setHiddenCloseState (bool v) |
bool | getHiddenCloseState () |
void | show () |
void | hide () |
bool | isHidden () |
void | saveState () |
const std::string & | getName () |
![]() | |
CFGClient () | |
virtual | ~CFGClient () |
virtual void | cfgParamCreated (cfgParamId _id) |
virtual void | cfgParamRemoved (cfgParamId _id) |
![]() | |
virtual | ~PropertyCallback () |
Destructor. More... | |
virtual void | valueChanged (QtProperty *property, const QVariant &value) |
Called every time a property has changed its value. More... | |
virtual void | topLevelItemChanged (QtProperty *current) |
Called every time another branch of a QtTreePropertyBrowser has been selected. More... | |
virtual void | accept () |
Associated with the OK button of the Property Dialog. More... | |
virtual void | reject () |
Associated with the Cancel button of the Property Dialog. More... | |
Public Attributes | |
main_gui::PropertyDialog * | pDialog |
Private Slots | |
virtual void | accept () |
apply torque to selected node More... | |
virtual void | reject () |
virtual void | valueChanged (QtProperty *, const QVariant &) |
void | closeDialog () |
Private Attributes | |
std::vector< interfaces::core_objects_exchange > | myNodes |
interfaces::ControlCenter * | control |
main_gui::GuiInterface * | mainGui |
QtVariantProperty * | vector_x |
QtVariantProperty * | vector_y |
QtVariantProperty * | vector_z |
QtVariantProperty * | magnitude |
QtVariantProperty * | node |
Additional Inherited Members | |
![]() | |
void | hideSignal (void) |
void | closeSignal (void) |
![]() | |
void | changeEvent (QEvent *ev) |
void | cfgWindow (void) |
void | applyGeometry () |
void | hideEvent (QHideEvent *event) |
void | closeEvent (QCloseEvent *event) |
![]() | |
cfg_manager::CFGManagerInterface * | cfg |
bool | setWindowProp |
bool | hiddenState |
Adds a QDialog to set torque to nodes.
Definition at line 45 of file Dialog_Add_Torque.h.
mars::gui::Dialog_Add_Torque::Dialog_Add_Torque | ( | interfaces::ControlCenter * | c, |
main_gui::GuiInterface * | gui | ||
) |
Creates the Dialog.
Adds a QDialog to set torque to nodes.
Definition at line 33 of file Dialog_Add_Torque.cpp.
mars::gui::Dialog_Add_Torque::~Dialog_Add_Torque | ( | ) |
Definition at line 62 of file Dialog_Add_Torque.cpp.
|
privatevirtualslot |
apply torque to selected node
Definition at line 68 of file Dialog_Add_Torque.cpp.
|
inline |
Definition at line 61 of file Dialog_Add_Torque.h.
|
privateslot |
Definition at line 90 of file Dialog_Add_Torque.cpp.
std::vector< interfaces::core_objects_exchange > * mars::gui::Dialog_Add_Torque::getNodeListPtr | ( | void | ) |
return the address of the NodeList vector
returns the pointer to the nodeList vector, so that the vector can be filled by the MyMainWidnow
Definition at line 102 of file Dialog_Add_Torque.cpp.
|
inline |
Definition at line 59 of file Dialog_Add_Torque.h.
|
inline |
Definition at line 60 of file Dialog_Add_Torque.h.
|
privatevirtualslot |
Definition at line 85 of file Dialog_Add_Torque.cpp.
|
inline |
Definition at line 58 of file Dialog_Add_Torque.h.
|
inlineprivatevirtualslot |
Definition at line 68 of file Dialog_Add_Torque.h.
|
private |
Definition at line 73 of file Dialog_Add_Torque.h.
|
private |
Definition at line 79 of file Dialog_Add_Torque.h.
|
private |
Definition at line 74 of file Dialog_Add_Torque.h.
|
private |
Definition at line 72 of file Dialog_Add_Torque.h.
|
private |
Definition at line 80 of file Dialog_Add_Torque.h.
main_gui::PropertyDialog* mars::gui::Dialog_Add_Torque::pDialog |
Definition at line 57 of file Dialog_Add_Torque.h.
|
private |
Definition at line 76 of file Dialog_Add_Torque.h.
|
private |
Definition at line 77 of file Dialog_Add_Torque.h.
|
private |
Definition at line 78 of file Dialog_Add_Torque.h.