Go to the documentation of this file.
33 #ifndef TTA_ADD_IU_FROM_HDB_DIALOG_HH
34 #define TTA_ADD_IU_FROM_HDB_DIALOG_HH
38 #include <wx/listctrl.h>
68 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
70 void onAdd(wxCommandEvent& event);
71 void onClose(wxCommandEvent& event);
72 bool loadHDB(
const std::string& path);
102 DECLARE_EVENT_TABLE()
virtual ~AddIUFromHDBDialog()
bool loadHDB(const std::string &path)
void onAdd(wxCommandEvent &event)
static const TTAMachine::Machine::Extension DEFAULT_EXTENSION_MODE
Default extension mode for the immediate unit.
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
static const int DEFAULT_WIDTH
Default width for the IU, if the size is parameterized in the HDB.
static const wxString HDB_FILE_FILTER
File filter for HDB files.
Model * model_
Model of the current adf file.
void setColumnImage(int col, int image)
wxListCtrl * list_
Immediate slot list widget.
void onColumnClick(wxListEvent &event)
AddIUFromHDBDialog(wxWindow *parent, Model *model)
virtual bool TransferDataToWindow()
std::map< int, HDB::RFArchitecture * > iuArchitectures_
Map of iu architectures displayed in the dialog list.
void onListSelectionChange(wxListEvent &event)
static const int DEFAULT_SIZE
Default size for the IU, if the size is parameterized in the HDB.
void onClose(wxCommandEvent &event)