14DIALOG_EXPORT_NETLIST_BASE::DIALOG_EXPORT_NETLIST_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* bMainSizer;
19 bMainSizer =
new wxBoxSizer( wxVERTICAL );
21 wxBoxSizer* bUpperSizer;
22 bUpperSizer =
new wxBoxSizer( wxVERTICAL );
25 bSizer8 =
new wxBoxSizer( wxHORIZONTAL );
27 m_staticTextOutputPath =
new wxStaticText(
this, wxID_ANY,
_(
"Output path:"), wxDefaultPosition, wxDefaultSize, 0 );
31 m_outputPath =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
37 bUpperSizer->Add( bSizer8, 1, wxEXPAND, 5 );
43 bUpperSizer->Add(
m_NoteBook, 0, wxEXPAND|wxALL, 5 );
45 wxBoxSizer* bSizerMsgPanel;
46 bSizerMsgPanel =
new wxBoxSizer( wxVERTICAL );
52 bUpperSizer->Add( bSizerMsgPanel, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
55 bMainSizer->Add( bUpperSizer, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
75 bMainSizer->Add(
m_buttonSizer, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxTOP, 5 );
78 this->SetSizer( bMainSizer );
80 bMainSizer->Fit(
this );
82 this->Centre( wxBOTH );
99NETLIST_DIALOG_ADD_GENERATOR_BASE::NETLIST_DIALOG_ADD_GENERATOR_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
101 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
103 wxBoxSizer* bSizerMain;
104 bSizerMain =
new wxBoxSizer( wxVERTICAL );
106 wxBoxSizer* bSizerTop;
107 bSizerTop =
new wxBoxSizer( wxVERTICAL );
109 m_staticTextName =
new wxStaticText(
this, wxID_ANY,
_(
"Name:"), wxDefaultPosition, wxDefaultSize, 0 );
113 m_textCtrlName =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
114 bSizerTop->Add(
m_textCtrlName, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
116 m_staticTextCmd =
new wxStaticText(
this, wxID_ANY,
_(
"Command line to run the exporter:"), wxDefaultPosition, wxDefaultSize, 0 );
120 m_textCtrlCommand =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
126 bSizerMain->Add( bSizerTop, 1, wxEXPAND|wxALL, 5 );
128 wxBoxSizer* bSizerBottom;
129 bSizerBottom =
new wxBoxSizer( wxHORIZONTAL );
141 bSizerBottom->Add(
m_sdbSizer, 1, wxEXPAND, 5 );
144 bSizerMain->Add( bSizerBottom, 0, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 5 );
147 this->SetSizer( bSizerMain );
149 bSizerMain->Fit(
this );
151 this->Centre( wxBOTH );
wxStdDialogButtonSizer * m_sdbSizer2
wxStaticText * m_staticTextOutputPath
~DIALOG_EXPORT_NETLIST_BASE()
wxBoxSizer * m_buttonSizer
DIALOG_EXPORT_NETLIST_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Export Netlist"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnAddGenerator(wxCommandEvent &event)
wxButton * m_buttonDelGenerator
virtual void OnDelGenerator(wxCommandEvent &event)
WX_HTML_REPORT_PANEL * m_MessagesBox
wxTextCtrl * m_outputPath
wxButton * m_buttonAddGenerator
wxButton * m_sdbSizer2Cancel
virtual void OnNetlistTypeSelection(wxNotebookEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
wxButton * m_sdbSizerCancel
wxStaticText * m_staticTextCmd
NETLIST_DIALOG_ADD_GENERATOR_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Add Script-based Netlist Exporter"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxTextCtrl * m_textCtrlCommand
~NETLIST_DIALOG_ADD_GENERATOR_BASE()
virtual void OnBrowseGenerators(wxCommandEvent &event)
wxStaticText * m_staticTextName
wxStdDialogButtonSizer * m_sdbSizer
wxTextCtrl * m_textCtrlName
wxButton * m_buttonGenerator
A widget for browsing a rich text error/status report.
#define ID_CHANGE_NOTEBOOK_PAGE
#define wxID_BROWSE_PLUGINS