KiCad PCB EDA Suite
dialog_edit_line_style_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #pragma once
9 
10 #include <wx/artprov.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/intl.h>
13 class COLOR_SWATCH;
14 
15 #include "dialog_shim.h"
16 #include <wx/string.h>
17 #include <wx/stattext.h>
18 #include <wx/gdicmn.h>
19 #include <wx/font.h>
20 #include <wx/colour.h>
21 #include <wx/settings.h>
22 #include <wx/textctrl.h>
23 #include <wx/sizer.h>
24 #include <wx/panel.h>
25 #include <wx/bmpcbox.h>
26 #include <wx/statline.h>
27 #include <wx/button.h>
28 #include <wx/dialog.h>
29 
31 
36 {
37  DECLARE_EVENT_TABLE()
38  private:
39 
40  // Private event handlers
41  void _wxFB_resetDefaults( wxCommandEvent& event ){ resetDefaults( event ); }
42 
43 
44  protected:
45  wxStaticText* m_staticTextWidth;
46  wxTextCtrl* m_lineWidth;
47  wxStaticText* m_staticWidthUnits;
48  wxStaticText* m_staticTextColor;
49  wxPanel* m_panel1;
51  wxStaticText* m_staticTextStyle;
52  wxBitmapComboBox* m_typeCombo;
53  wxStaticLine* m_staticline;
54  wxStdDialogButtonSizer* m_sdbSizer;
55  wxButton* m_sdbSizerOK;
56  wxButton* m_sdbSizerApply;
57  wxButton* m_sdbSizerCancel;
58 
59  // Virtual event handlers, overide them in your derived class
60  virtual void resetDefaults( wxCommandEvent& event ) { event.Skip(); }
61 
62 
63  public:
64 
65  DIALOG_EDIT_LINE_STYLE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Line Style"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
67 
68 };
69 
void _wxFB_resetDefaults(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
virtual void resetDefaults(wxCommandEvent &event)
DIALOG_EDIT_LINE_STYLE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Line Style"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
#define _(s)
Definition: 3d_actions.cpp:33
Class representing a simple color swatch, of the kind used to set layer colors.
Definition: color_swatch.h:53
Class DIALOG_EDIT_LINE_STYLE_BASE.