exportwindow.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. Zint Barcode Generator - the open source barcode generator
  3. Copyright (C) 2009-2022 Robin Stuart <rstuart114@gmail.com>
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License along
  13. with this program; if not, write to the Free Software Foundation, Inc.,
  14. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  15. */
  16. /* SPDX-License-Identifier: GPL-3.0-or-later */
  17. #ifndef Z_EXPORTWINDOW_H
  18. #define Z_EXPORTWINDOW_H
  19. #include "ui_extExport.h"
  20. #include "barcodeitem.h"
  21. class ExportWindow : public QDialog, private Ui::ExportDialog
  22. {
  23. Q_OBJECT
  24. public:
  25. ExportWindow(BarcodeItem *bc, const QString& output_data);
  26. ~ExportWindow();
  27. private slots:
  28. void process();
  29. void get_directory();
  30. protected:
  31. BarcodeItem *m_bc;
  32. QString m_output_data;
  33. QStringList m_dataList;
  34. int m_lines;
  35. };
  36. /* vim: set ts=4 sw=4 et : */
  37. #endif