KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_gerbview_display_options_base.cpp
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
9
11
12PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : RESETTABLE_PANEL( parent, id, pos, size, style, name )
13{
14 wxBoxSizer* bDialogSizer;
15 bDialogSizer = new wxBoxSizer( wxVERTICAL );
16
17 m_UpperSizer = new wxBoxSizer( wxHORIZONTAL );
18
19 m_galOptionsSizer = new wxBoxSizer( wxVERTICAL );
20
21
22 m_UpperSizer->Add( m_galOptionsSizer, 0, wxEXPAND|wxRIGHT, 20 );
23
24 wxBoxSizer* bRightSizer;
25 bRightSizer = new wxBoxSizer( wxVERTICAL );
26
27 m_staticText1 = new wxStaticText( this, wxID_ANY, _("Annotations"), wxDefaultPosition, wxDefaultSize, 0 );
28 m_staticText1->Wrap( -1 );
29 bRightSizer->Add( m_staticText1, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 13 );
30
31 m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
32 bRightSizer->Add( m_staticline1, 0, wxEXPAND|wxBOTTOM, 5 );
33
34 wxBoxSizer* bAnnotationsSizer;
35 bAnnotationsSizer = new wxBoxSizer( wxVERTICAL );
36
37 m_OptDisplayDCodes = new wxCheckBox( this, wxID_ANY, _("Show D codes"), wxDefaultPosition, wxDefaultSize, 0 );
38 m_OptDisplayDCodes->SetValue(true);
39 bAnnotationsSizer->Add( m_OptDisplayDCodes, 0, wxTOP|wxBOTTOM|wxLEFT, 5 );
40
41 m_ShowPageLimitsOpt = new wxCheckBox( this, wxID_ANY, _("Show page limits"), wxDefaultPosition, wxDefaultSize, 0 );
42 bAnnotationsSizer->Add( m_ShowPageLimitsOpt, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
43
44
45 bRightSizer->Add( bAnnotationsSizer, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
46
47
48 bRightSizer->Add( 0, 15, 0, wxEXPAND, 5 );
49
50 m_staticText2 = new wxStaticText( this, wxID_ANY, _("Drawing Mode"), wxDefaultPosition, wxDefaultSize, 0 );
51 m_staticText2->Wrap( -1 );
52 bRightSizer->Add( m_staticText2, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
53
54 m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
55 bRightSizer->Add( m_staticline2, 0, wxEXPAND|wxBOTTOM, 5 );
56
57 wxBoxSizer* bDrawingModeSizer;
58 bDrawingModeSizer = new wxBoxSizer( wxVERTICAL );
59
60 m_OptDisplayFlashedItems = new wxCheckBox( this, wxID_ANY, _("Sketch flashed items"), wxDefaultPosition, wxDefaultSize, 0 );
61 m_OptDisplayFlashedItems->SetToolTip( _("Display flashed items (items drawn using standard or macro apertures) in outlines mode") );
62
63 bDrawingModeSizer->Add( m_OptDisplayFlashedItems, 0, wxALL, 5 );
64
65 m_OptDisplayLines = new wxCheckBox( this, wxID_ANY, _("Sketch lines"), wxDefaultPosition, wxDefaultSize, 0 );
66 bDrawingModeSizer->Add( m_OptDisplayLines, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
67
68 m_OptDisplayPolygons = new wxCheckBox( this, wxID_ANY, _("Sketch polygons"), wxDefaultPosition, wxDefaultSize, 0 );
69 m_OptDisplayPolygons->SetValue(true);
70 m_OptDisplayPolygons->SetToolTip( _("Display polygon items in outline mode") );
71
72 bDrawingModeSizer->Add( m_OptDisplayPolygons, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
73
74 wxStaticBoxSizer* sbSizerOpacity;
75 sbSizerOpacity = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Forced Opacity Display Mode") ), wxHORIZONTAL );
76
77 m_staticTextOpacity = new wxStaticText( sbSizerOpacity->GetStaticBox(), wxID_ANY, _("Forced opacity:"), wxDefaultPosition, wxDefaultSize, 0 );
78 m_staticTextOpacity->Wrap( -1 );
79 m_staticTextOpacity->SetToolTip( _("Opacity in forced opacity display mode") );
80
81 sbSizerOpacity->Add( m_staticTextOpacity, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
82
83 m_spOpacityCtrl = new wxSpinCtrlDouble( sbSizerOpacity->GetStaticBox(), wxID_ANY, wxT("0.6"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0.2, 1, 0.600000, 0.1 );
84 m_spOpacityCtrl->SetDigits( 2 );
85 sbSizerOpacity->Add( m_spOpacityCtrl, 0, wxALL, 5 );
86
87
88 bDrawingModeSizer->Add( sbSizerOpacity, 1, wxEXPAND|wxTOP, 5 );
89
90
91 bRightSizer->Add( bDrawingModeSizer, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
92
93
94 bRightSizer->Add( 0, 15, 0, wxEXPAND, 5 );
95
96 m_staticText3 = new wxStaticText( this, wxID_ANY, _("Page Size"), wxDefaultPosition, wxDefaultSize, 0 );
97 m_staticText3->Wrap( -1 );
98 bRightSizer->Add( m_staticText3, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 13 );
99
100 m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
101 bRightSizer->Add( m_staticline3, 0, wxEXPAND|wxBOTTOM, 5 );
102
103 wxBoxSizer* bPageSizeSizer;
104 bPageSizeSizer = new wxBoxSizer( wxVERTICAL );
105
106 wxBoxSizer* bMargins;
107 bMargins = new wxBoxSizer( wxVERTICAL );
108
109 wxString m_PageSizeChoices[] = { _("Full size"), _("Size A4"), _("Size A3"), _("Size A2"), _("Size A"), _("Size B"), _("Size C") };
110 int m_PageSizeNChoices = sizeof( m_PageSizeChoices ) / sizeof( wxString );
111 m_PageSize = new wxRadioBox( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, m_PageSizeNChoices, m_PageSizeChoices, 1, wxRA_SPECIFY_COLS );
112 m_PageSize->SetSelection( 0 );
113 bMargins->Add( m_PageSize, 0, wxEXPAND|wxALL, 5 );
114
115
116 bPageSizeSizer->Add( bMargins, 0, wxEXPAND|wxRIGHT, 10 );
117
118
119 bRightSizer->Add( bPageSizeSizer, 0, wxEXPAND|wxTOP|wxRIGHT, 5 );
120
121
122 m_UpperSizer->Add( bRightSizer, 0, wxEXPAND|wxLEFT, 5 );
123
124
125 bDialogSizer->Add( m_UpperSizer, 1, wxEXPAND, 5 );
126
127
128 this->SetSizer( bDialogSizer );
129 this->Layout();
130}
131
133{
134}
const char * name
Definition: DXF_plotter.cpp:57
PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(257, 534), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
A wxPanel that is designed to be reset in a standard manner.
#define _(s)