wxPropertyGrid
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
wxArrayEditorDialog Class Referenceabstract
Inheritance diagram for wxArrayEditorDialog:
wxPGArrayStringEditorDialog

Public Member Functions

bool Create (wxWindow *parent, const wxString &message, const wxString &caption, long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxOK|wxCANCEL|wxCENTRE), const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize)
 
virtual wxVariant GetDialogValue () const
 Return value modified by dialog.
 
virtual wxValidator * GetTextCtrlValidator () const
 Override to return wxValidator to be used with the wxTextCtrl in dialog. More...
 
void Init ()
 
bool IsModified () const
 
void OnAddClick (wxCommandEvent &event)
 
void OnDeleteClick (wxCommandEvent &event)
 
void OnDownClick (wxCommandEvent &event)
 
void OnIdle (wxIdleEvent &event)
 
void OnListBoxClick (wxCommandEvent &event)
 
void OnUpClick (wxCommandEvent &event)
 
void OnUpdateClick (wxCommandEvent &event)
 
virtual void SetDialogValue (const wxVariant &WXUNUSED(value))
 Set value modified by dialog.
 
 wxArrayEditorDialog (wxWindow *parent, const wxString &message, const wxString &caption, long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxOK|wxCANCEL|wxCENTRE), const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize)
 

Protected Member Functions

virtual wxString ArrayGet (size_t index)=0
 
virtual size_t ArrayGetCount ()=0
 
virtual bool ArrayInsert (const wxString &str, int index)=0
 
virtual void ArrayRemoveAt (int index)=0
 
virtual bool ArraySet (size_t index, const wxString &str)=0
 
virtual void ArraySwap (size_t first, size_t second)=0
 

Protected Attributes

wxButton * m_butAdd
 
wxButton * m_butCustom
 
wxButton * m_butDown
 
wxButton * m_butRemove
 
wxButton * m_butUp
 
wxButton * m_butUpdate
 
unsigned char m_curFocus
 
const wxChar * m_custBtText
 
wxTextCtrl * m_edValue
 
wxListBox * m_lbStrings
 
bool m_modified
 

Member Function Documentation

◆ GetTextCtrlValidator()

virtual wxValidator* wxArrayEditorDialog::GetTextCtrlValidator ( ) const
virtual

Override to return wxValidator to be used with the wxTextCtrl in dialog.

Note that the validator is used in the standard wx way, ie. it immediately prevents user from entering invalid input.

Remarks
Dialog frees the validator.

The documentation for this class was generated from the following file: