KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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/stattext.h>
25#include <wx/textctrl.h>
26#include <wx/sizer.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_onBorderChecked( wxCommandEvent& event ){ onBorderChecked( event ); }
49 void _wxFB_onFillChoice( wxCommandEvent& event ){ onFillChoice( event ); }
50 void _wxFB_onFillRadioButton( wxCommandEvent& event ){ onFillRadioButton( event ); }
51
52
53 protected:
54 enum
55 {
56 NO_FILL = 1000,
60 };
61
63 wxGridBagSizer* m_borderSizer;
64 wxCheckBox* m_borderCheckbox;
65 wxStaticText* m_borderWidthLabel;
66 wxTextCtrl* m_borderWidthCtrl;
67 wxStaticText* m_borderWidthUnits;
68 wxStaticText* m_borderColorLabel;
71 wxStaticText* m_borderStyleLabel;
72 wxBitmapComboBox* m_borderStyleCombo;
73 wxStaticText* m_helpLabel1;
74 wxSimplebook* m_fillBook;
76 wxGridBagSizer* m_fillSizer;
77 wxStaticText* m_fillLabel;
78 wxChoice* m_fillCtrl;
79 wxStaticText* m_fillColorLabel;
82 wxStaticText* m_helpLabel2;
84 wxRadioButton* m_rbFillNone;
85 wxRadioButton* m_rbFillOutline;
86 wxRadioButton* m_rbFillBackground;
87 wxRadioButton* m_rbFillCustom;
90 wxCheckBox* m_privateCheckbox;
93 wxStdDialogButtonSizer* m_sdbSizer;
94 wxButton* m_sdbSizerOK;
96
97 // Virtual event handlers, override them in your derived class
98 virtual void onBorderChecked( wxCommandEvent& event ) { event.Skip(); }
99 virtual void onFillChoice( wxCommandEvent& event ) { event.Skip(); }
100 virtual void onFillRadioButton( wxCommandEvent& event ) { event.Skip(); }
101
102
103 public:
104
105 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 );
106
108
109};
110
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)