nicer version of the same

This commit is contained in:
2023-01-06 16:22:45 +01:00
parent 8e448d569d
commit 2bd07dcbff

View File

@ -21,10 +21,10 @@ class MDISubPlot(QMdiSubWindow):
def frame_on(self):
self.setWindowFlags(self.windowFlags() & ~Qt.FramelessWindowHint)
self.setWindowFlag(Qt.FramelessWindowHint, False)
def frame_off(self):
self.setWindowFlags(self.windowFlags() | Qt.FramelessWindowHint)
self.setWindowFlag(Qt.FramelessWindowHint, True)