[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: tab contents not shown.
From: Andras Mantia <amantia () virtualartisans ! com>
Date: 2002-09-25 19:10:21
[Download RAW message or body]
On Wednesday 25 September 2002 20:33, Pupeno wrote:
> I'm adding tabs to a TabWidget dinamically, from widgets created by loading
> libraries (plug ins) and I have the problem that, tabs are created, but the
> contents are not shown untill I switch to another tab.
> Why may this be caused ? something wrong when adding the widgets ? I do it,
> this way:
> // This function creates the widget and returns a pointer to it
> PlugInConf *plugIn = loadPlugIn(plugInName);
> // Let's check if it was created (if there's some problem, null is
> returned) if(plugIn){
> // I add the widget to a QDict to keep track of it, and keep it related
> to the language it represents.
> speechConf.insert( lang, plugIn);
> // I add the widget to the tab, I take it from the QDict.
> languagesTab->addTab( speechConf[lang], lang);
> }
> Or at least, is there a workaround solution... something luke flush or
> refresh ?
> Thank you.
Call:
languagesTab->showPage( speechConf[lang]);
Andras
>> 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