Go to the documentation of this file.
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);
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
wxCheckBox * invertedBox_
Checkbox widget for the inverted flag.
TTAMachine::FunctionUnit * selectedFU() const
wxChoice * nameChoice_
Choice widget for the function unit selection.
wxChoice * portChoice_
Choice widget for the port selection.
TTAMachine::Bus * bus_
Parent bus of the guard.
bool newInverted_
Modified inverted flag.
void onFUChoice(wxCommandEvent &event)
virtual bool TransferDataToWindow()
bool inverted_
Inverted flag for the guard.
void onCancel(wxCommandEvent &event)
FUGuardDialog(wxWindow *parent, TTAMachine::Bus *bus, TTAMachine::PortGuard *guard=NULL)
TTAMachine::FUPort * selectedPort() const
bool adding_
True if a new guard is being added, false otherwise.
void onOK(wxCommandEvent &event)
TTAMachine::FUPort * port_
Port of the guard.