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'))
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"))
def print_qr(): bmp.save_qrcode(qrw.qr, filename) QMessageBox.information(None, _('Message'), _("QR code saved to file") + " " + filename, _('OK'))
def print_qr(): bmp.save_qrcode(qrw.qr, filename) QMessageBox.information(None, _("Message"), _("QR code saved to file") + " " + filename, _("OK"))