KiCad PCB EDA Suite
dialog_sheet_properties_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 WX_GRID;
14 
15 #include "widgets/color_swatch.h"
16 #include "dialog_shim.h"
17 #include <wx/colour.h>
18 #include <wx/settings.h>
19 #include <wx/string.h>
20 #include <wx/font.h>
21 #include <wx/grid.h>
22 #include <wx/gdicmn.h>
23 #include <wx/bmpbuttn.h>
24 #include <wx/bitmap.h>
25 #include <wx/image.h>
26 #include <wx/icon.h>
27 #include <wx/button.h>
28 #include <wx/sizer.h>
29 #include <wx/statbox.h>
30 #include <wx/stattext.h>
31 #include <wx/textctrl.h>
32 #include <wx/statline.h>
33 #include <wx/dialog.h>
34 
36 
37 
42 {
43  private:
44 
45  protected:
46  wxBoxSizer* m_longForm;
48  wxBitmapButton* m_bpAdd;
49  wxBitmapButton* m_bpMoveUp;
50  wxBitmapButton* m_bpMoveDown;
51  wxBitmapButton* m_bpDelete;
52  wxStaticText* m_borderWidthLabel;
53  wxTextCtrl* m_borderWidthCtrl;
54  wxStaticText* m_borderWidthUnits;
55  wxStaticText* m_borderColorLabel;
57  wxStaticText* m_backgroundColorLabel;
59  wxStaticText* m_pageNumberStaticText;
60  wxTextCtrl* m_pageNumberTextCtrl;
61  wxStaticLine* m_staticline1;
62  wxStaticText* m_hierarchicalPathLabel;
63  wxStdDialogButtonSizer* m_stdDialogButtonSizer;
66 
67  // Virtual event handlers, overide them in your derived class
68  virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
69  virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
70  virtual void OnSizeGrid( wxSizeEvent& event ) { event.Skip(); }
71  virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
72  virtual void OnMoveUp( wxCommandEvent& event ) { event.Skip(); }
73  virtual void OnMoveDown( wxCommandEvent& event ) { event.Skip(); }
74  virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
75 
76 
77  public:
78 
79  DIALOG_SHEET_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Sheet Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER|wxSYSTEM_MENU );
81 
82 };
83 
virtual void OnInitDlg(wxInitDialogEvent &event)
virtual void OnMoveUp(wxCommandEvent &event)
virtual void OnAddField(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:82
virtual void OnSizeGrid(wxSizeEvent &event)
virtual void OnDeleteField(wxCommandEvent &event)
virtual void OnUpdateUI(wxUpdateUIEvent &event)
DIALOG_SHEET_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Sheet Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxCAPTION|wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER|wxSYSTEM_MENU)
Class DIALOG_SHEET_PROPERTIES_BASE.
#define _(s)
wxStdDialogButtonSizer * m_stdDialogButtonSizer
virtual void OnMoveDown(wxCommandEvent &event)
A simple color swatch of the kind used to set layer colors.
Definition: color_swatch.h:56