def __init__(self, parent, store, product, visual_mode=False, reuse_store=True): self._product = product ModelListSlave.__init__(self, parent, store=store, reuse_store=reuse_store) if visual_mode: self.set_list_type(ListType.READONLY) self.refresh()
def __init__(self, store, device, reuse_store=False): self.device = device ModelListSlave.__init__(self, store=store, reuse_store=reuse_store)
def __init__(self, store, attribute): self._attribute = attribute ModelListSlave.__init__(self, store=store, reuse_store=True)
def __init__(self, *args, **kwargs): ModelListSlave.__init__(self, *args, **kwargs) self.set_list_type(ListType.ADDONLY)
def __init__(self, *args, **kwargs): ModelListSlave.__init__(self, *args, **kwargs) self.set_list_type(ListType.UNREMOVABLE)
def __init__(self, client, parent, store): self._client = client ModelListSlave.__init__(self, parent, store) self.set_list_type(ListType.UNREMOVABLE)