def __init__(self, dbstate, uistate, track, event, source_combo): GrampsTab.__init__(self, dbstate, uistate, track, _('Headings')) self.db = dbstate.db self.event = event self.heading_list = [] self.source_combo = source_combo self._set_label()
def __init__(self, dbstate, uistate, track, event, citation, form_id): self.db = dbstate.db self.event = event self.citation = citation self.form_id = form_id GrampsTab.__init__(self, dbstate, uistate, track, _('Details')) self.populate_gui(event) self._set_label()
def __init__(self, dbstate, uistate, track, event, citation, form_id): GrampsTab.__init__(self, dbstate, uistate, track, _('Headings')) self.db = dbstate.db self.event = event self.citation = citation self.heading_list = get_form_headings(form_id) self.create_table() self._set_label()
def __init__(self, dbstate, uistate, track, event, source_combo): GrampsTab.__init__(self, dbstate, uistate, track, _('Details')) self.db = dbstate.db self.event = event self.source_combo = source_combo self.model = None self.columns = [] self.initial_people = [] self._set_label()