示例#1
0
 def qr_show(self):
     from qrcodewidget import QRDialog
     try:
         s = str(self.toPlainText())
     except:
         s = unicode(self.toPlainText())
     QRDialog(s).exec_()
示例#2
0
 def qr_show(self):
     from qrcodewidget import QRDialog
     QRDialog(str(self.toPlainText())).exec_()