KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_lib_shape_properties_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
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/button.h>
33#include <wx/dialog.h>
34
36
41{
43 private:
44
45 // Private event handlers
46 void _wxFB_onBorderChecked( wxCommandEvent& event ){ onBorderChecked( event ); }
47 void _wxFB_onFill( wxCommandEvent& event ){ onFill( event ); }
48
49
50 protected:
51 enum
52 {
53 NO_FILL = 1000,
57 };
58
60 wxCheckBox* m_checkBorder;
61 wxStaticText* m_borderWidthLabel;
62 wxTextCtrl* m_borderWidthCtrl;
63 wxStaticText* m_borderWidthUnits;
64 wxStaticText* m_borderColorLabel;
67 wxStaticText* m_borderStyleLabel;
68 wxBitmapComboBox* m_borderStyleCombo;
69 wxStaticText* m_helpLabel;
70 wxRadioButton* m_rbFillNone;
71 wxRadioButton* m_rbFillOutline;
72 wxRadioButton* m_rbFillBackground;
73 wxRadioButton* m_rbFillCustom;
75 wxCheckBox* m_privateCheckbox;
78 wxStdDialogButtonSizer* m_sdbSizer;
79 wxButton* m_sdbSizerOK;
81
82 // Virtual event handlers, override them in your derived class
83 virtual void onBorderChecked( wxCommandEvent& event ) { event.Skip(); }
84 virtual void onFill( wxCommandEvent& event ) { event.Skip(); }
85
86
87 public:
88
89 DIALOG_LIB_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 );
90
92
93};
94
A simple color swatch of the kind used to set layer colors.
Definition: color_swatch.h:57
Class DIALOG_LIB_SHAPE_PROPERTIES_BASE.
virtual void onBorderChecked(wxCommandEvent &event)
virtual void onFill(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
A modified version of the wxInfoBar class that allows us to:
Definition: wx_infobar.h:75
#define _(s)