comparison mupdf-source/thirdparty/zint/frontend_qt/datawindow.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) 2009-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 DATAWINDOW_H
22 #define DATAWINDOW_H
23
24 #include "ui_extData.h"
25
26 class DataWindow : public QDialog, private Ui::DataDialog
27 {
28 Q_OBJECT
29
30 public:
31 DataWindow(const QString &input, bool isEscaped, int seg_no);
32 ~DataWindow();
33
34 bool Valid;
35 bool Escaped;
36 QString DataOutput;
37
38 signals:
39 void dataChanged(const QString& text, bool escaped, int seg_no);
40
41 private slots:
42 void clear_data();
43 void text_changed();
44 void okay();
45 void from_file();
46
47 private:
48 QString escapedData(bool &escaped);
49
50 bool m_isEscaped;
51 int m_seg_no;
52 };
53
54 /* vim: set ts=4 sw=4 et : */
55 #endif