Is it possible to remove the frame from the MessageBox by the type of the dialog box? flags popup tool tooltip and so on do not want to work. And how to remove the standard button? I want to remove them all, leaving only the text and background of the window. Qt:NoButton leaves OK button by default.
|
1 answer
It is possible to izrozit like this
QMessageBox* pmbx = new QMessageBox("MessageBox", "<b>A</b> <i>Simple</i> <u>Message</u>", QMessageBox::Information, QMessageBox::Cancel | QMessageBox::Escape); int n = pmbx->exec(); delete pmbx; - but generally write your dialogue for messages and call it) - Alex.B
- exec () doesn’t roll, I don’t need to press the button and further process its pressing. Frames as understood can not be removed. Yes, it seems that it would be beautiful, you have to write your dialogue. - Disastricks Sep.
|