![]() |
An open-source, flexible 3D physical simulation framework
|
#include <CfgWidget.h>
Public Member Functions | |
CfgWidget (MainCfgGui *mainCfgGui, cfg_manager::CFGManagerInterface *_cfg, QWidget *parent=0) | |
~CfgWidget () | |
void | addParam (const cfg_manager::cfgParamInfo &newParam) |
void | changeParam (const cfg_manager::cfgParamId _id) |
void | removeParam (const cfg_manager::cfgParamId _id) |
virtual void | valueChanged (QtProperty *property, const QVariant &value) |
Called every time a property has changed its value. More... | |
![]() | |
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 | 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 |
Protected Slots | |
void | timerEvent (QTimerEvent *event) |
virtual void | accept () |
virtual void | reject () |
Private Member Functions | |
paramWrapper * | getWrapperById (cfg_manager::cfgParamId _id) |
Private Attributes | |
MainCfgGui * | mainCfgGui |
QMutex | listMutex |
QMutex | addMutex |
QMutex | changeMutex |
QMutex | removeMutex |
std::vector< cfg_manager::cfgParamId > | removeList |
std::vector< cfg_manager::cfgParamId > | changeList |
std::vector< cfg_manager::cfgParamInfo > | addList |
std::vector< paramWrapper > | paramList |
bool | ignore_change |
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 |
Definition at line 55 of file CfgWidget.h.
mars::cfg_manager_gui::CfgWidget::CfgWidget | ( | MainCfgGui * | mainCfgGui, |
cfg_manager::CFGManagerInterface * | _cfg, | ||
QWidget * | parent = 0 |
||
) |
Definition at line 36 of file CfgWidget.cpp.
mars::cfg_manager_gui::CfgWidget::~CfgWidget | ( | void | ) |
Definition at line 51 of file CfgWidget.cpp.
|
protectedvirtualslot |
Definition at line 243 of file CfgWidget.cpp.
void mars::cfg_manager_gui::CfgWidget::addParam | ( | const cfg_manager::cfgParamInfo & | newParam | ) |
Definition at line 55 of file CfgWidget.cpp.
void mars::cfg_manager_gui::CfgWidget::changeParam | ( | const cfg_manager::cfgParamId | _id | ) |
Definition at line 61 of file CfgWidget.cpp.
|
private |
Definition at line 184 of file CfgWidget.cpp.
|
protectedvirtualslot |
Definition at line 244 of file CfgWidget.cpp.
void mars::cfg_manager_gui::CfgWidget::removeParam | ( | const cfg_manager::cfgParamId | _id | ) |
Definition at line 67 of file CfgWidget.cpp.
|
protectedslot |
Definition at line 73 of file CfgWidget.cpp.
|
virtual |
Called every time a property has changed its value.
property | The property with a new value. |
value | The new value. |
Reimplemented from mars::main_gui::PropertyCallback.
Definition at line 194 of file CfgWidget.cpp.
|
private |
Definition at line 80 of file CfgWidget.h.
|
private |
Definition at line 74 of file CfgWidget.h.
|
private |
Definition at line 79 of file CfgWidget.h.
|
private |
Definition at line 75 of file CfgWidget.h.
|
private |
Definition at line 83 of file CfgWidget.h.
|
private |
Definition at line 73 of file CfgWidget.h.
|
private |
Definition at line 72 of file CfgWidget.h.
|
private |
Definition at line 81 of file CfgWidget.h.
main_gui::PropertyDialog* mars::cfg_manager_gui::CfgWidget::pDialog |
Definition at line 69 of file CfgWidget.h.
|
private |
Definition at line 78 of file CfgWidget.h.
|
private |
Definition at line 76 of file CfgWidget.h.