Label in a QToolbar

label, qt, qtoolbar

Solution

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

Problem

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

Original source