From kde-devel Wed Jun 07 10:48:38 2006 From: chauchot.etienne () free ! fr Date: Wed, 07 Jun 2006 10:48:38 +0000 To: kde-devel Subject: Re: Newbie question about QTabWidget Message-Id: <1149677318.4486af0669dcb () imp5-g19 ! free ! fr> X-MARC-Message: https://marc.info/?l=kde-devel&m=114967734609824 I have already tried that with no success.. thanks Selon kleag@free.fr: > Hello, > > > Selon chauchot.etienne@free.fr: > > QTabWidget *tabs = new QTabWidget(mainWin); > > QVBox *tab = new QVBox(tabs); > > QLabel *label = 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? > Maybe, just > label->show(); > and/or > tabs->setCurrentPage(0); > > ? > > Kleag > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe > << > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<