KiCad PCB EDA Suite
dialog_edit_line_style_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Apr 19 2018)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __DIALOG_EDIT_LINE_STYLE_BASE_H__
9 #define __DIALOG_EDIT_LINE_STYLE_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 #include "dialog_shim.h"
15 #include <wx/string.h>
16 #include <wx/stattext.h>
17 #include <wx/gdicmn.h>
18 #include <wx/font.h>
19 #include <wx/colour.h>
20 #include <wx/settings.h>
21 #include <wx/textctrl.h>
22 #include <wx/bitmap.h>
23 #include <wx/image.h>
24 #include <wx/icon.h>
25 #include <wx/bmpbuttn.h>
26 #include <wx/button.h>
27 #include <wx/sizer.h>
28 #include <wx/statbox.h>
29 #include <wx/radiobox.h>
30 #include <wx/statline.h>
31 #include <wx/dialog.h>
32 
34 
39 {
40  DECLARE_EVENT_TABLE()
41  private:
42 
43  // Private event handlers
44  void _wxFB_onColorButtonClicked( wxCommandEvent& event ){ onColorButtonClicked( event ); }
45  void _wxFB_resetDefaults( wxCommandEvent& event ){ resetDefaults( event ); }
46 
47 
48  protected:
49  enum
50  {
51  idColorBtn = 1000
52  };
53 
54  wxStaticText* m_staticTextWidth;
55  wxTextCtrl* m_lineWidth;
56  wxStaticText* m_staticWidthUnits;
57  wxStaticText* m_staticText5;
58  wxBitmapButton* m_colorButton;
59  wxRadioBox* m_lineStyle;
60  wxStaticLine* m_staticline;
61  wxStdDialogButtonSizer* m_sdbSizer;
62  wxButton* m_sdbSizerOK;
63  wxButton* m_sdbSizerApply;
64  wxButton* m_sdbSizerCancel;
65 
66  // Virtual event handlers, overide them in your derived class
67  virtual void onColorButtonClicked( wxCommandEvent& event ) { event.Skip(); }
68  virtual void resetDefaults( wxCommandEvent& event ) { event.Skip(); }
69 
70 
71  public:
72  bool m_isValid;
73 
74  DIALOG_EDIT_LINE_STYLE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Line Style"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 298,204 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
76 
77 };
78 
79 #endif //__DIALOG_EDIT_LINE_STYLE_BASE_H__
void _wxFB_resetDefaults(wxCommandEvent &event)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:53
void _wxFB_onColorButtonClicked(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(298, 204), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void resetDefaults(wxCommandEvent &event)
virtual void onColorButtonClicked(wxCommandEvent &event)
Class DIALOG_EDIT_LINE_STYLE_BASE.