Search code examples
qtlabelqtoolbar

Label in a QToolbar


How would you suggest to add a label on a QToolbar ? Since it only accepts action or somethings like that.

Thx


Solution

  • The QToolBar also accepts widgets like a QLabel through the method QToolBar::addWidget.