285 wxWindow *parent,
bool call_fit,
bool set_sizer) {
287 wxBoxSizer *item0 =
new wxBoxSizer( wxVERTICAL );
289 wxFlexGridSizer *item1 =
new wxFlexGridSizer( 2, 0, 0 );
291 wxStaticText *item2 =
new wxStaticText( parent,
ID_LABEL_NAME, wxT(
"Name:"), wxDefaultPosition, wxDefaultSize, 0 );
292 item1->Add( item2, 0, wxALIGN_RIGHT|wxALL, 5 );
294 wxTextCtrl *item3 =
new wxTextCtrl( parent,
ID_NAME, wxT(
""), wxDefaultPosition, wxSize(140,-1), 0 );
295 item1->Add( item3, 0, wxGROW|wxALL, 5 );
297 wxStaticText *item4 =
new wxStaticText( parent,
ID_LABEL_OUTPUT_SOCKET, wxT(
"Output Socket"), wxDefaultPosition, wxDefaultSize, 0 );
298 item1->Add( item4, 0, wxALIGN_RIGHT|wxALL, 5 );
300 wxString *strs5 = (wxString*) NULL;
301 wxChoice *item5 =
new wxChoice( parent,
ID_OUTPUT_SOCKET, wxDefaultPosition, wxSize(100,-1), 0, strs5, 0 );
302 item1->Add( item5, 0, wxGROW|wxALL, 5 );
304 item0->Add( item1, 0, wxGROW|wxALL, 5 );
306 wxStaticLine *item6 =
new wxStaticLine( parent,
ID_LINE, wxDefaultPosition, wxSize(20,-1), wxLI_HORIZONTAL );
307 item0->Add( item6, 0, wxGROW|wxALL, 5 );
309 wxBoxSizer *item7 =
new wxBoxSizer( wxHORIZONTAL );
311 wxButton *item8 =
new wxButton( parent,
ID_HELP, wxT(
"&Help"), wxDefaultPosition, wxDefaultSize, 0 );
312 item7->Add( item8, 0, wxALIGN_CENTER|wxALL, 5 );
314 wxButton *item9 =
new wxButton( parent, wxID_OK, wxT(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
315 item7->Add( item9, 0, wxALIGN_CENTER|wxALL, 5 );
317 wxButton *item10 =
new wxButton( parent, wxID_CANCEL, wxT(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
318 item7->Add( item10, 0, wxALIGN_CENTER|wxALL, 5 );
320 item0->Add( item7, 0, wxALIGN_CENTER|wxALL, 5 );
324 parent->SetSizer( item0 );
326 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.
@ TXT_LABEL_OUTPUT_SOCKET
Label for output socket selector.
@ COMP_PORT
Name for port (w/o article).
@ COMP_IMMEDIATE_UNIT
Immediate unit (w/o article).
@ COMP_A_PORT
Name for port (w/ article).
@ TXT_IU_PORT_DIALOG_TITLE
Immediate unit port dialog title.
virtual boost::format text(int textId)