Solved Pyqt5 Qmessagebox
HI there, i would like know if it is possible to remove the windows frame from a QMessageBox,
messagebox is as follows
QMessageBox.critical(self, 'An Error Occured', 'OD Cannot be Empty', QMessageBox.Ok)
My application has no windows frame using
so I would like to remove it from the QMessageBox, but I do not know how to achieve this.
@EchoLab You can't do that with static QMessageBox.critical method. But you can create a QMessageBox instance and use setWindowFlag. Of course you will need to configure it to behave same as QMessageBox.critical.
@jsulm Thank you for that, I got it now,