Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
QToolbar. How to display caption with the title and "x" button for the floating toolbar?
In Qt3 it was out-of-the-box, in Qt4 I cannot find how to do this.
The Qt4 QToolBar doesn't have this capability. However, you probably change the behavior by hooking into the topLevelChanged() signal.
[quote author="Bradley" date="1291571278"]The Qt4 QToolBar doesn't have this capability. However, you probably change the behavior by hooking into the topLevelChanged() signal.[/quote]
Thanks for advice. I will try.
blex, also you can use setWindowFlags(). Prior to calling this method you might need to hide() the toolbar.