[Interest] QTabWidget/QTabBar allowing user to edit tab names

Andre Somers andre at familiesomers.nl
Thu Jun 28 09:00:55 CEST 2012


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é




More information about the Interest mailing list