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 4.2.1-0-g80c4cb6)
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* bMainSizer;
17 bMainSizer = new wxBoxSizer( wxVERTICAL );
18
19
20 bMainSizer->Add( 0, 5, 0, wxEXPAND, 5 );
21
22 wxFlexGridSizer* fgSizerPos;
23 fgSizerPos = new wxFlexGridSizer( 2, 3, 1, 0 );
24 fgSizerPos->AddGrowableCol( 1 );
25 fgSizerPos->AddGrowableRow( 0 );
26 fgSizerPos->SetFlexibleDirection( wxBOTH );
27 fgSizerPos->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
28
29 m_XPosLabel = new wxStaticText( this, wxID_ANY, _("Position X:"), wxDefaultPosition, wxDefaultSize, 0 );
30 m_XPosLabel->Wrap( -1 );
31 fgSizerPos->Add( m_XPosLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
32
33 m_ModPositionX = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
34 fgSizerPos->Add( m_ModPositionX, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
35
36 m_XPosUnit = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
37 m_XPosUnit->Wrap( -1 );
38 fgSizerPos->Add( m_XPosUnit, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
39
40 m_YPosLabel = new wxStaticText( this, wxID_ANY, _("Position Y:"), wxDefaultPosition, wxDefaultSize, 0 );
41 m_YPosLabel->Wrap( -1 );
42 fgSizerPos->Add( m_YPosLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
43
44 m_ModPositionY = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
45 fgSizerPos->Add( m_ModPositionY, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxTOP, 1 );
46
47 m_YPosUnit = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
48 m_YPosUnit->Wrap( -1 );
49 fgSizerPos->Add( m_YPosUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
50
51
52 bMainSizer->Add( fgSizerPos, 0, wxEXPAND|wxALL, 8 );
53
54 m_imageSizer = new wxBoxSizer( wxVERTICAL );
55
56 m_imageSizer->SetMinSize( wxSize( 360,-1 ) );
57
58 bMainSizer->Add( m_imageSizer, 1, wxEXPAND, 5 );
59
60 m_sdbSizerStdButtons = new wxStdDialogButtonSizer();
61 m_sdbSizerStdButtonsOK = new wxButton( this, wxID_OK );
63 m_sdbSizerStdButtonsCancel = new wxButton( this, wxID_CANCEL );
65 m_sdbSizerStdButtons->Realize();
66
67 bMainSizer->Add( m_sdbSizerStdButtons, 0, wxALL|wxEXPAND, 5 );
68
69
70 this->SetSizer( bMainSizer );
71 this->Layout();
72 bMainSizer->Fit( this );
73
74 this->Centre( wxBOTH );
75}
76
DIALOG_IMAGE_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Image Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStdDialogButtonSizer * m_sdbSizerStdButtons
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
#define _(s)