ButtonProperty Class Reference
Inheritance diagram for ButtonProperty:
Public Member Functions | |
| ButtonProperty (const std::string &id, const std::string &guiText, Processor::InvalidationLevel invalidationLevel=Processor::VALID) | |
| PropertyWidget * | createWidget (PropertyWidgetFactory *f) |
| Creates a Widget for this Property, but Does NOT add it to the Property. | |
| void | onChange (const Action &action=NoAction()) |
| void | onClick (const Action &action) |
| Convenience function delegating calls to onChange(). | |
| void | clicked () |
Protected Attributes | |
| std::vector< Action * > | actions_ |
Detailed Description
Definition at line 36 of file buttonproperty.h.
Member Function Documentation
| PropertyWidget * createWidget | ( | PropertyWidgetFactory * | f | ) | [virtual] |
Creates a Widget for this Property, but Does NOT add it to the Property.
The given PropertyWidgetFactory will actually build the Widget.
Reimplemented from Property.
Definition at line 45 of file buttonproperty.cpp.