[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Newbie question about QTabWidget
From:       chauchot.etienne () free ! fr
Date:       2006-06-07 10:48:38
Message-ID: 1149677318.4486af0669dcb () imp5-g19 ! free ! fr
[Download RAW message or body]

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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic