35 #ifndef __QGoColorComboBox_h
36 #define __QGoColorComboBox_h
38 #include "QGoGUILibConfigure.h"
52 QWidget *iparent = 0, std::string iTextToDelete =
"");
63 void InitializeTheListWithColor(
64 std::list< ItemColorComboboxData > iDataFromList);
75 bool SelectTheAddedItem =
true);
83 void SetItemsFromListWithColor(
84 std::list< ItemColorComboboxData > iDataFromList);
102 virtual void ActionWhenNewOneRequested() = 0;
std::pair< std::string, QColor > ItemColorComboboxData
void ItemSelected(std::string)
virtual void EmitActivatedItem(int iIndexActivatedItem)
call the signal to send the index of the activated item.
inherits from Qt QCombobox but add a the end of the list of items, 1 or 2 items: the first one to add...
inherits from QGoComboBox, display not ony the names but also the QColor of the items as an Icon in t...