Skip to content

Class CodeReader

ClassList > CodeReader

Inherits the following classes: Theme::QfPopup

Public Properties

Type Name
property var barcodeRequestedItem
property string decodedString
property var imageResourceSource
property bool openedOnce
property int popupWidth

Public Signals

Type Name
signal void accepted (var string)
Emitted when a QR code or NFC tag has been accepted.
signal void decoded (var string)
Emitted when a QR code or NFC tag has been decoded/received.

Public Functions

Type Name
void decodeImageResource (path)
void pickImage ()

Public Properties Documentation

property barcodeRequestedItem

var CodeReader::barcodeRequestedItem;

property decodedString

string CodeReader::decodedString;

property imageResourceSource

var CodeReader::imageResourceSource;

property openedOnce

bool CodeReader::openedOnce;

property popupWidth

int CodeReader::popupWidth;

Public Signals Documentation

signal accepted

Emitted when a QR code or NFC tag has been accepted.

void CodeReader::accepted;


signal decoded

Emitted when a QR code or NFC tag has been decoded/received.

void CodeReader::decoded;


Public Functions Documentation

function decodeImageResource

void CodeReader::decodeImageResource (
    path
) 

function pickImage

void CodeReader::pickImage () 


The documentation for this class was generated from the following file src/qml/CodeReader.qml