Code::Blocks  SVN r11506
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EditPairDlg Class Reference

#include <editpairdlg.h>

Inheritance diagram for EditPairDlg:
Collaboration diagram for EditPairDlg:

Public Types

enum  BrowseMode { bmDisable = 0, bmBrowseForFile, bmBrowseForDirectory }
 

Public Member Functions

 EditPairDlg (wxWindow *parent, wxString &key, wxString &value, const wxString &title=_("Edit pair"), BrowseMode allowBrowse=bmDisable)
 
 ~EditPairDlg () override
 
EditPairDlgoperator= (const EditPairDlg &)
 
void EndModal (int retCode) override
 
- Public Member Functions inherited from wxScrollingDialog
 wxScrollingDialog ()
 
 wxScrollingDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=_("dialogBox"))
 
- Public Member Functions inherited from wxDialog
virtual int ShowModal ()
 

Protected Member Functions

void OnUpdateUI (wxUpdateUIEvent &event)
 
void OnBrowse (wxCommandEvent &event)
 

Protected Attributes

wxStringm_Key
 
wxStringm_Value
 
BrowseMode m_BrowseMode
 

Detailed Description

Definition at line 12 of file editpairdlg.h.

Member Enumeration Documentation

◆ BrowseMode

Enumerator
bmDisable 
bmBrowseForFile 
bmBrowseForDirectory 

Definition at line 15 of file editpairdlg.h.

Constructor & Destructor Documentation

◆ EditPairDlg()

EditPairDlg::EditPairDlg ( wxWindow parent,
wxString key,
wxString value,
const wxString title = _("Edit pair"),
BrowseMode  allowBrowse = bmDisable 
)

Definition at line 31 of file editpairdlg.cpp.

References _T, wxXmlResource::Get(), and wxXmlResource::LoadObject().

◆ ~EditPairDlg()

EditPairDlg::~EditPairDlg ( )
override

Definition at line 45 of file editpairdlg.cpp.

Member Function Documentation

◆ EndModal()

void EditPairDlg::EndModal ( int  retCode)
override

Definition at line 93 of file editpairdlg.cpp.

References ScriptBindings::EndModal(), m_Key, m_Value, and wxID_OK.

◆ OnBrowse()

void EditPairDlg::OnBrowse ( wxCommandEvent event)
protected

◆ OnUpdateUI()

void EditPairDlg::OnUpdateUI ( wxUpdateUIEvent event)
protected

Definition at line 50 of file editpairdlg.cpp.

References wxString::IsEmpty(), wxRegEx::Matches(), and reKey.

◆ operator=()

EditPairDlg& EditPairDlg::operator= ( const EditPairDlg )
inline

Definition at line 24 of file editpairdlg.h.

References ScriptBindings::EndModal().

Member Data Documentation

◆ m_BrowseMode

BrowseMode EditPairDlg::m_BrowseMode
protected

Definition at line 32 of file editpairdlg.h.

Referenced by OnBrowse().

◆ m_Key

wxString& EditPairDlg::m_Key
protected

Definition at line 30 of file editpairdlg.h.

Referenced by EndModal().

◆ m_Value

wxString& EditPairDlg::m_Value
protected

Definition at line 31 of file editpairdlg.h.

Referenced by EndModal().


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