QWizard and default property
Unsolved
General and Desktop
-
Hi
I have a class derived from QWizard.
In the constructor for this class I have the following linesetDefaultProperty("QComboBox","currentText","currentIndexChanged");
In my wizard page I have the following
registerField("toolSystemComboBox", ui->m_toolSystemComboBox);
But when I retrieve the field value it is using the current index of the combox box and not the current text
QString s = field("toolSystemComboBox").toString(); // makes s equal the position in the combo box
can anyone suggest what I have missed?
Thanks
-
setDefaultProperty("QComboBox","currentText","currentTextChanged");
-
This is weird. Could you show me the source code please? so I can test it and try to figure it out.