Changeset View
Changeset View
Standalone View
Standalone View
src/quick/barcodequickitem.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
48 | 48 | | |||
49 | public: | 49 | public: | ||
50 | enum BarcodeType { | 50 | enum BarcodeType { | ||
51 | Null = Prison::Null, | 51 | Null = Prison::Null, | ||
52 | QRCode = Prison::QRCode, | 52 | QRCode = Prison::QRCode, | ||
53 | DataMatrix = Prison::DataMatrix, | 53 | DataMatrix = Prison::DataMatrix, | ||
54 | Aztec = Prison::Aztec, | 54 | Aztec = Prison::Aztec, | ||
55 | Code39 = Prison::Code39, | 55 | Code39 = Prison::Code39, | ||
56 | Code93 = Prison::Code93 | 56 | Code93 = Prison::Code93, | ||
57 | Code128 = Prison::Code128 | ||||
57 | }; | 58 | }; | ||
58 | Q_ENUM(BarcodeType) | 59 | Q_ENUM(BarcodeType) | ||
59 | explicit BarcodeQuickItem(QQuickItem *parent = nullptr); | 60 | explicit BarcodeQuickItem(QQuickItem *parent = nullptr); | ||
60 | ~BarcodeQuickItem(); | 61 | ~BarcodeQuickItem(); | ||
61 | 62 | | |||
62 | QString content() const; | 63 | QString content() const; | ||
63 | void setContent(const QString &data); | 64 | void setContent(const QString &data); | ||
64 | 65 | | |||
Show All 30 Lines |