Prison

format.h
1/*
2 SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
3 SPDX-License-Identifier: MIT
4*/
5
6#ifndef PRISON_FORMAT_H
7#define PRISON_FORMAT_H
8
9#include "prisonscanner_export.h"
10
11#include <QFlag>
12#include <QMetaType>
13
14namespace Prison
15{
16
17/**
18 * Barcode formats detectable by Prison::VideoScanner.
19 *
20 * @see Prison::ScanResult.
21 * @since 5.94
22 */
23namespace Format
24{
25Q_NAMESPACE_EXPORT(PRISONSCANNER_EXPORT)
26/** Barcode formats. */
28 NoFormat = 0,
29 Aztec = 1,
30 Codabar = 2,
31 Code39 = 4,
32 Code93 = 8,
33 Code128 = 16,
34 DataBar = 32,
35 DataBarExpanded = 64,
36 DataMatrix = 128,
37 EAN8 = 256,
38 EAN13 = 512,
39 ITF = 1024,
40 MaxiCode = 2048,
41 PDF417 = 4096,
42 QRCode = 8192,
43 UPCA = 16384,
44 UPCE = 32768,
45};
46Q_ENUM_NS(BarcodeFormat)
47
48Q_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat)
49Q_FLAG_NS(BarcodeFormats)
50Q_DECLARE_OPERATORS_FOR_FLAGS(BarcodeFormats)
51}
52}
53
54#endif // PRISON_FORMAT_H
BarcodeFormat
Barcode formats.
Definition format.h:27
Provides classes and methods for generating barcodes.
Definition barcode.h:24
@ PDF417
PDF417 barcode.
Definition prison.h:36
@ QRCode
QRCode 2d barcode.
Definition prison.h:24
@ Code39
Code39 barcode.
Definition prison.h:30
@ EAN13
EAN13 barcode.
Definition prison.h:38
@ DataMatrix
DataMatrix 2d barcode.
Definition prison.h:26
@ Aztec
Aztec 2d barcode.
Definition prison.h:28
@ Code128
Code 128 barcode.
Definition prison.h:34
@ Code93
Code93 barcode.
Definition prison.h:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.