7
class EnumComboBox : public QComboBox
11
explicit EnumComboBox(QWidget *parent = 0);
12
void addItems(QMap<int,QString> enumStrings);
14
void currentEnumIndexChanged(int type);
16
void setCurrentIndex(int type);
20
QMap<int,QString> myEnumString;
22
QStringList myIntString;
25
void onIndexChanged(int index);
28
#endif // ENUMCOMBOBOX_H