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

#include <ccoptionsdlg.h>

Inheritance diagram for CCOptionsDlg:
Collaboration diagram for CCOptionsDlg:

Public Member Functions

 CCOptionsDlg (wxWindow *parent, NativeParser *np, CodeCompletion *cc, DocumentationHelper *dh)
 
virtual ~CCOptionsDlg ()
 
virtual wxString GetTitle () const
 
virtual wxString GetBitmapBaseName () const
 
virtual void OnApply ()
 Called when the user chooses to apply the configuration. More...
 
virtual void OnCancel ()
 Called when the user chooses to cancel the configuration. More...
 
- Public Member Functions inherited from cbConfigurationPanel
 cbConfigurationPanel ()
 
 ~cbConfigurationPanel () override
 
void SetParentDialog (wxWindow *dialog)
 Sets the panel's parent dialog. More...
 
wxWindowSetParentDialog ()
 Gets the panel's parent dialog. More...
 
int cbMessageBox (const wxString &message, const wxString &caption=wxEmptyString, int style=wxOK, wxWindow *parent=NULL, int x=-1, int y=-1)
 Call global cbMessageBox with m_parentDialog as parent window when no parent window specified. More...
 

Protected Member Functions

void OnChooseColour (wxCommandEvent &event)
 
void OnCCDelayScroll (wxScrollEvent &event)
 
void OnUpdateUI (wxUpdateUIEvent &event)
 

Private Member Functions

void UpdateCCDelayLabel ()
 
bool ValidateReplacementToken (wxString &from, wxString &to)
 

Private Attributes

NativeParserm_NativeParser
 
CodeCompletionm_CodeCompletion
 
ParserBasem_Parser
 
DocumentationHelperm_Documentation
 

Detailed Description

Definition at line 18 of file ccoptionsdlg.h.

Constructor & Destructor Documentation

◆ CCOptionsDlg()

CCOptionsDlg::CCOptionsDlg ( wxWindow parent,
NativeParser np,
CodeCompletion cc,
DocumentationHelper dh 
)

◆ ~CCOptionsDlg()

CCOptionsDlg::~CCOptionsDlg ( )
virtual

Definition at line 192 of file ccoptionsdlg.cpp.

Member Function Documentation

◆ GetBitmapBaseName()

virtual wxString CCOptionsDlg::GetBitmapBaseName ( ) const
inlinevirtual
Returns
the panel's bitmap base name. You must supply two bitmaps: <basename>.png and <basename>-off.png...

Implements cbConfigurationPanel.

Definition at line 25 of file ccoptionsdlg.h.

References _T, and OnApply().

◆ GetTitle()

virtual wxString CCOptionsDlg::GetTitle ( ) const
inlinevirtual
Returns
the panel's title.

Implements cbConfigurationPanel.

Definition at line 24 of file ccoptionsdlg.h.

References _().

◆ OnApply()

void CCOptionsDlg::OnApply ( )
virtual

◆ OnCancel()

virtual void CCOptionsDlg::OnCancel ( )
inlinevirtual

Called when the user chooses to cancel the configuration.

Implements cbConfigurationPanel.

Definition at line 27 of file ccoptionsdlg.h.

References OnCCDelayScroll(), OnChooseColour(), OnUpdateUI(), UpdateCCDelayLabel(), and ValidateReplacementToken().

◆ OnCCDelayScroll()

void CCOptionsDlg::OnCCDelayScroll ( wxScrollEvent event)
protected

Definition at line 320 of file ccoptionsdlg.cpp.

References UpdateCCDelayLabel().

Referenced by OnCancel().

◆ OnChooseColour()

void CCOptionsDlg::OnChooseColour ( wxCommandEvent event)
protected

◆ OnUpdateUI()

void CCOptionsDlg::OnUpdateUI ( wxUpdateUIEvent event)
protected

◆ UpdateCCDelayLabel()

void CCOptionsDlg::UpdateCCDelayLabel ( )
private

Definition at line 395 of file ccoptionsdlg.cpp.

References _(), and wxString::Printf().

Referenced by OnCancel(), and OnCCDelayScroll().

◆ ValidateReplacementToken()

bool CCOptionsDlg::ValidateReplacementToken ( wxString from,
wxString to 
)
private

Member Data Documentation

◆ m_CodeCompletion

CodeCompletion* CCOptionsDlg::m_CodeCompletion
private

Definition at line 40 of file ccoptionsdlg.h.

Referenced by OnApply().

◆ m_Documentation

DocumentationHelper* CCOptionsDlg::m_Documentation
private

Definition at line 42 of file ccoptionsdlg.h.

Referenced by OnApply().

◆ m_NativeParser

NativeParser* CCOptionsDlg::m_NativeParser
private

Definition at line 39 of file ccoptionsdlg.h.

Referenced by OnApply().

◆ m_Parser

ParserBase& CCOptionsDlg::m_Parser
private

Definition at line 41 of file ccoptionsdlg.h.

Referenced by OnApply().


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