KiCad PCB EDA Suite
dialog_layer_selection_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Dec 30 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __DIALOG_LAYER_SELECTION_BASE_H__
9 #define __DIALOG_LAYER_SELECTION_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 #include <wx/colour.h>
15 #include <wx/settings.h>
16 #include <wx/string.h>
17 #include <wx/font.h>
18 #include <wx/grid.h>
19 #include <wx/gdicmn.h>
20 #include <wx/sizer.h>
21 #include <wx/dialog.h>
22 #include <wx/stattext.h>
23 #include <wx/statline.h>
24 #include <wx/button.h>
25 
27 
28 #define ID_LEFT_LIST 1000
29 #define ID_RIGHT_LIST 1001
30 
34 class DIALOG_LAYER_SELECTION_BASE : public wxDialog
35 {
36  private:
37 
38  protected:
41 
42  // Virtual event handlers, overide them in your derived class
43  virtual void OnLeftGridCellClick( wxGridEvent& event ) { event.Skip(); }
44  virtual void OnLeftButtonReleased( wxMouseEvent& event ) { event.Skip(); }
45  virtual void OnRightGridCellClick( wxGridEvent& event ) { event.Skip(); }
46 
47 
48  public:
49 
50  DIALOG_LAYER_SELECTION_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Select Layer"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
52 
53 };
54 
59 {
60  private:
61 
62  protected:
63  wxStaticText* m_staticTextTopLayer;
65  wxStaticText* m_staticTextBottomLayer;
67  wxStaticLine* m_staticline1;
68  wxStdDialogButtonSizer* m_sdbSizer;
69  wxButton* m_sdbSizerOK;
70  wxButton* m_sdbSizerCancel;
71 
72  // Virtual event handlers, overide them in your derived class
73  virtual void OnLeftGridCellClick( wxGridEvent& event ) { event.Skip(); }
74  virtual void OnRightGridCellClick( wxGridEvent& event ) { event.Skip(); }
75 
76 
77  public:
78 
79  DIALOG_COPPER_LAYER_PAIR_SELECTION_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Select Copper Layer Pair"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
81 
82 };
83 
84 #endif //__DIALOG_LAYER_SELECTION_BASE_H__
Class DIALOG_LAYER_SELECTION_BASE.
DIALOG_LAYER_SELECTION_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Select Layer"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnRightGridCellClick(wxGridEvent &event)
virtual void OnLeftButtonReleased(wxMouseEvent &event)
virtual void OnRightGridCellClick(wxGridEvent &event)
virtual void OnLeftGridCellClick(wxGridEvent &event)
virtual void OnLeftGridCellClick(wxGridEvent &event)
Class DIALOG_COPPER_LAYER_PAIR_SELECTION_BASE.