[solved] QStatusBar add a widget without a frame/border
General and Desktop
5
Posts
3
Posters
5.0k
Views
1
Watching
-
Hi,
You could try using a stylesheet like described "here":http://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qstatusbar
Hope it helps
-
You can insert QLabel without frame afaik, there's no need for using stylesheet. Just set Shape to QFrame::NoFrame. See http://qt-project.org/doc/qt-4.8/qframe.html#Shadow-enum
-
Yes, I see, of course if you insert a custom QWidget you automatically get a frame, even if the custom widget does not inherit from QFrame.
But I'll keep that in mind for other standard widgets that I might add to the status bar.
:) Thanks for your help.