Example #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)
Example #2
0
 def header(self, args = None):
     return self._project_editor.header() + \
            self._project_editor.rows() + \
            [urwid.Divider(" ")] + \
            GenericSelector.header(self, args)
Example #3
0
 def __init__(self, a, store, project):
     GenericSelector.__init__(self, a, store)
     self._project = project
     self._project_editor = ProjectEditor(a, store, item = project)
Example #4
0
 def __init__(self, a, store):
     GenericSelector.__init__(self, a, store)