From kde-devel Wed Aug 27 17:34:52 2003 From: Kevin Krammer Date: Wed, 27 Aug 2003 17:34:52 +0000 To: kde-devel Subject: Re: Kparts problem X-MARC-Message: https://marc.info/?l=kde-devel&m=106200585918967 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============95958127349138334==" --===============95958127349138334== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_9uOT/IQ6/e6+ag2"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_9uOT/IQ6/e6+ag2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Tuesday 26 August 2003 18:49, Thomas Schwarzgruber wrote: > Hello ! > > I just adopted a application from normal KDE3 to the KDE Parts scheme. > Everything worked fine, except one strange behavior of a widget. > > I've put all my different widgets into one class. If i instantiate from > this class in the constructor of my part, the widget seems to be in > front of the toolbar and is far too small. Now the strange thing: if i > make a qsplitter and set the qsplitter as widget (setWidget) and then > instantiate my class and child it to the qsplitter it shows my widget > correctly (beside that it is on the right side of the splitted view) Isn't this more a problem of the embedder? It has to add the widget returned by widget() to its layout. You just need to make sure your widget returns a proper sizeHint. Cheers, Kevin =2D-=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Kevin Krammer Developer at the Kmud Project http://www.kmud.de/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --Boundary-02=_9uOT/IQ6/e6+ag2 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA/TOu9nKMhG6pzZJIRAtoxAJ9NJOE6oBnrvoq9FtW+5/x8CKh6XwCeM04f m0VjpwqlazwbwpwCa/CKqY4= =Zj5+ -----END PGP SIGNATURE----- --Boundary-02=_9uOT/IQ6/e6+ag2-- --===============95958127349138334== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============95958127349138334==--