#include <pgpropertyfield_integer.h>
Inheritance diagram for PG_PropertyField_Integer< IntegerType >:

Public Types | |
| typedef PG_Signal2< PG_PropertyField_Integer *, IntegerType > | IntegerPropertySignal |
Public Member Functions | |
| PG_PropertyField_Integer (PG_PropertyEditor *propertyEditor, const std::string &name, IntegerType *myInteger) | |
| Creates a PG_PropertyField_Integer. | |
| PG_PropertyField_Integer (PG_PropertyEditor *propertyEditor, const std::string &name, IntegerType myInteger) | |
| Creates a PG_PropertyField_Integer. | |
| void | SetRange (IntegerType min, IntegerType max) |
| virtual bool | CheckValue (IntegerType value) |
| bool | Valid () |
| checks if the entered value is valid | |
| bool | Apply () |
| Write the entered value back into the referenced variable (if it exists), provided the value is valid. | |
| void | Reload () |
| Reloads the entry field with the current value of the referenced variable (if it exists). | |
Public Attributes | |
| IntegerPropertySignal | sigValueChanged |
| IntegerPropertySignal | sigValueApplied |
Protected Member Functions | |
| bool | convert (IntegerType &i) |
| void | set (IntegerType i) |
| bool | EditEnd () |
Definition at line 44 of file pgpropertyfield_integer.h.
|
|||||
|
Definition at line 75 of file pgpropertyfield_integer.h. |
|
||||||||||||||||||||
|
Creates a PG_PropertyField_Integer.
Definition at line 84 of file pgpropertyfield_integer.h. References max(), min(), and PG_PropertyField_Integer< IntegerType >::Reload(). |
|
||||||||||||||||||||
|
Creates a PG_PropertyField_Integer.
Definition at line 95 of file pgpropertyfield_integer.h. References max(), min(), and PG_PropertyField_Integer< IntegerType >::set(). |
|
|||||||||
|
Write the entered value back into the referenced variable (if it exists), provided the value is valid.
Implements PG_PropertyEditor::PG_PropertyEditorField. Definition at line 124 of file pgpropertyfield_integer.h. References PG_PropertyField_Integer< IntegerType >::CheckValue(), PG_PropertyField_Integer< IntegerType >::convert(), and PG_PropertyField_Integer< IntegerType >::sigValueApplied. |
|
||||||||||
|
Definition at line 109 of file pgpropertyfield_integer.h. Referenced by PG_PropertyField_Integer< IntegerType >::Apply(), and PG_PropertyField_Integer< IntegerType >::Valid(). |
|
||||||||||
|
Definition at line 49 of file pgpropertyfield_integer.h. References PG_Widget::GetText(), and PG_PropertyEditor_LineField::lineEdit. Referenced by PG_PropertyField_Integer< IntegerType >::Apply(), PG_PropertyField_Integer< IntegerType >::EditEnd(), and PG_PropertyField_Integer< IntegerType >::Valid(). |
|
|||||||||
|
Implements PG_PropertyEditor_LineField. Definition at line 64 of file pgpropertyfield_integer.h. References PG_PropertyField_Integer< IntegerType >::convert(), and PG_PropertyField_Integer< IntegerType >::sigValueChanged. |
|
|||||||||
|
Reloads the entry field with the current value of the referenced variable (if it exists).
Implements PG_PropertyEditor::PG_PropertyEditorField. Definition at line 140 of file pgpropertyfield_integer.h. References PG_PropertyField_Integer< IntegerType >::set(). Referenced by PG_PropertyField_Integer< IntegerType >::PG_PropertyField_Integer(). |
|
||||||||||
|
Definition at line 58 of file pgpropertyfield_integer.h. References PG_PropertyEditor_LineField::lineEdit, and PG_LineEdit::SetText(). Referenced by PG_PropertyField_Integer< IntegerType >::PG_PropertyField_Integer(), and PG_PropertyField_Integer< IntegerType >::Reload(). |
|
||||||||||||||||
|
Definition at line 102 of file pgpropertyfield_integer.h. Referenced by GameParameterEditorWidget::GameParameterEditorWidget(). |
|
|||||||||
|
checks if the entered value is valid
Implements PG_PropertyEditor::PG_PropertyEditorField. Definition at line 113 of file pgpropertyfield_integer.h. References PG_PropertyField_Integer< IntegerType >::CheckValue(), and PG_PropertyField_Integer< IntegerType >::convert(). |
|
|||||
|
Definition at line 77 of file pgpropertyfield_integer.h. Referenced by PG_PropertyField_Integer< IntegerType >::Apply(). |
|
|||||
|
Definition at line 76 of file pgpropertyfield_integer.h. Referenced by PG_PropertyField_Integer< IntegerType >::EditEnd(). |
1.4.2