12DIALOG_MULTICHANNEL_REPEAT_LAYOUT_BASE::DIALOG_MULTICHANNEL_REPEAT_LAYOUT_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
14 this->SetSizeHints( wxSize( 800,-1 ), wxDefaultSize );
19 wxFlexGridSizer* fgSizer3;
20 fgSizer3 =
new wxFlexGridSizer( 0, 1, 0, 0 );
21 fgSizer3->AddGrowableCol( 0 );
22 fgSizer3->AddGrowableRow( 2 );
23 fgSizer3->SetFlexibleDirection( wxBOTH );
24 fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
26 fgSizer3->SetMinSize( wxSize( 800,300 ) );
27 m_staticText4 =
new wxStaticText(
this, wxID_ANY,
_(
"Target areas:"), wxDefaultPosition, wxDefaultSize, 0 );
31 m_raGrid =
new wxGrid(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
37 m_raGrid->EnableDragGridSize(
false );
44 m_raGrid->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
49 m_raGrid->SetRowLabelSize( wxGRID_AUTOSIZE );
50 m_raGrid->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
55 m_raGrid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
56 fgSizer3->Add(
m_raGrid, 1, wxALL|wxEXPAND, 5 );
59 bSizer4 =
new wxBoxSizer( wxHORIZONTAL );
61 m_staticText1 =
new wxStaticText(
this, wxID_ANY,
_(
"Reference Rule Area:"), wxDefaultPosition, wxDefaultSize, 0 );
63 bSizer4->Add(
m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
65 m_refRAName =
new wxStaticText(
this, wxID_ANY,
_(
"MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
67 m_refRAName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD,
false, wxEmptyString ) );
69 bSizer4->Add(
m_refRAName, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
72 fgSizer3->Add( bSizer4, 1, wxEXPAND, 5 );
75 bSizer13 =
new wxBoxSizer( wxVERTICAL );
77 m_cbCopyPlacement =
new wxCheckBox(
this, wxID_ANY,
_(
"Copy placement"), wxDefaultPosition, wxDefaultSize, 0 );
80 m_cbCopyRouting =
new wxCheckBox(
this, wxID_ANY,
_(
"Copy routing"), wxDefaultPosition, wxDefaultSize, 0 );
83 m_cbGroupItems =
new wxCheckBox(
this, wxID_ANY,
_(
"Group components with their placement rule areas"), wxDefaultPosition, wxDefaultSize, 0 );
89 m_cbIncludeOffRAComponents =
new wxCheckBox(
this, wxID_ANY,
_(
"Include components outside the target area"), wxDefaultPosition, wxDefaultSize, 0 );
93 fgSizer3->Add( bSizer13, 1, wxEXPAND, 5 );
95 wxBoxSizer* bottomButtonsSizer;
96 bottomButtonsSizer =
new wxBoxSizer( wxHORIZONTAL );
99 bottomButtonsSizer->Add( 10, 0, 0, 0, 5 );
111 fgSizer3->Add( bottomButtonsSizer, 0, wxEXPAND|wxLEFT, 5 );
wxStaticText * m_refRAName
wxBoxSizer * m_GeneralBoxSizer
wxStdDialogButtonSizer * m_sdbSizerStdButtons
wxStaticText * m_staticText1
DIALOG_MULTICHANNEL_REPEAT_LAYOUT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Repeat Multichannel Layout"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxButton * m_sdbSizerStdButtonsCancel
wxStaticText * m_staticText4
wxButton * m_sdbSizerStdButtonsOK
wxCheckBox * m_cbCopyRouting
wxCheckBox * m_cbGroupItems
virtual void OnInitDlg(wxInitDialogEvent &event)
wxCheckBox * m_cbCopyPlacement
wxCheckBox * m_cbIncludeLockedComponents
virtual void OnUpdateUI(wxUpdateUIEvent &event)
~DIALOG_MULTICHANNEL_REPEAT_LAYOUT_BASE()
wxCheckBox * m_cbIncludeOffRAComponents
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...