KiCad PCB EDA Suite
dialog_layer_selection_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.9.0 Apr 22 2021)
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/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
35{
36 private:
37
38 protected:
41
42 // Virtual event handlers, override them in your derived class
43 virtual void OnMouseMove( wxUpdateUIEvent& event ) { event.Skip(); }
44 virtual void OnLeftGridCellClick( wxGridEvent& event ) { event.Skip(); }
45 virtual void OnLeftButtonReleased( wxMouseEvent& event ) { event.Skip(); }
46 virtual void OnRightGridCellClick( wxGridEvent& event ) { event.Skip(); }
47
48
49 public:
50
51 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 );
53
54};
55
60{
61 private:
62
63 protected:
64 wxStaticText* m_staticTextTopLayer;
68 wxStaticLine* m_staticline;
69 wxStdDialogButtonSizer* m_sdbSizer;
70 wxButton* m_sdbSizerOK;
72
73 // Virtual event handlers, override them in your derived class
74 virtual void OnLeftGridCellClick( wxGridEvent& event ) { event.Skip(); }
75 virtual void OnRightGridCellClick( wxGridEvent& event ) { event.Skip(); }
76
77
78 public:
79
80 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 );
82
83};
84
Class DIALOG_COPPER_LAYER_PAIR_SELECTION_BASE.
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)
virtual void OnLeftGridCellClick(wxGridEvent &event)
virtual void OnRightGridCellClick(wxGridEvent &event)
Class DIALOG_LAYER_SELECTION_BASE.
virtual void OnMouseMove(wxUpdateUIEvent &event)
virtual void OnRightGridCellClick(wxGridEvent &event)
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 OnLeftGridCellClick(wxGridEvent &event)
virtual void OnLeftButtonReleased(wxMouseEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
#define _(s)