Converting string to enum

Well,

you could do a switch on string or many if-blocks to get your enum based on the string.

Another idea could be to have a struct with enum and string as its member. Now instead of filling your combobox with strings, you fill it with a custom widget (f.e. ComboBox Item), this widget will have your struct as a member is is now able te return the string OR the enum.