QMessageBox frameless stylesheet
I'm trying to find a simple way to take out the title bar and the frame from the QMessageBox that pops up.
I'm trying to find by stylesheets but no result by now.
Any help is welcome.
I think this constructor may help you:
@QMessageBox::QMessageBox(Icon icon, const QString & title, const QString & text, StandardButtons buttons, QWidget * parent, Qt::WindowFlags f)@
Don't include the flag responsible for title into flags (Qt::WindowTitleHint, I suppose) and you must get what you want.
When I set Flags as FramelessWindowHint, I get what I want visually, but the dialog is no longer modal.
I try to play with the other but it doesn't work by now.
Any idea how to combine frameless and modal?
Check Qt Demos -> WindowFlags and Qt Demos -> ShapedClock.
didn't quite helped