[Interest] QTabWidget/QTabBar allowing user to edit tab names
Joseph Crowell
joseph.w.crowell at gmail.com
Fri Jun 29 14:36:06 CEST 2012
On 6/28/2012 2:00 AM, Andre Somers wrote:
> Op 27-6-2012 23:02, Carl Schumann schreef:
>> Qt community.
>>
>> I would like to allow the user to edit tab names in my application,
>> e.g., by right-clicking and then being given a text field to enter the
>> new name. How would this best be done please? Thanks for any help.
>>
> Perhaps this Qt DevNet forum topic can be of help?
> http://qt-project.org/forums/viewthread/10390
>
> I once used this approach to create a "charm" to add this behavior to a
> QTabBar or QTabWidget, but I cannot share that code as it was proprietary.
>
> André
>
I believe J-P Nurmi's Communi has a custom tab widget that allows most of the things necessary for this. https://gitorious.org/communi/communi/commits/master
More information about the Interest
mailing list