14DIALOG_REFERENCE_IMAGE_PROPERTIES_BASE::DIALOG_REFERENCE_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 )
16 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
18 wxBoxSizer* m_GeneralBoxSizer;
19 m_GeneralBoxSizer =
new wxBoxSizer( wxVERTICAL );
21 m_Notebook =
new wxNotebook(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
23 wxBoxSizer* bSizerProperties;
24 bSizerProperties =
new wxBoxSizer( wxVERTICAL );
26 wxGridBagSizer* gbSizer1;
27 gbSizer1 =
new wxGridBagSizer( 3, 5 );
28 gbSizer1->SetFlexibleDirection( wxBOTH );
29 gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
30 gbSizer1->SetEmptyCellSize( wxSize( -1,5 ) );
34 gbSizer1->Add(
m_XPosLabel, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
37 gbSizer1->Add(
m_ModPositionX, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
41 gbSizer1->Add(
m_XPosUnit, wxGBPosition( 0, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
45 gbSizer1->Add(
m_YPosLabel, wxGBPosition( 1, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
48 gbSizer1->Add(
m_ModPositionY, wxGBPosition( 1, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
52 gbSizer1->Add(
m_YPosUnit, wxGBPosition( 1, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
56 gbSizer1->Add(
m_LayerLabel, wxGBPosition( 2, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
59 gbSizer1->Add(
m_LayerSelectionCtrl, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
62 gbSizer1->Add(
m_cbLocked, wxGBPosition( 4, 0 ), wxGBSpan( 1, 3 ), wxALIGN_CENTER_VERTICAL, 5 );
65 gbSizer1->AddGrowableCol( 1 );
66 gbSizer1->AddGrowableRow( 0 );
68 bSizerProperties->Add( gbSizer1, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
76 m_GeneralBoxSizer->Add(
m_Notebook, 1, wxEXPAND|wxALL, 10 );
88 this->SetSizer( m_GeneralBoxSizer );
90 m_GeneralBoxSizer->Fit(
this );
92 this->Centre( wxBOTH );
wxStdDialogButtonSizer * m_sdbSizerStdButtons
wxTextCtrl * m_ModPositionY
PCB_LAYER_BOX_SELECTOR * m_LayerSelectionCtrl
wxStaticText * m_LayerLabel
wxButton * m_sdbSizerStdButtonsOK
wxStaticText * m_YPosUnit
wxStaticText * m_YPosLabel
wxButton * m_sdbSizerStdButtonsCancel
wxTextCtrl * m_ModPositionX
wxStaticText * m_XPosLabel
wxStaticText * m_XPosUnit
~DIALOG_REFERENCE_IMAGE_PROPERTIES_BASE()
DIALOG_REFERENCE_IMAGE_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Reference Image Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Class to display a pcb layer list in a wxBitmapComboBox.