wxPGEditorDialogAdapter Class Reference

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...

#include <editors.h>

Inheritance diagram for wxPGEditorDialogAdapter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool DoShowDialog (wxPropertyGrid *propGrid, wxPGProperty *property)=0
wxVariant & GetValue ()
void SetValue (wxVariant value)
bool ShowDialog (wxPropertyGrid *propGrid, wxPGProperty *property)
 wxPGEditorDialogAdapter ()
virtual ~wxPGEditorDialogAdapter ()

Private Attributes

wxVariant m_value

Detailed Description

Derive a class from this to adapt an existing editor dialog or function to be used when editor button of a property is pushed.

You only need to derive class and implement DoShowDialog() to create and show the dialog, and finally submit the value returned by the dialog via SetValue().

Definition at line 396 of file editors.h.


Constructor & Destructor Documentation

wxPGEditorDialogAdapter::wxPGEditorDialogAdapter (  )  [inline]

Definition at line 402 of file editors.h.

virtual wxPGEditorDialogAdapter::~wxPGEditorDialogAdapter (  )  [inline, virtual]

Definition at line 410 of file editors.h.


Member Function Documentation

virtual bool wxPGEditorDialogAdapter::DoShowDialog ( wxPropertyGrid propGrid,
wxPGProperty property 
) [pure virtual]
wxVariant& wxPGEditorDialogAdapter::GetValue (  )  [inline]

This method is typically only used if deriving class from existing adapter with value conversion purposes.

Definition at line 424 of file editors.h.

void wxPGEditorDialogAdapter::SetValue ( wxVariant  value  )  [inline]

Definition at line 416 of file editors.h.

bool wxPGEditorDialogAdapter::ShowDialog ( wxPropertyGrid propGrid,
wxPGProperty property 
)

Member Data Documentation

wxVariant wxPGEditorDialogAdapter::m_value [private]

Definition at line 436 of file editors.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


wxpropgrid
Author(s): Jaakko Salli
autogenerated on Fri Jan 11 11:37:53 2013