Dear all, It seems that currently, only QTabWidget::setTabText can be used for changing the tab captions.
Why not adding a (possibly optional) mechanism for using the child QWidget windowTitle() automatically? In my app, the child tabbed widgets want to change their displayed titles (for example, to show the unsaved files with an asterisk, as in QtCreator). It would be very convenient to do this from the child widgets code, instead of adding a signal in the child, a slot in the main window, a tabbed widget child lookup and finally a setTabText. As windowTitle is currently meaningless for tabbed widgets (they have no title bar), it would be quite logical to allow this property to control the tab text (optional behavior of QTabWidget disabled by default to avoid breaking compatibility) What do you think of this? I'm using qt 4.8.1
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest