--===============0863622742== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_8hYhE7WZ3d5VDtM"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_8hYhE7WZ3d5VDtM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 06 June 2006 15:08, chauchot.etienne@free.fr wrote: > Hi, > > I am developping a KDE applicaiion using KDE 3.5 and QT 3.3. This is my > first KDE application. > > I find difficulties to make a child widget of my Tab pages appear: > > From memory, my source looks like: > > mainWin is a KMainWindow > > QTabWidget *tabs =3D new QTabWidget(mainWin); > QVBox *tab =3D new QVBox(tabs); > QLabel *label =3D new QLabel("test", tab); > tabs->addTab(tab, "page1"); > mainWin->show(); > > The application is launching well, tab page "page1" appears but there is = no > label visible in page1 containing the text "test" > > What have I forgotten? I have currently no access to my dev system with the docs, but being in the= =20 same situation as you in the past, I used Qt designer to create a sample=20 widget and see what code it produces. Maybe that helps. =2D-=20 Regards Thomas Baumgart thb@net-bembel.de Check the KMyMoney open source http://www.net-bembel.de/ project at http://kmymoney2.sf.net/ GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA =2D------------------------------------------------------------ 'I used *that other operating system* (now to be considered open source? ) for some years' - anonymous source =2D------------------------------------------------------------ --Boundary-02=_8hYhE7WZ3d5VDtM Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBEhYh8nFnbQLdd07oRAhnjAJ4h8DDvWBB36qvdOHk7ZHc8GnjkRQCePZme ZoWdXBiCd5l9AM5vbfSpxw0= =qfSx -----END PGP SIGNATURE----- --Boundary-02=_8hYhE7WZ3d5VDtM-- --===============0863622742== 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 << --===============0863622742==--