<br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 8:45 AM, tonyb <span dir="ltr"><<a href="mailto:tonyb.lx@ntlworld.com">tonyb.lx@ntlworld.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I just committed the changes to convert the 'Select Database' form from<br>
QDialog to KDialog.<br>
<br>
So that I could continue to use Designer, my approach was:<br>
<br>
1. Remove pushbuttons<br>
2. Change from QDialog to QWidget<br>
3. Set this a main widget in a KDialog.<br>
4. Make necessary coding changes.<br>
<br>
Was this a good approach? (I suppose I should have asked that before I<br>
started, but I'm a bit impetuous that way!) It seems to work.<br>
<br>
I wrote some notes on what I did, and made up a shell script to do the donkey<br>
work of generating the main widget pointers. I'll post them if anyone's<br>
interested.<br>
<br>
I still have two more dialogs (GNC importer ones) to do, so the notes may need<br>
some expansion.<br>
<font color="#888888"></font><br></blockquote></div><br>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?<br>
<br>Regards,<br>Alvaro<br>