![]() |
An open-source, flexible 3D physical simulation framework
|
Adds a QDialog to set force to nodes. More...
#include <Dialog_Add_Force.h>
Public Member Functions | |
Dialog_Add_Force (interfaces::ControlCenter *c, main_gui::GuiInterface *gui) | |
Creates the Dialog. More... | |
~Dialog_Add_Force () | |
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 force 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 force to nodes.
Definition at line 43 of file Dialog_Add_Force.h.
mars::gui::Dialog_Add_Force::Dialog_Add_Force | ( | interfaces::ControlCenter * | c, |
main_gui::GuiInterface * | gui | ||
) |
Creates the Dialog.
Adds a QDialog to set force to nodes.
Definition at line 35 of file Dialog_Add_Force.cpp.
mars::gui::Dialog_Add_Force::~Dialog_Add_Force | ( | ) |
Definition at line 64 of file Dialog_Add_Force.cpp.
|
privatevirtualslot |
apply force to selected node
Definition at line 70 of file Dialog_Add_Force.cpp.
|
inline |
Definition at line 59 of file Dialog_Add_Force.h.
|
privateslot |
Definition at line 93 of file Dialog_Add_Force.cpp.
std::vector< interfaces::core_objects_exchange > * mars::gui::Dialog_Add_Force::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 105 of file Dialog_Add_Force.cpp.
|
inline |
Definition at line 57 of file Dialog_Add_Force.h.
|
inline |
Definition at line 58 of file Dialog_Add_Force.h.
|
privatevirtualslot |
Definition at line 88 of file Dialog_Add_Force.cpp.
|
inline |
Definition at line 56 of file Dialog_Add_Force.h.
|
inlineprivatevirtualslot |
Definition at line 66 of file Dialog_Add_Force.h.
|
private |
Definition at line 71 of file Dialog_Add_Force.h.
|
private |
Definition at line 77 of file Dialog_Add_Force.h.
|
private |
Definition at line 72 of file Dialog_Add_Force.h.
|
private |
Definition at line 70 of file Dialog_Add_Force.h.
|
private |
Definition at line 78 of file Dialog_Add_Force.h.
main_gui::PropertyDialog* mars::gui::Dialog_Add_Force::pDialog |
Definition at line 55 of file Dialog_Add_Force.h.
|
private |
Definition at line 74 of file Dialog_Add_Force.h.
|
private |
Definition at line 75 of file Dialog_Add_Force.h.
|
private |
Definition at line 76 of file Dialog_Add_Force.h.