#StackBounty: #c++ #qt Select tab text in QTabBar

Bounty: 50

How can the text of a tab in a QTabBar be selected using the mouse?

The text within a QLabel can be selected as described here: Make QLabel text selectable?, but I haven’t found a similar with to do this for QTabBar tab text.

The documentation for QTabBar can be found here: https://doc.qt.io/qt-5/qtabbar.html. It mentions "select" several times, but none of those instances have to do with selecting text. Rather, they all have to do with selecting the tabs themselves.

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.