Code::Blocks
SVN r11506
|
#include <editpairdlg.h>
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 | |
EditPairDlg & | operator= (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 | |
wxString & | m_Key |
wxString & | m_Value |
BrowseMode | m_BrowseMode |
Definition at line 12 of file editpairdlg.h.
Enumerator | |
---|---|
bmDisable | |
bmBrowseForFile | |
bmBrowseForDirectory |
Definition at line 15 of file editpairdlg.h.
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().
|
override |
Definition at line 45 of file editpairdlg.cpp.
|
override |
Definition at line 93 of file editpairdlg.cpp.
References ScriptBindings::EndModal(), m_Key, m_Value, and wxID_OK.
|
protected |
Definition at line 59 of file editpairdlg.cpp.
References _(), _T, bmBrowseForDirectory, bmBrowseForFile, bmDisable, ChooseDirectory(), FileFilters::GetFilterAll(), wxFileDialog::GetPath(), wxString::IsEmpty(), m_BrowseMode, PlaceWindow(), wxFileDialog::ShowModal(), wxFD_OPEN, and wxID_OK.
|
protected |
Definition at line 50 of file editpairdlg.cpp.
References wxString::IsEmpty(), wxRegEx::Matches(), and reKey.
|
inline |
Definition at line 24 of file editpairdlg.h.
References ScriptBindings::EndModal().
|
protected |
Definition at line 32 of file editpairdlg.h.
Referenced by OnBrowse().
|
protected |
Definition at line 30 of file editpairdlg.h.
Referenced by EndModal().
|
protected |
Definition at line 31 of file editpairdlg.h.
Referenced by EndModal().