KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_dimension_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 BITMAP_BUTTON;
14class FONT_CHOICE;
16
17#include "dialog_shim.h"
18#include <wx/string.h>
19#include <wx/stattext.h>
20#include <wx/gdicmn.h>
21#include <wx/font.h>
22#include <wx/colour.h>
23#include <wx/settings.h>
24#include <wx/textctrl.h>
25#include <wx/choice.h>
26#include <wx/bmpcbox.h>
27#include <wx/gbsizer.h>
28#include <wx/sizer.h>
29#include <wx/statbox.h>
30#include <wx/checkbox.h>
31#include <wx/bmpbuttn.h>
32#include <wx/bitmap.h>
33#include <wx/image.h>
34#include <wx/icon.h>
35#include <wx/button.h>
36#include <wx/combobox.h>
37#include <wx/dialog.h>
38
40
45{
46 private:
47
48 protected:
49 wxBoxSizer* m_mainSizer;
50 wxStaticBoxSizer* m_sizerLeader;
51 wxStaticText* m_lblLeaderValue;
52 wxTextCtrl* m_txtLeaderValue;
53 wxStaticText* m_lblTextFrame;
54 wxChoice* m_cbTextFrame;
55 wxStaticText* m_lblLeaderLayer;
57 wxStaticBoxSizer* m_sizerCenter;
58 wxStaticText* m_lblCenterLayer;
60 wxStaticBoxSizer* m_sizerFormat;
61 wxStaticText* m_lblValue;
62 wxTextCtrl* m_txtValue;
63 wxCheckBox* m_cbOverrideValue;
64 wxStaticText* m_lblUnits;
65 wxChoice* m_cbUnits;
66 wxStaticText* m_lblPrefix;
67 wxTextCtrl* m_txtPrefix;
68 wxStaticText* m_txtUnitsFormat;
69 wxChoice* m_cbUnitsFormat;
70 wxStaticText* m_lblSuffix;
71 wxTextCtrl* m_txtSuffix;
72 wxStaticText* m_lblPrecision;
73 wxStaticText* m_lblArrowDirection;
74 wxChoice* m_cbPrecision;
77 wxStaticText* m_lblLayer;
78 wxCheckBox* m_cbSuppressZeroes;
79 wxStaticText* m_lblPreview;
80 wxStaticText* m_staticTextPreview;
81 wxStaticBoxSizer* m_sizerText;
82 wxStaticText* m_fontLabel;
94 wxStaticText* m_lblTextWidth;
95 wxTextCtrl* m_txtTextWidth;
96 wxStaticText* m_lblTextWidthUnits;
97 wxStaticText* m_lblTextPosX;
98 wxTextCtrl* m_txtTextPosX;
99 wxStaticText* m_lblTextPosXUnits;
100 wxStaticText* m_lblTextHeight;
101 wxTextCtrl* m_txtTextHeight;
102 wxStaticText* m_lblTextHeightUnits;
103 wxStaticText* m_lblTextPosY;
104 wxTextCtrl* m_txtTextPosY;
105 wxStaticText* m_lblTextPosYUnits;
106 wxStaticText* m_lblTextThickness;
109 wxStaticText* m_lblTextOrientation;
113 wxCheckBox* m_cbKeepAligned;
114 wxStaticText* m_lblLineThickness;
117 wxStaticText* m_lblArrowLength;
118 wxTextCtrl* m_txtArrowLength;
120 wxStaticText* m_lblExtensionOffset;
126 wxStdDialogButtonSizer* m_sdbSizer;
127 wxButton* m_sdbSizerOK;
129
130 // Virtual event handlers, override them in your derived class
131 virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
132 virtual void OnDimensionUnitsChange( wxCommandEvent& event ) { event.Skip(); }
133 virtual void onFontSelected( wxCommandEvent& event ) { event.Skip(); }
134 virtual void onBoldToggle( wxCommandEvent& event ) { event.Skip(); }
135 virtual void onAlignButton( wxCommandEvent& event ) { event.Skip(); }
136 virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
137 virtual void onThickness( wxCommandEvent& event ) { event.Skip(); }
138
139
140 public:
141
142 DIALOG_DIMENSION_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Dimension Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSYSTEM_MENU );
143
145
146};
147
A bitmap button widget that behaves like an AUI toolbar item's button when it is drawn.
Definition: bitmap_button.h:42
Class DIALOG_DIMENSION_PROPERTIES_BASE.
virtual void onAlignButton(wxCommandEvent &event)
virtual void onThickness(wxCommandEvent &event)
virtual void onFontSelected(wxCommandEvent &event)
virtual void OnInitDlg(wxInitDialogEvent &event)
virtual void OnDimensionUnitsChange(wxCommandEvent &event)
virtual void OnOkClick(wxCommandEvent &event)
virtual void onBoldToggle(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
Class to display a pcb layer list in a wxBitmapComboBox.
#define _(s)