editors.h File Reference

This graph shows which files directly or indirectly include this file:

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 Documentation

#define WX_PG_DECLARE_EDITOR_CLASS ( CLASSNAME   ) 
Value:
DECLARE_DYNAMIC_CLASS(CLASSNAME) \
public: \
    virtual wxPG_CONST_WXCHAR_PTR GetName() const; \
private:

Definition at line 202 of file editors.h.

#define WX_PG_IMPLEMENT_EDITOR_CLASS ( EDITOR,
CLASSNAME,
BASECLASS   ) 
Value:
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(); \
}

Definition at line 209 of file editors.h.

 
#define WX_PG_IMPLEMENT_EDITOR_CLASS_STD_METHODS (  ) 
Value:
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;

Definition at line 223 of file editors.h.

#define wxPG_DECLARE_CREATECONTROLS
Value:
virtual wxPGWindowList CreateControls( wxPropertyGrid* propgrid, wxPGProperty* property, \
        const wxPoint& pos, const wxSize& sz ) const;

Definition at line 107 of file editors.h.

#define wxPG_INIT_REQUIRED_EDITOR (  )     wxPGRegisterEditorClass(T)

Definition at line 387 of file editors.h.

#define wxPGRegisterDefaultEditorClass ( EDITOR   ) 
Value:
if ( wxPGEditor_##EDITOR == (wxPGEditor*) NULL ) \
    { \
        wxPGEditor_##EDITOR = wxPropertyGrid::RegisterEditorClass( wxPGConstruct##EDITOR##EditorClass(), wxT(#EDITOR), true ); \
    }

Definition at line 381 of file editors.h.

#define wxPGRegisterEditorClass ( EDITOR   ) 
Value:
if ( wxPGEditor_##EDITOR == (wxPGEditor*) NULL ) \
    { \
        wxPGEditor_##EDITOR = wxPropertyGrid::RegisterEditorClass( wxPGConstruct##EDITOR##EditorClass(), wxT(#EDITOR) ); \
    }

Definition at line 374 of file editors.h.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


wxpropgrid
Author(s): Jaakko Salli
autogenerated on Fri Jan 11 09:34:05 2013