/*
   SPDX-FileCopyrightText: 2012-2020 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: GPL-2.0-or-later
*/

#ifndef IMPORTFILTERPAGE_H
#define IMPORTFILTERPAGE_H

#include <QWidget>

namespace Ui {
class ImportFilterPage;
}

class ImportFilterPage : public QWidget
{
    Q_OBJECT
public:
    explicit ImportFilterPage(QWidget *parent = nullptr);
    ~ImportFilterPage();

    void addImportInfo(const QString &log);
    void addImportError(const QString &log);
    void setImportButtonEnabled(bool enabled);

Q_SIGNALS:
    void importFiltersClicked();

private:
    Ui::ImportFilterPage *const ui;
};

#endif // IMPORTFILTERPAGE_H
