Module ui.widget.qrmessage
Widget that displays a qr code.
It vanishes on key press or after a given timeout.
Example:
local UIManager = require("ui/uimanager") local _ = require("gettext") local Screen = require("device").screen local sample sample = QRMessage:new{ text = _("my message"), height = Screen:scaleBySize(400), width = Screen:scaleBySize(400), timeout = 5, -- This widget will vanish in 5 seconds. } UIManager:show(sample)