[Kmymoney-devel] restoring QWidget::updatesEnabled property

Cristian Oneţ onet.cristian at gmail.com
Sun Jul 26 16:11:11 CEST 2009


În data de Duminică 26 Iulie 2009 16:06:27 Alvaro Soliverez a scris:
> > It is enough to explicitly enable the updates but I would prefer
> > disabling/restoring the updates in the transaction form only if that is
> > needed
> > (when they are not already disabled). That way when the updates on the
> > parent
> > widget are re-enabled they will also be re-enabled on the transaction
> > form.
>
> Can you emit a signal and connect it to a slot that will setUpdatesEnabled
> to true?
> That might do it.
What do you say about the attached patch instead of setting up a signal?

-- 
Regards,

Cristian Oneţ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: updates_enabled.patch
Type: text/x-patch
Size: 1365 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20090726/ed894781/attachment-0001.patch 
-------------- 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/20090726/ed894781/attachment-0001.sig 


More information about the KMyMoney-devel mailing list