File: codeformatterdlgbase.h

package info (click to toggle)
codelite 10.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 71,364 kB
  • sloc: cpp: 415,397; ansic: 18,277; php: 9,547; lex: 4,181; yacc: 2,820; python: 2,294; sh: 383; makefile: 51; xml: 13
file content (174 lines) | stat: -rw-r--r-- 7,570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
//////////////////////////////////////////////////////////////////////
// This file was auto-generated by codelite's wxCrafter Plugin
// wxCrafter project file: codeformatterdlg.wxcp
// Do not modify this file by hand!
//////////////////////////////////////////////////////////////////////

#ifndef _CODELITE_CODEFORMATTER_CODEFORMATTERDLG_BASE_CLASSES_H
#define _CODELITE_CODEFORMATTER_CODEFORMATTERDLG_BASE_CLASSES_H

#include <wx/settings.h>
#include <wx/xrc/xmlres.h>
#include <wx/xrc/xh_bmp.h>
#include <wx/dialog.h>
#include <wx/iconbndl.h>
#include <wx/artprov.h>
#include <wx/sizer.h>
#include <wx/notebook.h>
#include <wx/panel.h>
#include <wx/imaglist.h>
#include <wx/checkbox.h>
#include <wx/stattext.h>
#include <wx/choice.h>
#include <wx/arrstr.h>
#include <wx/splitter.h>
#include <wx/propgrid/manager.h>
#include <wx/propgrid/property.h>
#include <wx/propgrid/advprops.h>
#include <wx/stc/stc.h>
#include <wx/textctrl.h>
#include <wx/filepicker.h>
#include <wx/button.h>
#if wxVERSION_NUMBER >= 2900
#include <wx/persist.h>
#include <wx/persist/toplevel.h>
#include <wx/persist/bookctrl.h>
#include <wx/persist/treebook.h>
#endif

#ifdef WXC_FROM_DIP
#undef WXC_FROM_DIP
#endif
#if wxVERSION_NUMBER >= 3100
#define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
#else
#define WXC_FROM_DIP(x) x
#endif

#include "formatoptions.h"
#include "PHPFormatterBuffer.h"

