Ejemplo n.º 1
0
 def __init__(self, project_model, xnat_database):
     ListModel.__init__(self)
     self.xnat_database = xnat_database
     project_model.list_items_model.add_listener(self._project_list_changed)
     project_model.selected_items_model.add_listener(self._project_selection_changed)
Ejemplo n.º 2
0
 def __init__(self, xnat_database):
     ListModel.__init__(self)
     self.xnat_database = xnat_database
     self.project_map = {}
     # try:
     self._update_items()