Code::Blocks  SVN r11506
ccoptionsdlg.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3  * http://www.gnu.org/licenses/gpl-3.0.html
4  */
5 
6 #ifndef CCOPTIONSDLG_H
7 #define CCOPTIONSDLG_H
8 
9 #include <wx/intl.h>
10 #include "configurationpanel.h"
11 #include <settings.h>
12 #include "nativeparser.h"
13 #include "parser/parser.h"
14 
15 class CodeCompletion;
17 
19 {
20 public:
22  virtual ~CCOptionsDlg();
23 
24  virtual wxString GetTitle() const { return _("Code completion"); }
25  virtual wxString GetBitmapBaseName() const { return _T("codecompletion"); }
26  virtual void OnApply();
27  virtual void OnCancel() { ; }
28 
29 protected:
30  void OnChooseColour(wxCommandEvent& event);
31  void OnCCDelayScroll(wxScrollEvent& event);
32 
33  void OnUpdateUI(wxUpdateUIEvent& event);
34 
35 private:
36  void UpdateCCDelayLabel();
38 
43 
44  DECLARE_EVENT_TABLE()
45 };
46 
47 #endif // CCOPTIONSDLG_H
virtual void OnCancel()
Called when the user chooses to cancel the configuration.
Definition: ccoptionsdlg.h:27
void OnUpdateUI(wxUpdateUIEvent &event)
virtual void OnApply()
Called when the user chooses to apply the configuration.
ParserBase & m_Parser
Definition: ccoptionsdlg.h:41
DocumentationHelper * m_Documentation
Definition: ccoptionsdlg.h:42
#define _T(string)
virtual wxString GetBitmapBaseName() const
Definition: ccoptionsdlg.h:25
virtual wxString GetTitle() const
Definition: ccoptionsdlg.h:24
void UpdateCCDelayLabel()
NativeParser * m_NativeParser
Definition: ccoptionsdlg.h:39
Code completion plugin has those features: show tool-tip when the mouse hover over the variables/func...
void OnChooseColour(wxCommandEvent &event)
CCOptionsDlg(wxWindow *parent, NativeParser *np, CodeCompletion *cc, DocumentationHelper *dh)
const wxString & _(const wxString &string)
Base class for plugin configuration panels.
NativeParser class is just like a manager class to control Parser objects.
Definition: nativeparser.h:55
CodeCompletion * m_CodeCompletion
Definition: ccoptionsdlg.h:40
bool ValidateReplacementToken(wxString &from, wxString &to)
void OnCCDelayScroll(wxScrollEvent &event)
virtual ~CCOptionsDlg()