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

Introduced for Windows compatibility. More...

#include <PropertyCallback.h>

Public Member Functions

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...
 

Detailed Description

Introduced for Windows compatibility.

Calls a PropertyDialog instance associated with it.

Definition at line 38 of file PropertyCallback.h.

Constructor & Destructor Documentation

◆ ~PropertyCallback()

virtual mars::main_gui::PropertyCallback::~PropertyCallback ( )
inlinevirtual

Destructor.

Definition at line 44 of file PropertyCallback.h.

Member Function Documentation

◆ accept()

virtual void mars::main_gui::PropertyCallback::accept ( )
inlinevirtual

Associated with the OK button of the Property Dialog.

Definition at line 67 of file PropertyCallback.h.

◆ reject()

virtual void mars::main_gui::PropertyCallback::reject ( )
inlinevirtual

Associated with the Cancel button of the Property Dialog.

Definition at line 72 of file PropertyCallback.h.

◆ topLevelItemChanged()

virtual void mars::main_gui::PropertyCallback::topLevelItemChanged ( QtProperty *  current)
inlinevirtual

Called every time another branch of a QtTreePropertyBrowser has been selected.

Parameters
currentThe current top level item that is selected.

Reimplemented in mars::gui::DialogControllers.

Definition at line 60 of file PropertyCallback.h.

◆ valueChanged()

virtual void mars::main_gui::PropertyCallback::valueChanged ( QtProperty *  property,
const QVariant &  value 
)
inlinevirtual

Called every time a property has changed its value.

Parameters
propertyThe property with a new value.
valueThe new value.

Reimplemented in mars::data_broker_gui::DataWidget, mars::cfg_manager_gui::CfgWidget, mars::gui::DialogControllers, and mars::config_map_gui::DataWidget.

Definition at line 51 of file PropertyCallback.h.


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