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.0.0-0-g0efcecf02)
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/radiobut.h>
31#include <wx/statbox.h>
32#include <wx/simplebook.h>
33#include <wx/button.h>
34#include <wx/dialog.h>
35
37
42{
44 private:
45
46 // Private event handlers
47 void _wxFB_onBorderChecked( wxCommandEvent& event ){ onBorderChecked( event ); }
48 void _wxFB_onFillChecked( wxCommandEvent& event ){ onFillChecked( event ); }
49 void _wxFB_onFillRadioButton( wxCommandEvent& event ){ onFillRadioButton( event ); }
50
51
52 protected:
53 enum
54 {
55 NO_FILL = 1000,
59 };
60
62 wxGridBagSizer* m_borderSizer;
63 wxCheckBox* m_borderCheckbox;
64 wxStaticText* m_borderWidthLabel;
65 wxTextCtrl* m_borderWidthCtrl;
66 wxStaticText* m_borderWidthUnits;
67 wxStaticText* m_borderColorLabel;
70 wxStaticText* m_borderStyleLabel;
71 wxBitmapComboBox* m_borderStyleCombo;
72 wxStaticText* m_helpLabel1;
73 wxSimplebook* m_fillBook;
75 wxGridBagSizer* m_fillSizer;
76 wxCheckBox* m_filledCtrl;
77 wxStaticText* m_fillColorLabel;
80 wxStaticText* m_helpLabel2;
82 wxRadioButton* m_rbFillNone;
83 wxRadioButton* m_rbFillOutline;
84 wxRadioButton* m_rbFillBackground;
85 wxRadioButton* m_rbFillCustom;
88 wxCheckBox* m_privateCheckbox;
91 wxStdDialogButtonSizer* m_sdbSizer;
92 wxButton* m_sdbSizerOK;
94
95 // Virtual event handlers, override them in your derived class
96 virtual void onBorderChecked( wxCommandEvent& event ) { event.Skip(); }
97 virtual void onFillChecked( wxCommandEvent& event ) { event.Skip(); }
98 virtual void onFillRadioButton( wxCommandEvent& event ) { event.Skip(); }
99
100
101 public:
102
103 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 );
104
106
107};
108
A simple color swatch of the kind used to set layer colors.
Definition: color_swatch.h:57
virtual void onFillRadioButton(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
A modified version of the wxInfoBar class that allows us to:
Definition: wx_infobar.h:76
#define _(s)