Pyqt5 Qmessagebox
Solved
Qt for Python
-
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
self.setWindowFlag(QtCore.Qt.WindowType.FramelessWindowHint)
so I would like to remove it from the QMessageBox, but I do not know how to achieve this.
Thanks
-
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
self.setWindowFlag(QtCore.Qt.WindowType.FramelessWindowHint)
so I would like to remove it from the QMessageBox, but I do not know how to achieve this.
Thanks