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 #include "dialog_shim.h"
14 #include <wx/string.h>
15 #include <wx/stattext.h>
16 #include <wx/gdicmn.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/textctrl.h>
21 #include <wx/bmpbuttn.h>
22 #include <wx/bitmap.h>
23 #include <wx/image.h>
24 #include <wx/icon.h>
25 #include <wx/button.h>
26 #include <wx/bmpcbox.h>
27 #include <wx/sizer.h>
28 #include <wx/statline.h>
29 #include <wx/dialog.h>
30 
32 
37 {
38  DECLARE_EVENT_TABLE()
39  private:
40 
41  // Private event handlers
42  void _wxFB_onColorButtonClicked( wxCommandEvent& event ){ onColorButtonClicked( event ); }
43  void _wxFB_resetDefaults( wxCommandEvent& event ){ resetDefaults( event ); }
44 
45 
46  protected:
47  enum
48  {
49  idColorBtn = 1000
50  };
51 
52  wxStaticText* m_staticTextWidth;
53  wxTextCtrl* m_lineWidth;
54  wxStaticText* m_staticWidthUnits;
55  wxStaticText* m_staticTextColor;
56  wxBitmapButton* m_colorButton;
57  wxStaticText* m_staticTextStyle;
58  wxBitmapComboBox* m_typeCombo;
59  wxStaticLine* m_staticline;
60  wxStdDialogButtonSizer* m_sdbSizer;
61  wxButton* m_sdbSizerOK;
62  wxButton* m_sdbSizerApply;
63  wxButton* m_sdbSizerCancel;
64 
65  // Virtual event handlers, overide them in your derived class
66  virtual void onColorButtonClicked( wxCommandEvent& event ) { event.Skip(); }
67  virtual void resetDefaults( wxCommandEvent& event ) { event.Skip(); }
68 
69 
70  public:
71 
72  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 );
74 
75 };
76 
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
void _wxFB_onColorButtonClicked(wxCommandEvent &event)
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)
virtual void onColorButtonClicked(wxCommandEvent &event)
#define _(s)
Definition: 3d_actions.cpp:33
Class DIALOG_EDIT_LINE_STYLE_BASE.