

Public Member Functions | |
| PG_PropertyEditor (PG_Widget *parent, const PG_Rect &rect, const std::string &style="PropertyEditor", int labelWidthPercentage=70) | |
| Creates a PG_PropertyEditor widget. | |
| virtual std::string | GetStyleName (const std::string &widgetName) |
| Returns the style name that the PropertyFields shall use. | |
| void | Reload () |
| Reloads all PropertyFields from their original values and updates the widget. | |
| bool | Valid (bool focus=false) |
| Checks if all PropertyFields contain valid values. | |
| bool | Apply () |
| Writes the PropertyFields' values to their original variables, provided they are valid. | |
| PG_Rect | RegisterProperty (const std::string &name, PG_PropertyEditorField *propertyEditorField, int height=-1) |
| Adds a PropertyField to the widget. | |
| ~PG_PropertyEditor () | |
Classes | |
| class | PG_PropertyEditorField |
| Interface for all the different PropertyFields. More... | |
|
||||||||||||||||||||
|
Creates a PG_PropertyEditor widget.
|
|
|
|
|
|
Writes the PropertyFields' values to their original variables, provided they are valid.
|
|
|
Returns the style name that the PropertyFields shall use.
|
|
||||||||||||||||
|
Adds a PropertyField to the widget. The PropertyEditor will take ownership of the PropertyEditorFields and delete them on its own destruction. |
|
|
Reloads all PropertyFields from their original values and updates the widget.
|
|
|
Checks if all PropertyFields contain valid values.
|
1.4.2