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

List:       kde-devel
Subject:    Re: Close buttons in QTabWidget
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2010-02-21 20:01:32
Message-ID: 20100221200132.GH26551 () barmbek
[Download RAW message or body]

On 21.02.10 20:42:57, Stefan Majewsky wrote:
> Hi,
> 
> QTabWidget has API for enabling close buttons on the tabs. However, it seems 
> like I can only enable these close buttons on all tabs at once. Am I missing 
> something? Can I enable close buttons for /some/ tabs?

No, the API is for the widget as whole, not on a per-tab basis. You'll
need to write your own tabbar widget (maybe its doable with just a
qtabbar/ktabbar subclass) and use that on your tabwidget.

Andreas

-- 
Just because the message may never be received does not mean it is
not worth sending.
 
>> 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