Is there a simple way to create a spinbox in PyQt4 whose varying values are strings? I want to create a spinbox which varies between 'low', 'medium' and 'high'. I've looked around and can't find anything that doesn't look very complicated. In Tkinter it might look trivially like:
self.my_wordy_spinbox = Spinbox(parent,
values = ['Medium', 'High', 'Low'],
textvariable = self.object_strength)
I noticed in the documentation it said "QSpinBox is designed to handle integers and discrete sets of values (e.g., month names)" which I thought might lead to strings but I couldn't find any more on that. I'm tempted to use a combobox instead but I feel that the spinbox would be more appropriate.