Go to the documentation of this file.
33 #ifndef TTA_ADD_FU_FROM_HDB_DIALOG_HH
34 #define TTA_ADD_FU_FROM_HDB_DIALOG_HH
41 #include <wx/listctrl.h>
71 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
73 void onAdd(wxCommandEvent& event);
74 void onClose(wxCommandEvent& event);
77 const std::string hdbFilePath,
79 const std::vector<std::string>& filterList);
114 DECLARE_EVENT_TABLE()
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
void setColumnImage(int col, int image)
bool acceptToList(const std::string hdbFilePath, const HDB::FUArchitecture &arch, const std::vector< std::string > &filterList)
void onColumnClick(wxListEvent &event)
void onListSelectionChange(wxListEvent &event)
wxListCtrl * list_
Immediate slot list widget.
AddFUFromHDBDialog(wxWindow *parent, Model *model)
bool loadHDB(const HDB::HDBManager &manager)
void onFilterChange(wxCommandEvent &event)
std::vector< std::string > filterPatterns_
Keywords to filter HDB entries.
Model * model_
Model of the current adf file.
virtual bool TransferDataToWindow()
wxSearchCtrl * filterCtrl_
The list filter text control.
virtual ~AddFUFromHDBDialog()
void onClose(wxCommandEvent &event)
wxTimer filterTimer_
Timer to postpone filtering while typing filter patterns.
std::map< int, HDB::FUArchitecture * > fuArchitectures_
Map of iu architectures displayed in the dialog list.
void onAdd(wxCommandEvent &event)
static const wxString HDB_FILE_FILTER
File filter for HDB files.
void onFilterTimeOut(wxTimerEvent &event)