Hi all,

I have implemented a QWizard with several pages which have combo boxes.
I fill the boxes itemData fields (with ints), because I don't need the index of the selected item but the ints I put into the itemData.
With registerField() I can nicely get the current index, because QWizard automatically delivers it with an internal mechanism.

Is there a possibility to tell registerField() to store the QVariant of the itemData instead of the currentIndex().

If not, my solution would be, to store a list of the ints I put into the itemData, implement a Get function for the list and look up the int with the currentIndex I can retrieve with the field() method.
Or to drop the registerField() method and use my own signals to deliver the itemData of a comboBox from the current page to the QWizard instance and use Get methods to retrieve it from the outside.

What 's the best method here?

Any hint appreciated.

Thanks,

Rainer