Go to the documentation of this file.
32 #ifndef TTA_IU_DIALOG_HH
33 #define TTA_IU_DIALOG_HH
36 #include <wx/statline.h>
37 #include <wx/listctrl.h>
38 #include <wx/spinctrl.h>
61 void onOK(wxCommandEvent& event);
62 void onHelp(wxCommandEvent& event);
63 void onName(wxCommandEvent& event);
116 DECLARE_EVENT_TABLE()
void updateTemplateList()
void onPortRightClick(wxListEvent &event)
void onActivatePort(wxListEvent &event)
wxRadioBox * extensionBox_
Radio box for extension.
IUDialog(wxWindow *parent, TTAMachine::ImmediateUnit *immediateUnit)
wxString name_
Name of the immediate unit.
virtual bool TransferDataToWindow()
TTAMachine::Port * selectedPort() const
void onName(wxCommandEvent &event)
void onDeletePort(wxCommandEvent &event)
void onOK(wxCommandEvent &event)
TTAMachine::ImmediateUnit * immediateUnit_
Immediate unit to modify.
wxListCtrl * portList_
Port list control.
void onHelp(wxCommandEvent &event)
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
void onEditPort(wxCommandEvent &event)
void onPortSelection(wxListEvent &event)
int size_
Number of registers.
wxListCtrl * templateList_
Template list control.
wxStaticBoxSizer * portListSizer_
Sizer containing the port list and associated buttons.
void onAddPort(wxCommandEvent &event)
wxStaticBoxSizer * templateListSizer_
Sizer containing the template list.