KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_image_properties_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12DIALOG_IMAGE_PROPERTIES_BASE::DIALOG_IMAGE_PROPERTIES_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
13{
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
15
16 wxBoxSizer* m_GeneralBoxSizer;
17 m_GeneralBoxSizer = new wxBoxSizer( wxVERTICAL );
18
19 m_Notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
20 m_PanelGeneral = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
21 wxBoxSizer* bSizerProperties;
22 bSizerProperties = new wxBoxSizer( wxVERTICAL );
23
24 wxStaticBoxSizer* sbSizerProperties;
25 sbSizerProperties = new wxStaticBoxSizer( new wxStaticBox( m_PanelGeneral, wxID_ANY, _("Position") ), wxVERTICAL );
26
27 wxFlexGridSizer* fgSizerPos;
28 fgSizerPos = new wxFlexGridSizer( 2, 3, 1, 0 );
29 fgSizerPos->AddGrowableCol( 1 );
30 fgSizerPos->AddGrowableRow( 0 );
31 fgSizerPos->SetFlexibleDirection( wxBOTH );
32 fgSizerPos->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
33
34 m_XPosLabel = new wxStaticText( sbSizerProperties->GetStaticBox(), wxID_ANY, _("X:"), wxDefaultPosition, wxDefaultSize, 0 );
35 m_XPosLabel->Wrap( -1 );
36 fgSizerPos->Add( m_XPosLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
37
38 m_ModPositionX = new wxTextCtrl( sbSizerProperties->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
39 fgSizerPos->Add( m_ModPositionX, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
40
41 m_XPosUnit = new wxStaticText( sbSizerProperties->GetStaticBox(), wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
42 m_XPosUnit->Wrap( -1 );
43 fgSizerPos->Add( m_XPosUnit, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
44
45 m_YPosLabel = new wxStaticText( sbSizerProperties->GetStaticBox(), wxID_ANY, _("Y:"), wxDefaultPosition, wxDefaultSize, 0 );
46 m_YPosLabel->Wrap( -1 );
47 fgSizerPos->Add( m_YPosLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
48
49 m_ModPositionY = new wxTextCtrl( sbSizerProperties->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
50 fgSizerPos->Add( m_ModPositionY, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxTOP, 1 );
51
52 m_YPosUnit = new wxStaticText( sbSizerProperties->GetStaticBox(), wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
53 m_YPosUnit->Wrap( -1 );
54 fgSizerPos->Add( m_YPosUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
55
56
57 sbSizerProperties->Add( fgSizerPos, 0, wxBOTTOM|wxEXPAND, 3 );
58
59
60 bSizerProperties->Add( sbSizerProperties, 1, wxALL|wxEXPAND, 5 );
61
62
63 m_PanelGeneral->SetSizer( bSizerProperties );
64 m_PanelGeneral->Layout();
65 bSizerProperties->Fit( m_PanelGeneral );
66 m_Notebook->AddPage( m_PanelGeneral, _("General"), false );
67
68 m_GeneralBoxSizer->Add( m_Notebook, 1, wxEXPAND | wxALL, 5 );
69
70 m_sdbSizerStdButtons = new wxStdDialogButtonSizer();
71 m_sdbSizerStdButtonsOK = new wxButton( this, wxID_OK );
73 m_sdbSizerStdButtonsCancel = new wxButton( this, wxID_CANCEL );
75 m_sdbSizerStdButtons->Realize();
76
77 m_GeneralBoxSizer->Add( m_sdbSizerStdButtons, 0, wxALL|wxEXPAND, 5 );
78
79
80 this->SetSizer( m_GeneralBoxSizer );
81 this->Layout();
82
83 this->Centre( wxBOTH );
84}
85
87{
88}
DIALOG_IMAGE_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Image Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(363, 281), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStdDialogButtonSizer * m_sdbSizerStdButtons
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
#define _(s)