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

#include <editpathdlg.h>

Inheritance diagram for EditPathDlg:
Collaboration diagram for EditPathDlg:

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
 
EditPathDlgoperator= (const EditPathDlg &)
 
const wxStringGetPath ()
 
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 ()
 

Detailed Description

Definition at line 12 of file editpathdlg.h.

Constructor & Destructor Documentation

◆ EditPathDlg()

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

◆ ~EditPathDlg()

EditPathDlg::~EditPathDlg ( )
override

Definition at line 73 of file editpathdlg.cpp.

Member Function Documentation

◆ DECLARE_EVENT_TABLE()

EditPathDlg::DECLARE_EVENT_TABLE ( )
private

◆ EndModal()

void EditPathDlg::EndModal ( int  retCode)
override

Definition at line 202 of file editpathdlg.cpp.

References ScriptBindings::EndModal(), and m_Path.

◆ GetPath()

const wxString& EditPathDlg::GetPath ( )
inline

◆ OnBrowse()

void EditPathDlg::OnBrowse ( wxCommandEvent event)
protected

◆ OnOther()

void EditPathDlg::OnOther ( wxCommandEvent event)
protected

◆ OnUpdateUI()

void EditPathDlg::OnUpdateUI ( wxUpdateUIEvent event)
protected

Definition at line 78 of file editpathdlg.cpp.

References wxID_OK.

◆ operator=()

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

Definition at line 25 of file editpathdlg.h.

Member Data Documentation

◆ m_AllowMultiSel

bool EditPathDlg::m_AllowMultiSel
protected

Definition at line 40 of file editpathdlg.h.

Referenced by OnBrowse().

◆ m_AskMakeRelative

bool EditPathDlg::m_AskMakeRelative
protected

Definition at line 41 of file editpathdlg.h.

Referenced by OnBrowse().

◆ m_Basepath

wxString EditPathDlg::m_Basepath
protected

Definition at line 37 of file editpathdlg.h.

Referenced by OnBrowse().

◆ m_Filter

wxString EditPathDlg::m_Filter
protected

Definition at line 38 of file editpathdlg.h.

Referenced by OnBrowse().

◆ m_Message

wxString EditPathDlg::m_Message
protected

Definition at line 36 of file editpathdlg.h.

Referenced by OnBrowse().

◆ m_Path

wxString EditPathDlg::m_Path
protected

Definition at line 35 of file editpathdlg.h.

Referenced by EndModal(), and OnBrowse().

◆ m_ShowCreateDirButton

bool EditPathDlg::m_ShowCreateDirButton
protected

Definition at line 42 of file editpathdlg.h.

Referenced by OnBrowse().

◆ m_WantDir

bool EditPathDlg::m_WantDir
protected

Definition at line 39 of file editpathdlg.h.

Referenced by OnBrowse(), and OnOther().


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