[Kmymoney-devel] QWizard and combobox values
Fernando Vilas
fvilas at iname.com
Tue Aug 24 02:10:39 CEST 2010
On Monday, August 23, 2010 08:52:18 Alvaro Soliverez wrote:
> Hello all,
> I'm trying to fix permanently the issue we had with the combobox using
> the string to match the value instead of the data index. eg.
> MyMoneySchedule::stringToOccurrence().
>
> For that, I need to store the value of data into the fields used by
> the QWizard, with RegisterField.
>
> However, so far I haven't had luck trying to link the field and the
> widget. It doesn't throw any errors, but the value of the field never
> changes. Even setting it manually doesn't change the value.
>
> Is there a trick or something to it?
>
If setField() is failing to set it, the changes may not be getting called. If
you put the code into initializePage(), it will only get called once because
IndependentPages is set.
--
Thanks,
Fernando Vilas
fvilas at iname.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100823/c3782c50/attachment.sig
More information about the KMyMoney-devel
mailing list