Ejemplo n.º 1
0
 def show(self):
     if self.controller:
         self.controller.setSponsor()
     if self.typ == "QDialog":
         QDialog.show(self)
     elif self.typ == "QTextEdit":
         QTextEdit.show(self)
     elif self.typ == "QFrame":
         QFrame.show(self)
     else:
         print "don't know about self.typ == %r" % (self.typ, )
Ejemplo n.º 2
0
 def show(self):
     if self.controller:
         self.controller.setSponsor()
     if self.typ == "QDialog":
         QDialog.show(self)
     elif self.typ == "QTextEdit":
         QTextEdit.show(self)
     elif self.typ == "QFrame":
         QFrame.show(self)
     else:
         print "don't know about self.typ == %r" % (self.typ,)