File indexing completed on 2024-04-28 05:49:11

0001 /*
0002     SPDX-FileCopyrightText: 2021 Markus Ebner <info@ebner-markus.de>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QDialog>
0010 
0011 #include "MatchModel.h"
0012 #include "ui_MatchExportDialog.h"
0013 
0014 class MatchExportDialog : public QDialog, public Ui::MatchExportDialog
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     MatchExportDialog(QWidget *parent, QAbstractItemModel *matchModel, QRegularExpression *regExp);
0020 
0021     ~MatchExportDialog() override;
0022 
0023 protected Q_SLOTS:
0024 
0025     void generateMatchExport();
0026 
0027 private:
0028     QAbstractItemModel *m_matchModel;
0029     QRegularExpression *m_regExp;
0030 };