KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcbnew/dialogs/dialog_shape_properties_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
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/stattext.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
22#include <wx/textctrl.h>
23#include <wx/gbsizer.h>
24#include <wx/sizer.h>
25#include <wx/checkbox.h>
26#include <wx/bmpcbox.h>
28#include <wx/button.h>
29#include <wx/dialog.h>
30
32
33
38{
39 private:
40
41 protected:
42 wxBoxSizer* m_upperSizer;
43 wxGridBagSizer* m_sizerStartEnd;
44 wxStaticText* m_startPointLabel;
45 wxStaticText* m_startXLabel;
46 wxTextCtrl* m_startXCtrl;
47 wxStaticText* m_startXUnits;
48 wxStaticText* m_startYLabel;
49 wxTextCtrl* m_startYCtrl;
50 wxStaticText* m_startYUnits;
51 wxStaticText* m_endPointLabel;
52 wxStaticText* m_endXLabel;
53 wxTextCtrl* m_endXCtrl;
54 wxStaticText* m_endXUnits;
55 wxStaticText* m_endYLabel;
56 wxTextCtrl* m_endYCtrl;
57 wxStaticText* m_endYUnits;
58 wxGridBagSizer* m_sizerBezier;
59 wxStaticText* m_bezierCtrlPt1Label;
60 wxStaticText* m_BezierPointC1XLabel;
61 wxTextCtrl* m_BezierC1X_Ctrl;
62 wxStaticText* m_BezierPointC1XUnit;
63 wxStaticText* m_BezierPointC1YLabel;
64 wxTextCtrl* m_BezierC1Y_Ctrl;
65 wxStaticText* m_BezierPointC1YUnit;
66 wxStaticText* m_bezierCtrlPt2Label;
67 wxStaticText* m_BezierPointC2XLabel;
68 wxTextCtrl* m_BezierC2X_Ctrl;
69 wxStaticText* m_BezierPointC2XUnit;
70 wxStaticText* m_BezierPointC2YLabel;
71 wxTextCtrl* m_BezierC2Y_Ctrl;
72 wxStaticText* m_BezierPointC2YUnit;
73 wxStaticText* m_segmentLengthLabel;
75 wxStaticText* m_segmentLengthUnits;
76 wxStaticText* m_segmentAngleLabel;
77 wxTextCtrl* m_segmentAngleCtrl;
78 wxStaticText* m_segmentAngleUnits;
82 wxStaticText* m_rectangleWidthLabel;
84 wxStaticText* m_rectangleWidthUnits;
85 wxStaticText* m_angleLabel;
86 wxTextCtrl* m_angleCtrl;
87 wxStaticText* m_angleUnits;
88 wxCheckBox* m_locked;
89 wxCheckBox* m_filledCtrl;
90 wxStaticText* m_thicknessLabel;
91 wxTextCtrl* m_thicknessCtrl;
92 wxStaticText* m_thicknessUnits;
93 wxStaticText* m_lineStyleLabel;
94 wxBitmapComboBox* m_lineStyleCombo;
95 wxStaticText* m_LayerLabel;
97 wxStaticText* m_netLabel;
99 wxStdDialogButtonSizer* m_StandardButtonsSizer;
102
103 // Virtual event handlers, override them in your derived class
104 virtual void onFilledCheckbox( wxCommandEvent& event ) { event.Skip(); }
105 virtual void onLayerSelection( wxCommandEvent& event ) { event.Skip(); }
106
107
108 public:
109
110 DIALOG_SHAPE_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("%s Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
111
113
114};
115
virtual void onFilledCheckbox(wxCommandEvent &event)
virtual void onLayerSelection(wxCommandEvent &event)
DIALOG_SHAPE_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("%s Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
Class to display a pcb layer list in a wxBitmapComboBox.
#define _(s)