nicer version of the same
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user