KiCad PCB EDA Suite
dialog_global_edit_tracks_and_vias_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>
14 
15 #include "dialog_shim.h"
16 #include <wx/string.h>
17 #include <wx/checkbox.h>
18 #include <wx/gdicmn.h>
19 #include <wx/font.h>
20 #include <wx/colour.h>
21 #include <wx/settings.h>
22 #include <wx/sizer.h>
23 #include <wx/statbox.h>
24 #include <widgets/net_selector.h>
25 #include <wx/choice.h>
26 #include <wx/bmpcbox.h>
27 #include <wx/radiobut.h>
28 #include <wx/stattext.h>
29 #include <wx/grid.h>
30 #include <wx/button.h>
31 #include <wx/dialog.h>
32 
34 
35 #define ID_SPECIFIED_NET_TO_SPECIFIED_VALUES 1000
36 #define ID_SPECIFIED_NET_TO_NETCLASS_VALUES 1001
37 
42 {
43  private:
44 
45  protected:
46  wxCheckBox* m_tracks;
47  wxCheckBox* m_vias;
48  wxCheckBox* m_netFilterOpt;
50  wxCheckBox* m_netclassFilterOpt;
51  wxChoice* m_netclassFilter;
52  wxCheckBox* m_layerFilterOpt;
54  wxCheckBox* m_selectedItemsFilter;
55  wxRadioButton* m_setToSpecifiedValues;
56  wxStaticText* m_staticTextTrackWidth;
57  wxStaticText* m_staticTextViaSize;
58  wxStaticText* m_staticTextLayer;
62  wxRadioButton* m_setToNetclassValues;
63  wxGrid* m_netclassGrid;
64  wxStdDialogButtonSizer* m_sdbSizer;
65  wxButton* m_sdbSizerOK;
66  wxButton* m_sdbSizerCancel;
67 
68  // Virtual event handlers, overide them in your derived class
69  virtual void OnNetclassFilterSelect( wxCommandEvent& event ) { event.Skip(); }
70  virtual void OnLayerFilterSelect( wxCommandEvent& event ) { event.Skip(); }
71  virtual void onSpecifiedValuesUpdateUi( wxUpdateUIEvent& event ) { event.Skip(); }
72  virtual void OnSizeNetclassGrid( wxSizeEvent& event ) { event.Skip(); }
73 
74 
75  public:
76 
77  DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Set Track and Via Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
79 
80 };
81 
DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Set Track and Via Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Class to display a pcb layer list in a wxBitmapComboBox.
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:82
#define _(s)
Class DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE.
virtual void onSpecifiedValuesUpdateUi(wxUpdateUIEvent &event)