Code::Blocks
SVN r11506
|
#include <selecttargetdlg.h>
Public Member Functions | |
SelectTargetDlg (wxWindow *parent, cbProject *project, int selected=0) | |
~SelectTargetDlg () override | |
void | EndModal (int retCode) override |
int | GetSelection () const |
ProjectBuildTarget * | GetSelectionTarget () |
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 () |
Private Member Functions | |
void | OnListboxSelection (wxCommandEvent &event) |
void | OnListboxDClick (wxCommandEvent &event) |
void | OnHostApplicationButtonClick (wxCommandEvent &event) |
void | UpdateSelected () |
Private Attributes | |
cbProject * | m_pProject |
wxListBox * | m_List |
int | m_Selected |
int | m_LastSelected |
Definition at line 15 of file selecttargetdlg.h.
Definition at line 72 of file selecttargetdlg.cpp.
References _T, cbAssert, wxXmlResource::Get(), CompileTargetBase::GetExecutionParameters(), CompileTargetBase::GetHostApplication(), CompileTargetBase::GetRunHostApplicationInTerminal(), CompileTargetBase::GetTitle(), wxXmlResource::LoadObject(), and TargetListData::TargetListData().
|
override |
Definition at line 108 of file selecttargetdlg.cpp.
|
override |
Definition at line 195 of file selecttargetdlg.cpp.
References ScriptBindings::EndModal(), CompileTargetBase::SetExecutionParameters(), CompileTargetBase::SetHostApplication(), CompileTargetBase::SetRunHostApplicationInTerminal(), and wxID_OK.
|
inline |
Definition at line 22 of file selecttargetdlg.h.
References GetSelectionTarget(), m_Selected, OnHostApplicationButtonClick(), OnListboxDClick(), OnListboxSelection(), and UpdateSelected().
Referenced by cbProject::SelectTarget().
ProjectBuildTarget * SelectTargetDlg::GetSelectionTarget | ( | ) |
Definition at line 149 of file selecttargetdlg.cpp.
Referenced by GetSelection().
|
private |
Definition at line 166 of file selecttargetdlg.cpp.
References _(), _T, wxFileName::MakeRelativeTo(), PlaceWindow(), wxFileDialog::SetFilterIndex(), wxFD_FILE_MUST_EXIST, wxFD_OPEN, and wxID_OK.
Referenced by GetSelection().
|
private |
Definition at line 161 of file selecttargetdlg.cpp.
References ScriptBindings::EndModal(), and wxID_OK.
Referenced by GetSelection().
|
private |
Definition at line 156 of file selecttargetdlg.cpp.
Referenced by GetSelection().
|
private |
Definition at line 113 of file selecttargetdlg.cpp.
References wxCheckBox::GetValue(), TargetListData::SetDefaultExecTarget(), TargetListData::SetExecParameters(), wxCheckBox::SetValue(), and wxNOT_FOUND.
Referenced by GetSelection().
|
private |
Definition at line 33 of file selecttargetdlg.h.
|
private |
Definition at line 31 of file selecttargetdlg.h.
|
private |
Definition at line 30 of file selecttargetdlg.h.
|
private |
Definition at line 32 of file selecttargetdlg.h.
Referenced by GetSelection().