def __init__(self, parent, profile): self.app = get_application_pointer() self.conn = self.app.conn self.profile = Profile(self.conn) self.profile.set_profile(profile) BaseAssigner.__init__(self, parent, name="FamilyAssigner", udbuttons=True) self.connect(self, SIGNAL("okClicked()"), self.slotInsertNewFamilies)
def __init__(self, parent, suite, name='SuiteAptAssigner'): self.suite = suite self.initPaellaCommon() self.suitecursor = SuiteCursor(self.conn) BaseAssigner.__init__(self, parent, name=name, udbuttons=True) self.connect(self, SIGNAL('okClicked()'), self.slotAssignAptSrcs)
def __init__(self, parent, trait, suite, name='ParentAssigner'): self.app = get_application_pointer() self.conn = self.app.conn self.suite = suite self.trait = Trait(self.conn, suite=self.suite) self.trait.set_trait(trait) BaseAssigner.__init__(self, parent, name=name) self.connect(self, SIGNAL('okClicked()'), self.slotInsertNewParents)
def __init__(self, parent, profile): self.app = get_application_pointer() self.conn = self.app.conn self.profile = Profile(self.conn) self.profile.set_profile(profile) BaseAssigner.__init__(self, parent, name='FamilyAssigner', udbuttons=True) self.connect(self, SIGNAL('okClicked()'), self.slotInsertNewFamilies)
def __init__(self, parent, profile): self.app = get_application_pointer() self.conn = self.app.conn self.profile = Profile(self.conn) self.profile.set_profile(profile) BaseAssigner.__init__(self, parent, name='TraitAssigner', udbuttons=True) self.connect(self, SIGNAL('okClicked()'), self.slotInsertNewTraits)
def __init__(self, parent, family): self.app = get_application_pointer() self.conn = self.app.conn self.family = Family(self.conn) self.family.set_family(family) BaseAssigner.__init__(self, parent, name='FamilyParentAssigner', udbuttons=False) self.connect(self, SIGNAL('okClicked()'), self.slotAssignParents)