Using QTabBar (or KTabCtl) to dynamically add/remove tabs

Herwin Jan Steehouwer steehouwer at kde.org
Mon Oct 18 16:01:11 BST 1999


On Mon, 18 Oct 1999, Bernd Gehrmann wrote:

> On Mon, 18 Oct 1999, Gordon Tyler wrote:
> > 
> > I'm writing a text editor using KDevelop and I would like to have the names
> > of the files loaded as tabs above the text editing area (ala UltraEdit). I
> > am using a class derived from KTabCtl as my main view inside a
> > KTMainWindow-derived class but I am having difficulty getting tabs removed
> > from the KTabCtl. It seems to be a limitation of the QTabBar class used by
> > KTabCtl. 
> 
> It's a limitation of Qt 1.x which is gone with 2.0.

take a look at STabCtl ( www.chat.ru/~kdestudio ) a VERY cool widget !


HJ

> 
> > Please accept my apologies if this is an inappropriate place to pose my
> > question, I don't quite know where else I could ask.
> 
> Subscribe to kde-devel (http://www.kde.org/contact.html).
> 
> Bernd.
> 
> 

Herwin Jan Steehouwer
  herwinjs at palet.nl                  KXicq: http://www.kxicq.org
  steehouwer at kde.org              KDE developer: http://www.kde.org 





More information about the KDevelop mailing list