How to change the font color of the button text in qtoolbar and title bar text of qdockwidget.
I have tried to change the font color using qt stylesheet color label, but it does not seem to work for qdockwidget::title bar and qdock tool bar.
How to change the font color of the button text in qtoolbar and title bar text of qdockwidget.
I have tried to change the font color using qt stylesheet color label, but it does not seem to work for qdockwidget::title bar and qdock tool bar.
Why wont you make custom title bar? It can be anything bundled in QWidget.
I've tested with Qt 5.3 it works, although there are missing buttons like close or undock :-/
I think that you can create them (with push button or so) and bundle everything in one widget, then set it with setTitleBarWidget and connect some signals. There is at least hide() slot for close button and you may have to code slot for float using setFloat.