Пример #1
0
 def setText(self, name):
     pyname = qstrpy(name)
     if pyname in self.__FIXED_NAMES:
         return
     self._model.readable_name = pyname
     QIconViewItem.setText(self, name)
     self.set_popup_title(name)
     self._edsm_editor.edsm_model_updated(self._model)
Пример #2
0
 def update_model(self):
     name = self._model.readable_name
     QIconViewItem.setText(self, name)
     self.set_popup_title(name)
     self._edsm_editor.edsm_model_updated(self._model)