コード例 #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)
コード例 #2
0
ファイル: common.py プロジェクト: cmft/sardana
 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)
コード例 #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)