Skip to content
This repository has been archived by the owner on Sep 13, 2019. It is now read-only.

kivy-garden/garden.qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module QRCode

A QRCode Widget.

Requirements:

pip install qrcode

Usage::

Python::

from kivy.garden.qrcode import QRCodeWidget
parent.add_widget(QRCodeWidget(data="Kivy Rocks"))

kv::

#:import QRCodeWidget kivy.garden.qrcode

BoxLayout:
    orientation: 'vertical'
    Button:
        text: 'press to change qrcode'
        on_release: qr.data = "Kivy Rocks!"
    QRCodeWidget:
        id: qr
        data: 'Hello World'