KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_layer_selection_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.1.0-0-g733bf3d)
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>
13class WX_GRID;
14
15#include "dialog_shim.h"
16#include <wx/colour.h>
17#include <wx/settings.h>
18#include <wx/string.h>
19#include <wx/font.h>
20#include <wx/grid.h>
21#include <wx/gdicmn.h>
22#include <wx/sizer.h>
23#include <wx/dialog.h>
24#include <wx/stattext.h>
25#include <wx/bmpbuttn.h>
26#include <wx/bitmap.h>
27#include <wx/image.h>
28#include <wx/icon.h>
29#include <wx/button.h>
30#include <wx/statbox.h>
31
33
34#define ID_LEFT_LIST 1000
35#define ID_RIGHT_LIST 1001
36
41{
42 private:
43
44 protected:
47
48 // Virtual event handlers, override them in your derived class
49 virtual void OnMouseMove( wxUpdateUIEvent& event ) { event.Skip(); }
50 virtual void OnLeftGridCellClick( wxGridEvent& event ) { event.Skip(); }
51 virtual void OnLeftButtonReleased( wxMouseEvent& event ) { event.Skip(); }
52 virtual void OnRightGridCellClick( wxGridEvent& event ) { event.Skip(); }
53
54
55 public:
56
57 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 );
58
60
61};
62
67{
68 private:
69
70 protected:
71 wxStaticText* m_staticTextTopLayer;
75 wxBitmapButton* m_addToPresetsButton;
77 wxBitmapButton* m_deleteRowButton;
78 wxStdDialogButtonSizer* m_sdbSizer;
79 wxButton* m_sdbSizerOK;
81
82 public:
83
84 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( 744,217 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
85
87
88};
89
Class DIALOG_COPPER_LAYER_PAIR_SELECTION_BASE.
Class DIALOG_LAYER_SELECTION_BASE.
virtual void OnMouseMove(wxUpdateUIEvent &event)
virtual void OnRightGridCellClick(wxGridEvent &event)
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:88
#define _(s)