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

#include <projectoptionsdlg.h>

Inheritance diagram for ProjectOptionsDlg:
Collaboration diagram for ProjectOptionsDlg:

Public Member Functions

 ProjectOptionsDlg (wxWindow *parent, cbProject *project)
 
 ~ProjectOptionsDlg ()
 
void EndModal (int retCode)
 
void OnFileOptionsClick (wxCommandEvent &event)
 
void OnFileToggleMarkClick (wxCommandEvent &event)
 
void OnFileMarkOnClick (wxCommandEvent &event)
 
void OnFileMarkOffClick (wxCommandEvent &event)
 
void OnProjectTypeChanged (wxCommandEvent &event)
 
void OnBuildTargetChanged (wxCommandEvent &event)
 
void OnAddBuildTargetClick (wxCommandEvent &event)
 
void OnEditBuildTargetClick (wxCommandEvent &event)
 
void OnCopyBuildTargetClick (wxCommandEvent &event)
 
void OnRemoveBuildTargetClick (wxCommandEvent &event)
 
void OnBrowseOutputFilenameClick (wxCommandEvent &event)
 
void OnBrowseImportLibraryFilenameClick (wxCommandEvent &event)
 
void OnBrowseDefinitionFileFilenameClick (wxCommandEvent &event)
 
void OnBrowseDirClick (wxCommandEvent &event)
 
void OnVirtualTargets (wxCommandEvent &event)
 
void OnEditDepsClick (wxCommandEvent &event)
 
void OnExportTargetClick (wxCommandEvent &event)
 
void OnBuildOrderClick (wxCommandEvent &event)
 
void OnProjectBuildOptionsClick (wxCommandEvent &event)
 
void OnProjectDepsClick (wxCommandEvent &event)
 
void OnTargetBuildOptionsClick (wxCommandEvent &event)
 
void OnPlatform (wxCommandEvent &event)
 
void OnUpdateUI (wxUpdateUIEvent &event)
 
void OnOK (wxCommandEvent &event)
 
void OnCreateDefFileClick (wxCommandEvent &event)
 
void OnCreateImportFileClick (wxCommandEvent &event)
 
void OnKeyDown (wxKeyEvent &event)
 
void OnScriptsOverviewSelChanged (wxTreeEvent &event)
 
void OnCheckScripts (wxCommandEvent &event)
 
void OnAddScript (wxCommandEvent &event)
 
void OnRemoveScript (wxCommandEvent &event)
 
void OnScriptMoveUp (wxSpinEvent &event)
 
