From kde-devel Fri Feb 21 13:57:42 2003 From: Fred Malabre Date: Fri, 21 Feb 2003 13:57:42 +0000 To: kde-devel Subject: Re: KTabWidget X-MARC-Message: https://marc.info/?l=kde-devel&m=104583591311279 I would love to see that in KDELibs. Actually I need to do the same on a project I work on, and I see this coming in a lot of other projects (ie Quanta plus, KDevelop, ...). That would be nice to have something everybody could reuse... Anybody can follow up on this? On Thursday 20 February 2003 10:04 am, Jason Keirstead wrote: > Hi. I sent a simmilar email to kfm-devel on this yesterday/ > > Over at Kopete we sought to add a right click menu to our QTabWidget, > so I had a look at your guys code (subclass QTabWidget and QTabBar), > implemented it, and all is well. However, in the interests of code reuse, I > was wondering if we could add a KTabWidget to KDELIBS that emits a > contextMenu( QWidget*, const QPoint & ) signal when a context menu event > occured on a given tab? > > I have created a proposed KTabWidget class to be put into KDELibs, that > both Konq and Kopete ( and other KDE apps ) could use to simpify having a > tab specific context menu. It also contains a setTabLabelColor method that > lets you easily change the text color of a tab (usefull to indicate tab > state changes). > > Attached is the code. > > Comments? >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<