Code::Blocks
SVN r11506
|
#include <projectsfilemasksdlg.h>
Public Member Functions | |
ProjectsFileMasksDlg (wxWindow *parent, FilesGroupsAndMasks *fgam) | |
~ProjectsFileMasksDlg () override | |
void | OnUpdateUI (wxUpdateUIEvent &event) |
void | OnAdd (wxCommandEvent &event) |
void | OnEdit (wxCommandEvent &event) |
void | OnDelete (wxCommandEvent &event) |
void | OnSetDefault (wxCommandEvent &event) |
void | OnListChanged (wxCommandEvent &event) |
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 | RebuildList () |
void | ListChange () |
void | EndModal (int retCode) override |
DECLARE_EVENT_TABLE () | |
Private Attributes | |
FilesGroupsAndMasks | m_FileGroupsAndMasksCopy |
FilesGroupsAndMasks * | m_pFileGroupsAndMasks |
int | m_LastListSelection |
Definition at line 12 of file projectsfilemasksdlg.h.
ProjectsFileMasksDlg::ProjectsFileMasksDlg | ( | wxWindow * | parent, |
FilesGroupsAndMasks * | fgam | ||
) |
Definition at line 33 of file projectsfilemasksdlg.cpp.
References _T, wxXmlResource::Get(), and wxXmlResource::LoadObject().
|
override |
Definition at line 44 of file projectsfilemasksdlg.cpp.
|
private |
|
overrideprivate |
Definition at line 137 of file projectsfilemasksdlg.cpp.
References FilesGroupsAndMasks::CopyFrom(), ScriptBindings::EndModal(), FilesGroupsAndMasks::GetFileMasks(), m_FileGroupsAndMasksCopy, m_LastListSelection, m_pFileGroupsAndMasks, FilesGroupsAndMasks::SetFileMasks(), and wxID_OK.
|
private |
Definition at line 63 of file projectsfilemasksdlg.cpp.
References FilesGroupsAndMasks::GetFileMasks(), m_FileGroupsAndMasksCopy, m_LastListSelection, and FilesGroupsAndMasks::SetFileMasks().
Referenced by OnAdd(), OnListChanged(), and RebuildList().
void ProjectsFileMasksDlg::OnAdd | ( | wxCommandEvent & | event | ) |
Definition at line 87 of file projectsfilemasksdlg.cpp.
References _(), FilesGroupsAndMasks::AddGroup(), cbGetTextFromUser(), wxString::IsEmpty(), ListChange(), and m_FileGroupsAndMasksCopy.
void ProjectsFileMasksDlg::OnDelete | ( | wxCommandEvent & | event | ) |
Definition at line 114 of file projectsfilemasksdlg.cpp.
References _(), wxString::c_str(), cbMessageBox(), FilesGroupsAndMasks::DeleteGroup(), m_FileGroupsAndMasksCopy, wxString::Printf(), RebuildList(), wxICON_QUESTION, wxID_NO, wxNO_DEFAULT, and wxYES_NO.
void ProjectsFileMasksDlg::OnEdit | ( | wxCommandEvent & | event | ) |
Definition at line 101 of file projectsfilemasksdlg.cpp.
References _(), cbGetTextFromUser(), wxString::IsEmpty(), m_FileGroupsAndMasksCopy, and FilesGroupsAndMasks::RenameGroup().
void ProjectsFileMasksDlg::OnListChanged | ( | wxCommandEvent & | event | ) |
Definition at line 132 of file projectsfilemasksdlg.cpp.
References ListChange().
void ProjectsFileMasksDlg::OnSetDefault | ( | wxCommandEvent & | event | ) |
Definition at line 126 of file projectsfilemasksdlg.cpp.
References m_FileGroupsAndMasksCopy, RebuildList(), and FilesGroupsAndMasks::SetDefault().
void ProjectsFileMasksDlg::OnUpdateUI | ( | wxUpdateUIEvent & | event | ) |
Definition at line 79 of file projectsfilemasksdlg.cpp.
|
private |
Definition at line 49 of file projectsfilemasksdlg.cpp.
References FilesGroupsAndMasks::GetGroupName(), FilesGroupsAndMasks::GetGroupsCount(), ListChange(), m_FileGroupsAndMasksCopy, and m_LastListSelection.
Referenced by OnDelete(), and OnSetDefault().
|
private |
Definition at line 31 of file projectsfilemasksdlg.h.
Referenced by EndModal(), ListChange(), OnAdd(), OnDelete(), OnEdit(), OnSetDefault(), and RebuildList().
|
private |
Definition at line 33 of file projectsfilemasksdlg.h.
Referenced by EndModal(), ListChange(), and RebuildList().
|
private |
Definition at line 32 of file projectsfilemasksdlg.h.
Referenced by EndModal().