Go to the documentation of this file.
32 #ifndef TTA_SOCKET_DIALOG_HH
33 #define TTA_SOCKET_DIALOG_HH
36 #include <wx/valgen.h>
37 #include <wx/statline.h>
38 #include <wx/listctrl.h>
56 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
58 void onOK(wxCommandEvent&);
59 void onHelp(wxCommandEvent& event);
60 void onName(wxCommandEvent&);
101 DECLARE_EVENT_TABLE()
wxListCtrl * segmentListCtrl_
List control for all (bus, segment) pairs.
TTAMachine::Segment * segment(wxListCtrl *listCtrl, int index)
wxStaticBoxSizer * detachedSizer_
Static boxsizer containing the list of detached buses.
virtual bool TransferDataToWindow()
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
void onOK(wxCommandEvent &)
void onAttachedSelection(wxListEvent &)
void onHelp(wxCommandEvent &event)
void onDetachedSelection(wxListEvent &)
wxString name_
Name of the socket.
void onDirection(wxCommandEvent &)
void onDetach(wxCommandEvent &)
SocketDialog(wxWindow *parent, TTAMachine::Socket *socket)
MachineTester * tester_
MachineTester which does sanity checks for the target machine.
TTAMachine::Socket * socket_
Socket to modify.
void onAttach(wxCommandEvent &)
wxListCtrl * connectedListCtrl_
List control for connected (bus, segment) pairs.
void onName(wxCommandEvent &)
wxStaticBoxSizer * attachedSizer_
Static boxsizer containing the list of attached buses.
wxRadioBox * directionBox_
Radio box for direction.