Beispiel #1
0
 def setModel(self, model):
     """Sets new model for application, and change window title witn new macroserver name."""
     TaurusMainWindow.setModel(self, model)
     self.setWindowTitle(Qt.QApplication.applicationName() + ": " + model)
Beispiel #2
0
 def setModel(self, model):
     """Sets new model for application, and change window title witn new macroserver name."""
     TaurusMainWindow.setModel(self, model)
     self.setWindowTitle(Qt.QApplication.applicationName() + ": " + model)
Beispiel #3
0
 def setModel(self, name):
     """Reimplemented to delegate model to the commands and attrs forms"""
     TaurusMainWindow.setModel(self, name)
     self._ui.taurusAttrForm.setModel(name)
     self._ui.taurusCommandsForm.setModel(name)