void OnScriptMoveDown (wxSpinEvent &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 BuildScriptsTree ()
 
void AddPluginPanels ()
 
void FillScripts ()
 
void FillBuildTargets ()
 
void DoTargetChange (bool saveOld=true)
 
void DoBeforeTargetChange (bool force=false)
 
bool DoCheckScripts (CompileTargetBase *base)
 
bool IsScriptValid (ProjectBuildTarget *target, const wxString &script)
 
bool ValidateTargetName (const wxString &name)
 
void UpdateTargetControls ()
 

Private Attributes

cbProjectm_Project
 
int m_Current_Sel
 
cbCompilerPluginm_pCompiler
 
ConfigurationPanelsArray m_PluginPanels
 

Detailed Description

Definition at line 20 of file projectoptionsdlg.h.

Constructor & Destructor Documentation

◆ ProjectOptionsDlg()

ProjectOptionsDlg::ProjectOptionsDlg ( wxWindow parent,
cbProject project 
)

◆ ~ProjectOptionsDlg()

ProjectOptionsDlg::~ProjectOptionsDlg ( )

Definition at line 160 of file projectoptionsdlg.cpp.

References OnKeyDown(), and wxEVT_KEY_DOWN.

Member Function Documentation

◆ AddPluginPanels()

void ProjectOptionsDlg::AddPluginPanels ( )
private

◆ BuildScriptsTree()

void ProjectOptionsDlg::BuildScriptsTree ( )
private

◆ DoBeforeTargetChange()

void ProjectOptionsDlg::DoBeforeTargetChange ( bool  force = false)
private

◆ DoCheckScripts()

bool ProjectOptionsDlg::DoCheckScripts ( CompileTargetBase base)
private

◆ DoTargetChange()

void ProjectOptionsDlg::DoTargetChange ( bool  saveOld = true)
private

◆ EndModal()

void ProjectOptionsDlg::EndModal ( int  retCode)

◆ FillBuildTargets()

void ProjectOptionsDlg::FillBuildTargets ( )
private

◆ FillScripts()

void ProjectOptionsDlg::FillScripts ( )
private

◆ IsScriptValid()

bool ProjectOptionsDlg::IsScriptValid ( ProjectBuildTarget target,
const wxString script 
)
private

◆ OnAddBuildTargetClick()

void ProjectOptionsDlg::OnAddBuildTargetClick ( wxCommandEvent event)

◆ OnAddScript()

void ProjectOptionsDlg::OnAddScript ( wxCommandEvent event)

◆ OnBrowseDefinitionFileFilenameClick()

void ProjectOptionsDlg::OnBrowseDefinitionFileFilenameClick ( wxCommandEvent event)

◆ OnBrowseDirClick()

void ProjectOptionsDlg::OnBrowseDirClick ( wxCommandEvent event)

◆ OnBrowseImportLibraryFilenameClick()

void ProjectOptionsDlg::OnBrowseImportLibraryFilenameClick ( wxCommandEvent event)

◆ OnBrowseOutputFilenameClick()

void ProjectOptionsDlg::OnBrowseOutputFilenameClick ( wxCommandEvent event)

◆ OnBuildOrderClick()

void ProjectOptionsDlg::OnBuildOrderClick ( wxCommandEvent event)

◆ OnBuildTargetChanged()

void ProjectOptionsDlg::OnBuildTargetChanged ( wxCommandEvent event)

◆ OnCheckScripts()

void ProjectOptionsDlg::OnCheckScripts ( wxCommandEvent event)

◆ OnCopyBuildTargetClick()

void ProjectOptionsDlg::OnCopyBuildTargetClick ( wxCommandEvent event)

◆ OnCreateDefFileClick()

void ProjectOptionsDlg::OnCreateDefFileClick ( wxCommandEvent event)

◆ OnCreateImportFileClick()

void ProjectOptionsDlg::OnCreateImportFileClick ( wxCommandEvent event)

◆ OnEditBuildTargetClick()

void ProjectOptionsDlg::OnEditBuildTargetClick ( wxCommandEvent event)

◆ OnEditDepsClick()

void ProjectOptionsDlg::OnEditDepsClick ( wxCommandEvent event)

◆ OnExportTargetClick()

void ProjectOptionsDlg::OnExportTargetClick ( wxCommandEvent event)

◆ OnFileMarkOffClick()

void ProjectOptionsDlg::OnFileMarkOffClick ( wxCommandEvent event)

◆ OnFileMarkOnClick()

void ProjectOptionsDlg::OnFileMarkOnClick ( wxCommandEvent event)

◆ OnFileOptionsClick()

void ProjectOptionsDlg::OnFileOptionsClick ( wxCommandEvent event)

◆ OnFileToggleMarkClick()

void ProjectOptionsDlg::OnFileToggleMarkClick ( wxCommandEvent event)

◆ OnKeyDown()

void ProjectOptionsDlg::OnKeyDown ( wxKeyEvent event)

◆ OnOK()

void ProjectOptionsDlg::OnOK ( wxCommandEvent event)

Definition at line 1244 of file projectoptionsdlg.cpp.

References _(), cbMessageBox(), wxCENTRE, wxICON_ERROR, and wxOK.

◆ OnPlatform()

void ProjectOptionsDlg::OnPlatform ( wxCommandEvent event)

◆ OnProjectBuildOptionsClick()

void ProjectOptionsDlg::OnProjectBuildOptionsClick ( wxCommandEvent event)

Definition at line 610 of file projectoptionsdlg.cpp.

References cbCompilerPlugin::Configure(), m_pCompiler, and m_Project.

◆ OnProjectDepsClick()

void ProjectOptionsDlg::OnProjectDepsClick ( wxCommandEvent event)

◆ OnProjectTypeChanged()

void ProjectOptionsDlg::OnProjectTypeChanged ( wxCommandEvent event)

◆ OnRemoveBuildTargetClick()

void ProjectOptionsDlg::OnRemoveBuildTargetClick ( wxCommandEvent event)

◆ OnRemoveScript()

void ProjectOptionsDlg::OnRemoveScript ( wxCommandEvent event)

◆ OnScriptMoveDown()

void ProjectOptionsDlg::OnScriptMoveDown ( wxSpinEvent event)

◆ OnScriptMoveUp()

void ProjectOptionsDlg::OnScriptMoveUp ( wxSpinEvent event)

◆ OnScriptsOverviewSelChanged()

void ProjectOptionsDlg::OnScriptsOverviewSelChanged ( wxTreeEvent event)

Definition at line 959 of file projectoptionsdlg.cpp.

References FillScripts().

◆ OnTargetBuildOptionsClick()

void ProjectOptionsDlg::OnTargetBuildOptionsClick ( wxCommandEvent event)

◆ OnUpdateUI()

void ProjectOptionsDlg::OnUpdateUI ( wxUpdateUIEvent event)

◆ OnVirtualTargets()

void ProjectOptionsDlg::OnVirtualTargets ( wxCommandEvent event)

Definition at line 751 of file projectoptionsdlg.cpp.

References m_Project, and wxDialog::ShowModal().

◆ UpdateTargetControls()

void ProjectOptionsDlg::UpdateTargetControls ( )
private

◆ ValidateTargetName()

bool ProjectOptionsDlg::ValidateTargetName ( const wxString name)
private

Member Data Documentation

◆ m_Current_Sel

int ProjectOptionsDlg::m_Current_Sel
private

◆ m_pCompiler

cbCompilerPlugin* ProjectOptionsDlg::m_pCompiler
private

◆ m_PluginPanels

ConfigurationPanelsArray ProjectOptionsDlg::m_PluginPanels
private

Definition at line 78 of file projectoptionsdlg.h.

Referenced by AddPluginPanels(), and EndModal().

◆ m_Project

cbProject* ProjectOptionsDlg::m_Project
private

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