Forgot the list in my cc...

---------- Forwarded message ----------
From: Helge Fredriksen <[email protected]>
Date: Tue, Sep 28, 2010 at 1:22 PM
Subject: Re: [Qt-jambi-interest] how to add a '+' or 'x' to the Tab bar ?
To: go canal <[email protected]>


Hmm, I have used the closable tab stuff once, but haven't really looked into
how to have an add button there (like firefox has it I guess?).

Don't know if this piece of documentation will give you any hints:
http://doc.qt.nokia.com/4.7/qtabbar.html#setTabButton

Then again, you could try to ask this question on the qt-interest list. The
API calls necessary should look more or less the same in Java as in C++.

Best regards,
Helge Fredriksen

On Tue, Sep 28, 2010 at 12:02 PM, go canal <[email protected]> wrote:

> Hi,
> Would like to know how to add a '+' or 'x' to the tab bar. Ideally I want
> to add image button at the right most position of the tab bar together with
> a title. If I click '+', then a new tab is created; 'x' to close the current
> tab.
>
> thanks,
> canal
>
>
>
> _______________________________________________
> Qt-jambi-interest mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to