예제 #1
0
 def __init__(self, a, store, item):
     GenericSelector.__init__(self, a, store)
     self._item = item
     self._amdlg = AmountDialog(self.app, _(u"no. %s of %s") % (self._item.serial, self._item.project.name),
                                _(u"How many parts are required?"),
                                0)
     self._item_editor = ItemEditor(a, store, item = item)
예제 #2
0
 def __init__(self, a, store, project):
     GenericSelector.__init__(self, a, store)
     self._project = project
     self._project_editor = ProjectEditor(a, store, item = project)
예제 #3
0
파일: main.py 프로젝트: MarSik/elshelves
 def __init__(self, a, store):
     GenericSelector.__init__(self, a, store)