[Kmymoney-devel] KDialog conversion

Alvaro Soliverez asoliverez at gmail.com
Tue Oct 6 21:48:48 CEST 2009


On Tue, Oct 6, 2009 at 8:45 AM, tonyb <tonyb.lx at ntlworld.com> wrote:

> I just committed the changes to convert the 'Select Database' form from
> QDialog to KDialog.
>
> So that I could continue to use Designer, my approach was:
>
> 1. Remove pushbuttons
> 2. Change from QDialog to QWidget
> 3. Set this a main widget in a KDialog.
> 4. Make necessary coding changes.
>
> Was this a good approach? (I suppose I should have asked that before I
> started, but I'm a bit impetuous that way!) It seems to work.
>
> I wrote some notes on what I did, and made up a shell script to do the
> donkey
> work of generating the main widget pointers. I'll post them if anyone's
> interested.
>
> I still have two more dialogs (GNC importer ones) to do, so the notes may
> need
> some expansion.
>
>
I don't have much experience with Designer myself. What's the reason to
change the QDialog to QWidget and then embed this into a KDialog? Can't you
change QDialog to KDialog directly?

Regards,
Alvaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kmymoney-devel/attachments/20091006/b92fc4e3/attachment.htm 


More information about the KMyMoney-devel mailing list