Пример #1
0
 def __init__(self, *args):
     DocumentWindow.__init__(self, *args)
     self.setAttribute(Qt.WA_DeleteOnClose)
     self.initStyleName()
     self.setProperty("style", QVariant(self.styleName))
     self.setupUi(self)
     self.setupActions()
     self.graphicsView.document = self
     self.textView._document = self
     self.dashboardController = DashboardController(self) 
Пример #2
0
 def __init__(self, *args):
     DocumentWindow.__init__(self, *args)
     self.setAttribute(Qt.WA_DeleteOnClose)
     self.initStyleName()
     self.setProperty("style", QVariant(self.styleName))
     self.setupUi(self)
     self.setupActions()
     self.graphicsView.document = self
     self.textView._document = self
     self.dashboardController = DashboardController(self)
Пример #3
0
 def show_(self):
     if self.windowMaximized:
         self.showMaximized()
     DocumentWindow.show_(self)
Пример #4
0
 def show_(self):
     if self.windowMaximized:
         self.showMaximized()
     DocumentWindow.show_(self)