Пример #1
0
 def copy_to_clipboard():
     bmp.save_qrcode(qrw.qr, filename)
     self.parent().app.clipboard().setImage(QImage(filename))
     QMessageBox.information(None, _('Message'), _("QR code saved to clipboard"), _('OK'))
Пример #2
0
 def copy_to_clipboard():
     bmp.save_qrcode(qrw.qr, filename)
     QApplication.clipboard().setImage(QImage(filename))
     QMessageBox.information(None, _('Message'),
                             _("QR code saved to clipboard"),
                             _('OK'))
Пример #3
0
 def print_qr():
     bmp.save_qrcode(qrw.qr, filename)
     QMessageBox.information(None, _('Message'), _("QR code saved to file") + " " + filename, _('OK'))
Пример #4
0
 def print_qr():
     bmp.save_qrcode(qrw.qr, filename)
     QMessageBox.information(
         None, _('Message'),
         _("QR code saved to file") + " " + filename, _('OK'))