KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eeschema/dialogs/dialog_shape_properties_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
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 COLOR_SWATCH;
14class WX_INFOBAR;
15
16#include "dialog_shim.h"
17#include <wx/infobar.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
22#include <wx/string.h>
23#include <wx/checkbox.h>
24#include <wx/sizer.h>
25#include <wx/stattext.h>
26#include <wx/textctrl.h>
27#include <wx/panel.h>
28#include <wx/bmpcbox.h>
29#include <wx/gbsizer.h>
30#include <wx/choice.h>
31#include <wx/radiobut.h>
32#include <wx/statbox.h>
33#include <wx/simplebook.h>
34#include <wx/button.h>
35#include <wx/dialog.h>
36
38
43{
45 private:
46
47 // Private event handlers
48 void _wxFB_OnCheckBox( wxCommandEvent& event ){ OnCheckBox( event ); }
49 void _wxFB_onBorderChecked( wxCommandEvent& event ){ onBorderChecked( event ); }
50 void _wxFB_onFillChoice( wxCommandEvent& event ){ onFillChoice( event ); }
51 void _wxFB_onFillRadioButton( wxCommandEvent& event ){ onFillRadioButton( event ); }
52
53
54 protected:
55 enum
56 {
57 NO_FILL = 11300,
61 };
62
64 wxBoxSizer* m_ruleAreaSizer;
65 wxCheckBox* m_cbExcludeFromSim;
66 wxCheckBox* m_cbExcludeFromBom;
68 wxCheckBox* m_cbDNP;
69 wxGridBagSizer* m_borderSizer;
70 wxCheckBox* m_borderCheckbox;
71 wxStaticText* m_borderWidthLabel;
72 wxTextCtrl* m_borderWidthCtrl;
73 wxStaticText* m_borderWidthUnits;
74 wxStaticText* m_borderColorLabel;
77 wxStaticText* m_borderStyleLabel;
78 wxBitmapComboBox* m_borderStyleCombo;
79 wxStaticText* m_helpLabel1;
80 wxSimplebook* m_fillBook;
82 wxGridBagSizer* m_fillSizer;
83 wxStaticText* m_fillLabel;
84 wxChoice* m_fillCtrl;
85 wxStaticText* m_fillColorLabel;
88 wxStaticText* m_helpLabel2;
90 wxRadioButton* m_rbFillNone;
91 wxRadioButton* m_rbFillOutline;
92 wxRadioButton* m_rbFillBackground;
93 wxRadioButton* m_rbFillCustom;
96 wxCheckBox* m_privateCheckbox;
99 wxStdDialogButtonSizer* m_sdbSizer;
100 wxButton* m_sdbSizerOK;
102
103 // Virtual event handlers, override them in your derived class
104 virtual void OnCheckBox( wxCommandEvent& event ) { event.Skip(); }
105 virtual void onBorderChecked( wxCommandEvent& event ) { event.Skip(); }
106 virtual void onFillChoice( wxCommandEvent& event ) { event.Skip(); }
107 virtual void onFillRadioButton( wxCommandEvent& event ) { event.Skip(); }
108
109
110 public:
111
112 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 );
113
115
116};
117
A simple color swatch of the kind used to set layer colors.
Definition: color_swatch.h:57
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:52
A modified version of the wxInfoBar class that allows us to:
Definition: wx_infobar.h:76
#define _(s)