KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_router_save_test_case_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-115-g11c2dec8-dirty)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12DIALOG_ROUTER_SAVE_TEST_CASE_BASE::DIALOG_ROUTER_SAVE_TEST_CASE_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( wxSize( 500,-1 ), wxDefaultSize );
15
16 wxBoxSizer* bSizer10;
17 bSizer10 = new wxBoxSizer( wxVERTICAL );
18
19 wxFlexGridSizer* fgSizer2;
20 fgSizer2 = new wxFlexGridSizer( 2, 2, 0, 0 );
21 fgSizer2->AddGrowableCol( 1 );
22 fgSizer2->SetFlexibleDirection( wxHORIZONTAL );
23 fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
24
25 dirLabel = new wxStaticText( this, wxID_ANY, _("Test cases directory:"), wxDefaultPosition, wxDefaultSize, 0 );
26 dirLabel->Wrap( -1 );
27 fgSizer2->Add( dirLabel, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
28
29 m_testCaseDirCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
30 fgSizer2->Add( m_testCaseDirCtrl, 1, wxALL|wxEXPAND, 5 );
31
32 nameLabel = new wxStaticText( this, wxID_ANY, _("Test case name:"), wxDefaultPosition, wxDefaultSize, 0 );
33 nameLabel->Wrap( -1 );
34 fgSizer2->Add( nameLabel, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
35
36 m_testCaseNameCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
37 fgSizer2->Add( m_testCaseNameCtrl, 1, wxALL|wxEXPAND, 5 );
38
39
40 bSizer10->Add( fgSizer2, 1, wxEXPAND|wxALL, 5 );
41
42 wxBoxSizer* bSizer81;
43 bSizer81 = new wxBoxSizer( wxVERTICAL );
44
45 wxString m_rbTypeChoices[] = { _("Testcase (strict geometry)"), _("Testcase (connectivity only)"), _("Testcase (expected fail)"), _("Known bug") };
46 int m_rbTypeNChoices = sizeof( m_rbTypeChoices ) / sizeof( wxString );
47 m_rbType = new wxRadioBox( this, wxID_ANY, _("Type"), wxDefaultPosition, wxDefaultSize, m_rbTypeNChoices, m_rbTypeChoices, 1, wxRA_SPECIFY_COLS );
48 m_rbType->SetSelection( 0 );
49 bSizer81->Add( m_rbType, 0, wxALL, 5 );
50
51
52 bSizer10->Add( bSizer81, 0, 0, 5 );
53
54 m_sdbSizer2 = new wxStdDialogButtonSizer();
55 m_sdbSizer2OK = new wxButton( this, wxID_OK );
56 m_sdbSizer2->AddButton( m_sdbSizer2OK );
57 m_sdbSizer2Cancel = new wxButton( this, wxID_CANCEL );
58 m_sdbSizer2->AddButton( m_sdbSizer2Cancel );
59 m_sdbSizer2->Realize();
60
61 bSizer10->Add( m_sdbSizer2, 0, wxEXPAND, 5 );
62
63
64 this->SetSizer( bSizer10 );
65 this->Layout();
66 bSizer10->Fit( this );
67
68 this->Centre( wxBOTH );
69}
70
DIALOG_ROUTER_SAVE_TEST_CASE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Save Router Testcase"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
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)