Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/zint/frontend_qt/sequencewindow.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-2021 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 /* vim: set ts=4 sw=4 et : */ | |
| 20 | |
| 21 #ifndef SEQUENCEWINDOW_H | |
| 22 #define SEQUENCEWINDOW_H | |
| 23 | |
| 24 #include "ui_extSequence.h" | |
| 25 #include "barcodeitem.h" | |
| 26 | |
| 27 class SequenceWindow : public QDialog, private Ui::SequenceDialog | |
| 28 { | |
| 29 Q_OBJECT | |
| 30 | |
| 31 public: | |
| 32 SequenceWindow(BarcodeItem *bc); | |
| 33 ~SequenceWindow(); | |
| 34 | |
| 35 private: | |
| 36 QString apply_format(const QString &raw_number); | |
| 37 | |
| 38 private slots: | |
| 39 void clear_preview(); | |
| 40 void create_sequence(); | |
| 41 void check_generate(); | |
| 42 void from_file(); | |
| 43 void generate_sequence(); | |
| 44 | |
| 45 protected: | |
| 46 BarcodeItem *m_bc; | |
| 47 }; | |
| 48 | |
| 49 #endif |
