File indexing completed on 2024-05-12 04:01:31
0001 /* 0002 SPDX-FileCopyrightText: 2011 Geoffry Song <goffrie@gmail.com> 0003 0004 SPDX-License-Identifier: MIT 0005 */ 0006 0007 #ifndef PRISON_CODE93BARCODE_H 0008 #define PRISON_CODE93BARCODE_H 0009 0010 #include "abstractbarcode_p.h" 0011 0012 namespace Prison 0013 { 0014 /** 0015 * Code 93 Barcode generator 0016 */ 0017 class Code93Barcode : public Prison::AbstractBarcodePrivate 0018 { 0019 public: 0020 /** 0021 * creates a Code 93 generator 0022 */ 0023 Code93Barcode(); 0024 ~Code93Barcode() override; 0025 /** 0026 * This function generates the barcode 0027 * @return QImage containing a barcode, trying to approximate the requested sizes 0028 */ 0029 QImage paintImage() override; 0030 }; 0031 } // namespace 0032 0033 #endif // PRISON_CODE39BARCODE_H