QMessageBox frameless stylesheet
Hi,
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.
5 replies
I think this constructor may help you:
- QMessageBox::QMessageBox(Icon icon, const QString & title, const QString & text, StandardButtons buttons, QWidget * parent, Qt::WindowFlags f)
http://doc.qt.nokia.com/4.7/qmessagebox.html#QMessageBox-2
Don’t include the flag responsible for title into flags (Qt::WindowTitleHint, I suppose) and you must get what you want.
You must log in to post a reply. Not a member yet? Register here!
