Dear Qt enthusiasts,
I am writing an application for visualization of audio signals, in "real-time". The interface is built with a central visualization widget, and additional visualization widgets are inside QDockWidgets.
I have customized the QDockWidget titlebar with a QComboBox for select the visualization plugin, and a QToolButton to display a settings dialog, in addition to the standards undock&close buttons.
Now my problem is that this custom titlebar does not melt smoothly with the QDockWidget frame, which seems to come from the global Qt style. On Linux it's particularly visible: the Oxygen style adds a frame with rounded corners, and an extra space on the right of the titlebar. You can see what it gives in the attached screenshot.
So how can I define my own QDockWidget border ? QSS does not seem to help here (QWidget{border:none} or QFrame{border:none} have no effect on QDockWidgets). Is there another way to achieve that ?
Thank you very much for your help.
Timothée
Bookmarks