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()
void setColumnImage(int col, int image)
void onAdd(wxCommandEvent &event)
bool acceptToList(const std::string hdbFilePath, const HDB::FUArchitecture &arch, const std::vector< std::string > &filterList)
wxTimer filterTimer_
Timer to postpone filtering while typing filter patterns.
std::vector< std::string > filterPatterns_
Keywords to filter HDB entries.
wxSearchCtrl * filterCtrl_
The list filter text control.
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
void onColumnClick(wxListEvent &event)
virtual ~AddFUFromHDBDialog()
void onFilterChange(wxCommandEvent &event)
void onFilterTimeOut(wxTimerEvent &event)
wxListCtrl * list_
Immediate slot list widget.
bool loadHDB(const HDB::HDBManager &manager)
virtual bool TransferDataToWindow()
static const wxString HDB_FILE_FILTER
File filter for HDB files.
std::map< int, HDB::FUArchitecture * > fuArchitectures_
Map of iu architectures displayed in the dialog list.
Model * model_
Model of the current adf file.
void onListSelectionChange(wxListEvent &event)
void onClose(wxCommandEvent &event)