def setModel(self, value):
     if self._model is not None:
         self._model.onLayoutSettingsChanged -= self._onLayoutSettingsChanged
     BaseNotificationView.setModel(self, value)
     if self._model is not None:
         self._model.onLayoutSettingsChanged += self._onLayoutSettingsChanged
     return
 def setModel(self, value):
     if self._model is not None:
         self._model.onLayoutSettingsChanged -= self._onLayoutSettingsChanged
     BaseNotificationView.setModel(self, value)
     if self._model is not None:
         self._model.onLayoutSettingsChanged += self._onLayoutSettingsChanged
     return
 def __init__(self, model):
     BaseNotificationView.__init__(self, model)
     self._model.onLayoutSettingsChanged += self.onLayoutSettingsChanged
예제 #4
0
 def __init__(self, model):
     BaseNotificationView.__init__(self, model)
     self._model.onLayoutSettingsChanged += self.onLayoutSettingsChanged