--===============1137735523== Content-Type: multipart/signed; boundary="nextPart1722974.1EZ18lvck0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1722974.1EZ18lvck0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 27 September 2005 21:13, David Faure wrote: > On Tuesday 27 September 2005 19:58, Kevin Krammer wrote: > > On Tuesday 27 September 2005 17:26, David Faure wrote: > > > You need to go back to a QWidget, and maybe you need to implement its > > > "virtual QSize sizeHint() const" method, to give a reasonable default > > > size to the widget (if it doesn't have a layout). Check in code with > > > isVisible() whether it's actually shown... > > > And make sure it gets a non-0 parent widget. > > > > Hmm, are you sure it is not required to either change to a non-top-level > > base class or reparent the dialog based one to get it embedded? > > Yes, we agree, it is required to change back to a QWidget or derivative > instead of a QDialog, as I said. Using a QDialog in kparts makes no sense. Oh boy, sorry. I have no idea why I read/misunderstood it the first time. Shame on me ;) Cheers, Kevin =2D-=20 Kevin Krammer Qt/KDE Developer, Debian User Moderator: www.mrunix.de (German), www.qtforum.org --nextPart1722974.1EZ18lvck0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDOZx5nKMhG6pzZJIRAottAJ0UXz/CmYVDhihkpkHkpRsq8gyYMwCcDY63 zLoFCl9JFPYnlVDFRe32La4= =LZ4t -----END PGP SIGNATURE----- --nextPart1722974.1EZ18lvck0-- --===============1137735523== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline = >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib= e << --===============1137735523==--