예제 #1
0
 def __init__(self, factory):
     MobileFormItemPanel.__init__(self, factory)
     FormPanel.__init__(self, getResource(__file__, "properties.xml"))
     self.__subcombo = SubCombo(self, getattr(self, "lstValues2"),
                                getattr(self, "btnUp2"),
                                getattr(self, "btnDown2"),
                                getattr(self, "btnDelete2"),
                                getattr(self, "btnAdd2"))
     self.__mainCombo = MainCombo(self, self.__subcombo,
                                  getattr(self, "lstValues1"),
                                  getattr(self, "btnUp1"),
                                  getattr(self, "btnDown1"),
                                  getattr(self, "btnDelete1"),
                                  getattr(self, "btnAdd1"))
     self.__mainCombo.setVisible(True)
     self.__subcombo.setVisible(True)
     self.translateUI()
예제 #2
0
 def __init__(self, factory):
     MobileFormItemPanel.__init__(self, factory)
     FormPanel.__init__(self, getResource(__file__, "properties.xml"))
     self.translateUI()
 def __init__(self, factory):
     MobileFormItemPanel.__init__(self, factory)
     FormPanel.__init__(self, getResource(__file__, "preview.xml"))