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 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382
|
//////////////////////////////////////////////////////////////////////
// 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
// clang-format off
#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/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"
// clang-format on
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_pgPropClangUseFile;
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;
wxSplitterWindow* m_splitter165318;
wxPanel* m_splitterPage169419;
wxPropertyGridManager* m_pgMgrPHPCsFixer;
wxPGProperty* m_pgPropPhpCSFixer;
wxPGProperty* m_filePickerPHPCsFixerPhar;
wxPGProperty* m_pgPropPHPCsFixerOptions;
wxPGProperty* m_pgPropPHPCsFixerUseFile;
wxPGProperty* m_pgPropPHPCsFixerStandard;
wxPGProperty* m_pgPropPHPCsFixerMigration;
wxPGProperty* m_pgPropPHPCsFixerDoubleArrows;
wxPGProperty* m_pgPropPHPCsFixerEquals;
wxPGProperty* m_pgPropPHPCsFixerArrays;
wxPGProperty* m_pgPropPHPCsFixerEmptyReturn;
wxPGProperty* m_pgPropPHPCsFixerConcatSpace;
wxPGProperty* m_pgPropPHPCsFixerRules;
wxPanel* m_splitterPage1731328;
wxStyledTextCtrl* m_textCtrlPreview_PhpCSFixer;
wxPanel* m_panelPhpcbf;
wxSplitterWindow* m_splitter1653;
wxPanel* m_splitterPage1694;
wxPropertyGridManager* m_pgMgrPhpcbf;
wxPGProperty* m_pgPropPhpcbf;
wxPGProperty* m_filePickerPhpcbfPhar;
wxPGProperty* m_pgPropPhpcbfSeverity;
wxPGProperty* m_pgPropPhpcbfEncoding;
wxPGProperty* m_pgPropPhpcbfUseFile;
wxPGProperty* m_pgPropPhpcbfStandard;
wxPGProperty* m_pgPropPhpcbfOptions;
wxPanel* m_splitterPage17313;
wxStyledTextCtrl* m_textCtrlPreview_Phpcbf;
wxStdDialogButtonSizer* m_stdBtnSizer30;
wxButton* m_buttonOK;
wxButton* m_buttonApply;
wxButton* m_buttonCancel;
wxButton* m_buttonHelp;
protected:
virtual void UpdatePreviewUI(wxNotebookEvent& event)
{
event.Skip();
}
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 OnPgmgrPHPCsFixerPgChanged(wxPropertyGridEvent& event)
{
event.Skip();
}
virtual void OnPgmgrPhpcbfPgChanged(wxPropertyGridEvent& 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;
}
wxPropertyGridManager* GetPgMgrPHPCsFixer()
{
return m_pgMgrPHPCsFixer;
}
wxPanel* GetSplitterPage169419()
{
return m_splitterPage169419;
}
wxStyledTextCtrl* GetTextCtrlPreview_PhpCSFixer()
{
return m_textCtrlPreview_PhpCSFixer;
}
wxPanel* GetSplitterPage1731328()
{
return m_splitterPage1731328;
}
wxSplitterWindow* GetSplitter165318()
{
return m_splitter165318;
}
wxPanel* GetPanelPhpCSFixer()
{
return m_panelPhpCSFixer;
}
wxPropertyGridManager* GetPgMgrPhpcbf()
{
return m_pgMgrPhpcbf;
}
wxPanel* GetSplitterPage1694()
{
return m_splitterPage1694;
}
wxStyledTextCtrl* GetTextCtrlPreview_Phpcbf()
{
return m_textCtrlPreview_Phpcbf;
}
wxPanel* GetSplitterPage17313()
{
return m_splitterPage17313;
}
wxSplitterWindow* GetSplitter1653()
{
return m_splitter1653;
}
wxPanel* GetPanelPhpcbf()
{
return m_panelPhpcbf;
}
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
|