KiCad PCB EDA Suite
dialog_lib_shape_properties_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version Oct 26 2018)
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;
14
15#include "dialog_shim.h"
16#include <wx/string.h>
17#include <wx/checkbox.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
22#include <wx/stattext.h>
23#include <wx/textctrl.h>
24#include <wx/sizer.h>
25#include <wx/panel.h>
26#include <wx/bmpcbox.h>
27#include <wx/gbsizer.h>
28#include <wx/radiobut.h>
29#include <wx/statbox.h>
30#include <wx/statline.h>
31#include <wx/button.h>
32#include <wx/dialog.h>
33
35
40{
42 private:
43
44 // Private event handlers
45 void _wxFB_onBorderChecked( wxCommandEvent& event ){ onBorderChecked( event ); }
46 void _wxFB_onFill( wxCommandEvent& event ){ onFill( event ); }
47
48
49 protected:
50 enum
51 {
52 NO_FILL = 1000,
56 };
57
58 wxCheckBox* m_checkBorder;
59 wxStaticText* m_borderWidthLabel;
60 wxTextCtrl* m_borderWidthCtrl;
61 wxStaticText* m_borderWidthUnits;
62 wxStaticText* m_borderColorLabel;
65 wxStaticText* m_borderStyleLabel;
66 wxBitmapComboBox* m_borderStyleCombo;
67 wxStaticText* m_helpLabel;
68 wxRadioButton* m_rbFillNone;
69 wxRadioButton* m_rbFillOutline;
70 wxRadioButton* m_rbFillBackground;
71 wxRadioButton* m_rbFillCustom;
73 wxCheckBox* m_privateCheckbox;
76 wxStaticLine* m_staticline;
77 wxStdDialogButtonSizer* m_sdbSizer;
78 wxButton* m_sdbSizerOK;
80
81 // Virtual event handlers, overide them in your derived class
82 virtual void onBorderChecked( wxCommandEvent& event ) { event.Skip(); }
83 virtual void onFill( wxCommandEvent& event ) { event.Skip(); }
84
85
86 public:
87
88 DIALOG_LIB_SHAPE_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Drawing Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
90
91};
92
A simple color swatch of the kind used to set layer colors.
Definition: color_swatch.h:57
Class DIALOG_LIB_SHAPE_PROPERTIES_BASE.
DIALOG_LIB_SHAPE_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Drawing Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
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
#define _(s)