32#ifndef TTA_FU_GUARD_DIALOG_HH
33#define TTA_FU_GUARD_DIALOG_HH
57 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
59 void onOK(wxCommandEvent& event);
60 void onCancel(wxCommandEvent& event);
bool adding_
True if a new guard is being added, false otherwise.
void onCancel(wxCommandEvent &event)
wxCheckBox * invertedBox_
Checkbox widget for the inverted flag.
virtual bool TransferDataToWindow()
void onOK(wxCommandEvent &event)
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
TTAMachine::FunctionUnit * selectedFU() const
bool inverted_
Inverted flag for the guard.
wxChoice * portChoice_
Choice widget for the port selection.
wxChoice * nameChoice_
Choice widget for the function unit selection.
TTAMachine::FUPort * selectedPort() const
bool newInverted_
Modified inverted flag.
void onFUChoice(wxCommandEvent &event)
TTAMachine::Bus * bus_
Parent bus of the guard.
TTAMachine::FUPort * port_
Port of the guard.