Code::Blocks
SVN r11506
|
#include <editpathdlg.h>
Public Member Functions | |
EditPathDlg (wxWindow *parent, const wxString &path, const wxString &basepath, const wxString &title=_("Edit Path"), const wxString &message=_T(""), const bool wantDir=true, const bool allowMultiSel=false, const wxString &filter=_("All files(*)|*")) | |
~EditPathDlg () override | |
EditPathDlg & | operator= (const EditPathDlg &) |
const wxString & | GetPath () |
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) |
void | OnOther (wxCommandEvent &event) |
Protected Attributes | |
wxString | m_Path |
wxString | m_Message |
wxString | m_Basepath |
wxString | m_Filter |
bool | m_WantDir |
bool | m_AllowMultiSel |
bool | m_AskMakeRelative |
bool | m_ShowCreateDirButton |
Private Member Functions | |
DECLARE_EVENT_TABLE () | |
Definition at line 12 of file editpathdlg.h.
EditPathDlg::EditPathDlg | ( | wxWindow * | parent, |
const wxString & | path, | ||
const wxString & | basepath, | ||
const wxString & | title = _("Edit Path") , |
||
const wxString & | message = _T("") , |
||
const bool | wantDir = true , |
||
const bool | allowMultiSel = false , |
||
const wxString & | filter = _("All files(*)|*") |
||
) |
Definition at line 38 of file editpathdlg.cpp.
References _(), _T, wxXmlResource::Get(), wxXmlResource::LoadObject(), and SetMinSize().
|
override |
Definition at line 73 of file editpathdlg.cpp.
|
private |
|
override |
Definition at line 202 of file editpathdlg.cpp.
References ScriptBindings::EndModal(), and m_Path.
|
inline |
Definition at line 27 of file editpathdlg.h.
References ScriptBindings::EndModal().
Referenced by CompilerOptionsDlg::OnAddExtraPathClick(), CompilerOptionsDlg::OnEditExtraPathClick(), and ScriptBindings::Register_UtilDialogs().
|
protected |
Definition at line 85 of file editpathdlg.cpp.
References _(), cbMessageBox(), ChooseDirectory(), DEFAULT_ARRAY_SEP, wxString::Find(), Manager::Get(), wxArrayString::GetCount(), wxFileName::GetFullName(), wxFileName::GetFullPath(), Manager::GetMacrosManager(), wxFileName::GetPath(), wxFileDialog::GetPath(), wxFileDialog::GetPaths(), GetStringFromArray(), wxString::IsEmpty(), wxArrayString::IsEmpty(), m_AllowMultiSel, m_AskMakeRelative, m_Basepath, m_Filter, m_Message, m_Path, m_ShowCreateDirButton, m_WantDir, wxFileName::MakeAbsolute(), wxFileName::MakeRelativeTo(), PlaceWindow(), wxString::Remove(), wxString::Replace(), MacrosManager::ReplaceEnvVars(), s_LastPath, wxFileDialog::ShowModal(), wxFD_CHANGE_DIR, wxFD_MULTIPLE, wxICON_QUESTION, wxID_OK, wxID_YES, and wxYES_NO.
|
protected |
Definition at line 189 of file editpathdlg.cpp.
References Manager::Get(), Manager::GetUserVariableManager(), UserVariableManager::GetVariable(), wxString::IsEmpty(), and m_WantDir.
|
protected |
Definition at line 78 of file editpathdlg.cpp.
References wxID_OK.
|
inline |
Definition at line 25 of file editpathdlg.h.
|
protected |
Definition at line 40 of file editpathdlg.h.
Referenced by OnBrowse().
|
protected |
Definition at line 41 of file editpathdlg.h.
Referenced by OnBrowse().
|
protected |
Definition at line 37 of file editpathdlg.h.
Referenced by OnBrowse().
|
protected |
Definition at line 38 of file editpathdlg.h.
Referenced by OnBrowse().
|
protected |
Definition at line 36 of file editpathdlg.h.
Referenced by OnBrowse().
|
protected |
Definition at line 35 of file editpathdlg.h.
Referenced by EndModal(), and OnBrowse().
|
protected |
Definition at line 42 of file editpathdlg.h.
Referenced by OnBrowse().
|
protected |
Definition at line 39 of file editpathdlg.h.
Referenced by OnBrowse(), and OnOther().