
Go to the source code of this file.
Classes | |
| class | wxPGChoiceAndButtonEditor |
| class | wxPGChoiceEditor |
| class | wxPGComboBoxEditor |
| class | wxPGEditor |
| Base for property editor classes. More... | |
| class | wxPGEditorDialogAdapter |
| Derive a class from this to adapt an existing editor dialog or function to be used when editor button of a property is pushed. More... | |
| class | wxPGMultiButton |
| This class can be used to have multiple buttons in a property editor. You will need to create a new property editor class, override CreateControls, and have it return wxPGMultiButton instance in wxPGWindowList::SetSecondary(). For instance, here we add three buttons to a textctrl editor: More... | |
| class | wxPGTextCtrlAndButtonEditor |
| class | wxPGTextCtrlEditor |
| class | wxPGWindowList |
Defines | |
| #define | WX_PG_DECLARE_EDITOR_CLASS(CLASSNAME) |
| #define | WX_PG_IMPLEMENT_EDITOR_CLASS(EDITOR, CLASSNAME, BASECLASS) |
| #define | WX_PG_IMPLEMENT_EDITOR_CLASS_STD_METHODS() |
| #define | wxPG_DECLARE_CREATECONTROLS |
| #define | wxPG_INIT_REQUIRED_EDITOR(T) wxPGRegisterEditorClass(T) |
| #define | wxPGRegisterDefaultEditorClass(EDITOR) |
| #define | wxPGRegisterEditorClass(EDITOR) |
| #define WX_PG_DECLARE_EDITOR_CLASS | ( | CLASSNAME | ) |
DECLARE_DYNAMIC_CLASS(CLASSNAME) \ public: \ virtual wxPG_CONST_WXCHAR_PTR GetName() const; \ private:
| #define WX_PG_IMPLEMENT_EDITOR_CLASS | ( | EDITOR, | |||
| CLASSNAME, | |||||
| BASECLASS | ) |
IMPLEMENT_DYNAMIC_CLASS(CLASSNAME, BASECLASS) \ wxPG_CONST_WXCHAR_PTR CLASSNAME::GetName() const \ { \ return wxT(#EDITOR); \ } \ wxPGEditor* wxPGEditor_##EDITOR = (wxPGEditor*) NULL; \ wxPGEditor* wxPGConstruct##EDITOR##EditorClass() \ { \ wxASSERT( !wxPGEditor_##EDITOR ); \ return new CLASSNAME(); \ }
| #define WX_PG_IMPLEMENT_EDITOR_CLASS_STD_METHODS | ( | ) |
wxPG_DECLARE_CREATECONTROLS \ virtual void UpdateControl( wxPGProperty* property, wxWindow* ctrl ) const; \ virtual bool OnEvent( wxPropertyGrid* propgrid, wxPGProperty* property, \ wxWindow* primary, wxEvent& event ) const; \ virtual bool GetValueFromControl( wxVariant& variant, wxPGProperty* property, wxWindow* ctrl ) const; \ virtual void SetValueToUnspecified( wxPGProperty* property, wxWindow* ctrl ) const;
| #define wxPG_DECLARE_CREATECONTROLS |
virtual wxPGWindowList CreateControls( wxPropertyGrid* propgrid, wxPGProperty* property, \ const wxPoint& pos, const wxSize& sz ) const;
| #define wxPG_INIT_REQUIRED_EDITOR | ( | T | ) | wxPGRegisterEditorClass(T) |
| #define wxPGRegisterDefaultEditorClass | ( | EDITOR | ) |
if ( wxPGEditor_##EDITOR == (wxPGEditor*) NULL ) \ { \ wxPGEditor_##EDITOR = wxPropertyGrid::RegisterEditorClass( wxPGConstruct##EDITOR##EditorClass(), wxT(#EDITOR), true ); \ }
| #define wxPGRegisterEditorClass | ( | EDITOR | ) |
if ( wxPGEditor_##EDITOR == (wxPGEditor*) NULL ) \ { \ wxPGEditor_##EDITOR = wxPropertyGrid::RegisterEditorClass( wxPGConstruct##EDITOR##EditorClass(), wxT(#EDITOR) ); \ }