341 wxWindow *parent,
bool call_fit,
bool set_sizer) {
343 wxBoxSizer *item0 =
new wxBoxSizer( wxVERTICAL );
344 wxFlexGridSizer *item1 =
new wxFlexGridSizer( 2, 0, 0 );
347 wxStaticText *item2 =
348 new wxStaticText( parent, -1, wxT(
"Name:"),
349 wxDefaultPosition, wxDefaultSize, 0 );
350 item1->Add( item2, 0, wxALIGN_RIGHT|wxALL, 5 );
352 new wxTextCtrl(parent,
ID_NAME, wxT(
""), wxDefaultPosition,
354 wxTextValidator(wxFILTER_ASCII, &
name_) );
355 item1->Add( item3, 0, wxALIGN_CENTER|wxALL, 5 );
358 wxStaticText *item4 =
359 new wxStaticText(parent, -1, wxT(
"Input Socket:"),
360 wxDefaultPosition, wxDefaultSize, 0);
361 item1->Add( item4, 0, wxALIGN_RIGHT|wxALL, 5 );
362 wxString *strs5 = (wxString*) NULL;
365 wxSize(100,-1), 0, strs5, 0);
370 wxStaticText *item6 =
371 new wxStaticText(parent, -1, wxT(
"Output Socket:"),
372 wxDefaultPosition, wxDefaultSize, 0);
373 item1->Add( item6, 0, wxALIGN_RIGHT|wxALL, 5 );
374 wxString *strs7 = (wxString*) NULL;
377 wxSize(100,-1), 0, strs7, 0);
380 item0->Add( item1, 0, wxGROW|wxALL, 5 );
381 wxStaticLine *item8 =
382 new wxStaticLine(parent, -1, wxDefaultPosition, wxSize(20,-1),
384 item0->Add( item8, 0, wxGROW|wxALL, 5 );
385 wxBoxSizer *item9 =
new wxBoxSizer( wxHORIZONTAL );
389 new wxButton(parent,
ID_HELP, wxT(
"&Help"), wxDefaultPosition,
391 item9->Add( item10, 0, wxALIGN_CENTER|wxALL, 5 );
394 new wxButton(parent, wxID_OK, wxT(
"&OK"), wxDefaultPosition,
396 item9->Add( item11, 0, wxALIGN_CENTER|wxALL, 5 );
398 new wxButton(parent, wxID_CANCEL, wxT(
"&Cancel"), wxDefaultPosition,
400 item9->Add( item12, 0, wxALIGN_CENTER|wxALL, 5 );
401 item0->Add( item9, 0, wxALIGN_CENTER|wxALL, 5 );
404 parent->SetAutoLayout(
TRUE );
405 parent->SetSizer( item0 );
408 item0->Fit( parent );
409 item0->SetSizeHints( parent );
static GUITextGenerator * instance()
static ProDeTextGenerator * instance()
@ MSG_ERROR_ILLEGAL_NAME
Error: Illegal component name.
@ TXT_LABEL_NAME
Label for component name widget.
@ COMP_REGISTER_FILE
Register file (w/o article).
@ TXT_LABEL_INPUT_SOCKET
Label for input socket selector.
@ TXT_RF_PORT_DIALOG_TITLE
Register file port Dialog title.
@ TXT_LABEL_OUTPUT_SOCKET
Label for output socket selector.
@ COMP_PORT
Name for port (w/o article).
@ COMP_A_PORT
Name for port (w/ article).
virtual boost::format text(int textId)