|
wxPropertyGrid
|
Public Member Functions | |
| virtual wxPGWindowList | CreateControls (wxPropertyGrid *propgrid, wxPGProperty *property, const wxPoint &pos, const wxSize &sz) const |
| Instantiates editor controls. | |
| virtual void | DrawValue (wxDC &dc, const wxRect &rect, wxPGProperty *property, const wxString &text) const |
| Used to get the renderer to draw the value with when the control is hidden. | |
| virtual bool | GetValueFromControl (wxVariant &variant, wxPGProperty *property, wxWindow *ctrl) const |
| Returns value from control, via parameter 'variant'. | |
| virtual bool | OnEvent (wxPropertyGrid *propgrid, wxPGProperty *property, wxWindow *primary, wxEvent &event) const |
| Handles events. | |
| virtual void | SetControlIntValue (wxPGProperty *property, wxWindow *ctrl, int value) const |
| Sets control's value specifically from int (applies to choice etc.). | |
| virtual void | SetValueToUnspecified (wxPGProperty *property, wxWindow *ctrl) const |
| Sets value in control to unspecified. | |
| virtual void | UpdateControl (wxPGProperty *property, wxWindow *ctrl) const |
| Loads value from property to the control. | |
| virtual wxPGWindowList wxPGCheckBoxEditor::CreateControls | ( | wxPropertyGrid * | propgrid, |
| wxPGProperty * | property, | ||
| const wxPoint & | pos, | ||
| const wxSize & | size | ||
| ) | const [virtual] |
Instantiates editor controls.
| propgrid | wxPropertyGrid to which the property belongs (use as parent for control). |
| property | Property for which this method is called. |
| pos | Position, inside wxPropertyGrid, to create control(s) to. |
| size | Initial size for control(s). |
Implements wxPGEditor.
| virtual void wxPGCheckBoxEditor::DrawValue | ( | wxDC & | dc, |
| const wxRect & | rect, | ||
| wxPGProperty * | property, | ||
| const wxString & | text | ||
| ) | const [virtual] |
Used to get the renderer to draw the value with when the control is hidden.
Default implementation returns g_wxPGDefaultRenderer. Draws value for given property.
Reimplemented from wxPGEditor.
| virtual bool wxPGCheckBoxEditor::GetValueFromControl | ( | wxVariant & | variant, |
| wxPGProperty * | property, | ||
| wxWindow * | ctrl | ||
| ) | const [virtual] |
Returns value from control, via parameter 'variant'.
Usually ends up calling property's StringToValue or IntToValue. Returns true if value was different.
Reimplemented from wxPGEditor.
| virtual bool wxPGCheckBoxEditor::OnEvent | ( | wxPropertyGrid * | propgrid, |
| wxPGProperty * | property, | ||
| wxWindow * | wnd_primary, | ||
| wxEvent & | event | ||
| ) | const [virtual] |
Handles events.
Returns true if value in control was modified (see wxPGProperty::OnEvent for more information).
Implements wxPGEditor.
| virtual void wxPGCheckBoxEditor::SetControlIntValue | ( | wxPGProperty * | property, |
| wxWindow * | ctrl, | ||
| int | value | ||
| ) | const [virtual] |
Sets control's value specifically from int (applies to choice etc.).
Reimplemented from wxPGEditor.
| virtual void wxPGCheckBoxEditor::SetValueToUnspecified | ( | wxPGProperty * | property, |
| wxWindow * | ctrl | ||
| ) | const [virtual] |
Sets value in control to unspecified.
Implements wxPGEditor.
| virtual void wxPGCheckBoxEditor::UpdateControl | ( | wxPGProperty * | property, |
| wxWindow * | ctrl | ||
| ) | const [virtual] |
Loads value from property to the control.
Implements wxPGEditor.
1.7.6.1