class CodeFormatterBaseDlg : public wxDialog
{
protected:
    wxNotebook* m_notebook;
    wxPanel* m_panelGeneral;
    wxCheckBox* m_checkBoxFormatOnSave;
    wxStaticText* m_staticText115;
    wxChoice* m_choiceCxxEngine;
    wxStaticText* m_staticText198;
    wxChoice* m_choicePhpFormatter;
    wxPanel* m_panelCxx;
    wxNotebook* m_notebookCxx;
    wxPanel* m_panelClangFormat;
    wxSplitterWindow* m_splitter165;
    wxPanel* m_splitterPage169;
    wxPropertyGridManager* m_pgMgrClang;
    wxPGProperty* m_pgPropClangFormat;
    wxPGProperty* m_pgPropClangFormatExePath;
    wxPGProperty* m_pgPropColumnLimit;
    wxPGProperty* m_pgPropClangBraceBreakStyle;
    wxPGProperty* m_pgPropClangFormatStyle;
    wxPGProperty* m_pgPropClangFormattingOptions;
    wxPanel* m_splitterPage173;
    wxStyledTextCtrl* m_textCtrlPreview_Clang;
    wxPanel* m_panelAstyle;
    wxSplitterWindow* m_splitter145;
    wxPanel* m_splitterPage149;
    wxPropertyGridManager* m_pgMgrAstyle;
    wxPGProperty* m_pgPropAstyleOptions;
    wxPGProperty* m_pgPropPreDefinedStyles;
    wxPGProperty* m_pgPropBrackets;
    wxPGProperty* m_pgPropIndentation;
    wxPGProperty* m_pgPropFormatting;
    wxStaticText* m_staticText59;
    wxStaticText* m_staticText3;
    wxTextCtrl* m_textCtrlUserFlags;
    wxPanel* m_splitterPage153;
    wxStyledTextCtrl* m_textCtrlPreview;
    wxPanel* m_panelPhp;
    wxNotebook* m_notebookPhp;
    wxPanel* m_panelBuiltIn;
    wxSplitterWindow* m_splitter119;
    wxPanel* m_splitterPage123;
    wxPropertyGridManager* m_pgMgrPhp;
    wxPGProperty* m_pgPropPhpFormatter;
    wxPGProperty* m_pgPropPhpFormatterOptions;
    wxPanel* m_splitterPage127;
    wxStyledTextCtrl* m_stcPhpPreview;
    wxPanel* m_panelPhpCSFixer;
    wxStaticText* m_staticText192;
    wxFilePickerCtrl* m_filePickerPhpExec;
    wxStaticText* m_staticText202;
    wxFilePickerCtrl* m_filePickerPHPCsFixerPhar;
    wxStaticText* m_staticText217;
    wxStyledTextCtrl* m_stc;
    wxStyledTextCtrl* m_stcFixerPreview;
    wxStdDialogButtonSizer* m_stdBtnSizer30;
    wxButton* m_buttonOK;
    wxButton* m_buttonApply;
    wxButton* m_buttonCancel;
    wxButton* m_buttonHelp;

protected:
    virtual void OnFormatOnSave(wxCommandEvent& event) { event.Skip(); }
    virtual void OnChoicecxxengineChoiceSelected(wxCommandEvent& event) { event.Skip(); }
    virtual void OnChoicephpformatterChoiceSelected(wxCommandEvent& event) { event.Skip(); }
    virtual void OnPgmgrclangPgChanged(wxPropertyGridEvent& event) { event.Skip(); }
    virtual void OnPgmgrastylePgChanged(wxPropertyGridEvent& event) { event.Skip(); }
    virtual void OnCustomAstyleFlags(wxCommandEvent& event) { event.Skip(); }
    virtual void OnPgmgrphpPgChanged(wxPropertyGridEvent& event) { event.Skip(); }
    virtual void OnPhpFileSelected(wxFileDirPickerEvent& event) { event.Skip(); }
    virtual void OnPharFileSelected(wxFileDirPickerEvent& event) { event.Skip(); }
    virtual void OnPHPCSFixerOptionsUpdated(wxStyledTextEvent& event) { event.Skip(); }
    virtual void OnOK(wxCommandEvent& event) { event.Skip(); }
    virtual void OnApplyUI(wxUpdateUIEvent& event) { event.Skip(); }
    virtual void OnApply(wxCommandEvent& event) { event.Skip(); }
    virtual void OnHelp(wxCommandEvent& event) { event.Skip(); }

public:
    wxCheckBox* GetCheckBoxFormatOnSave() { return m_checkBoxFormatOnSave; }
    wxStaticText* GetStaticText115() { return m_staticText115; }
    wxChoice* GetChoiceCxxEngine() { return m_choiceCxxEngine; }
    wxStaticText* GetStaticText198() { return m_staticText198; }
    wxChoice* GetChoicePhpFormatter() { return m_choicePhpFormatter; }
    wxPanel* GetPanelGeneral() { return m_panelGeneral; }
    wxPropertyGridManager* GetPgMgrClang() { return m_pgMgrClang; }
    wxPanel* GetSplitterPage169() { return m_splitterPage169; }
    wxStyledTextCtrl* GetTextCtrlPreview_Clang() { return m_textCtrlPreview_Clang; }
    wxPanel* GetSplitterPage173() { return m_splitterPage173; }
    wxSplitterWindow* GetSplitter165() { return m_splitter165; }
    wxPanel* GetPanelClangFormat() { return m_panelClangFormat; }
    wxPropertyGridManager* GetPgMgrAstyle() { return m_pgMgrAstyle; }
    wxStaticText* GetStaticText59() { return m_staticText59; }
    wxStaticText* GetStaticText3() { return m_staticText3; }
    wxTextCtrl* GetTextCtrlUserFlags() { return m_textCtrlUserFlags; }
    wxPanel* GetSplitterPage149() { return m_splitterPage149; }
    wxStyledTextCtrl* GetTextCtrlPreview() { return m_textCtrlPreview; }
    wxPanel* GetSplitterPage153() { return m_splitterPage153; }
    wxSplitterWindow* GetSplitter145() { return m_splitter145; }
    wxPanel* GetPanelAstyle() { return m_panelAstyle; }
    wxNotebook* GetNotebookCxx() { return m_notebookCxx; }
    wxPanel* GetPanelCxx() { return m_panelCxx; }
    wxPropertyGridManager* GetPgMgrPhp() { return m_pgMgrPhp; }
    wxPanel* GetSplitterPage123() { return m_splitterPage123; }
    wxStyledTextCtrl* GetStcPhpPreview() { return m_stcPhpPreview; }
    wxPanel* GetSplitterPage127() { return m_splitterPage127; }
    wxSplitterWindow* GetSplitter119() { return m_splitter119; }
    wxPanel* GetPanelBuiltIn() { return m_panelBuiltIn; }
    wxStaticText* GetStaticText192() { return m_staticText192; }
    wxFilePickerCtrl* GetFilePickerPhpExec() { return m_filePickerPhpExec; }
    wxStaticText* GetStaticText202() { return m_staticText202; }
    wxFilePickerCtrl* GetFilePickerPHPCsFixerPhar() { return m_filePickerPHPCsFixerPhar; }
    wxStaticText* GetStaticText217() { return m_staticText217; }
    wxStyledTextCtrl* GetStc() { return m_stc; }
    wxStyledTextCtrl* GetStcFixerPreview() { return m_stcFixerPreview; }
    wxPanel* GetPanelPhpCSFixer() { return m_panelPhpCSFixer; }
    wxNotebook* GetNotebookPhp() { return m_notebookPhp; }
    wxPanel* GetPanelPhp() { return m_panelPhp; }
    wxNotebook* GetNotebook() { return m_notebook; }
    CodeFormatterBaseDlg(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Source Code Formatter Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
    virtual ~CodeFormatterBaseDlg();
};

#endif