comparison mupdf-source/thirdparty/zint/frontend_qt/cliwindow.h @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 /*
2 Zint Barcode Generator - the open source barcode generator
3 Copyright (C) 2021-2022 Robin Stuart <rstuart114@gmail.com>
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19 /* SPDX-License-Identifier: GPL-3.0-or-later */
20
21 #ifndef CLIWINDOW_H
22 #define CLIWINDOW_H
23
24 #include "ui_extCLI.h"
25 #include "barcodeitem.h"
26
27 class CLIWindow : public QDialog, private Ui::CLIDialog
28 {
29 Q_OBJECT
30
31 public:
32 CLIWindow(BarcodeItem *bc, const bool autoHeight, const double heightPerRow,
33 const struct Zint::QZintXdimDpVars* xdimdpVars);
34 virtual ~CLIWindow();
35
36 private slots:
37 void copy_to_clipboard();
38 void generate_cli();
39
40 protected:
41 BarcodeItem *m_bc;
42 bool m_autoHeight;
43 double m_heightPerRow;
44 const Zint::QZintXdimDpVars *m_xdimdpVars;
45 };
46
47 /* vim: set ts=4 sw=4 et : */
48 #endif