/* This file is part of the KDE project * SPDX-FileCopyrightText: 2019 Dag Andersen * * SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef PARAMETERSUBSTITUTIONPANEL_H #define PARAMETERSUBSTITUTIONPANEL_H #include #include "ui_ParameterSubstitutionPanel.h" #include #include namespace KPlato { class ParameterSubstitutionPanel : public QWidget { Q_OBJECT public: explicit ParameterSubstitutionPanel(const QStringList ¶meters, QWidget *parent = nullptr); Ui::ParameterSubstitutionPanel ui; }; class KOWIDGETS_EXPORT ParameterSubstitutionDialog : public KoDialog { Q_OBJECT public: explicit ParameterSubstitutionDialog(const QStringList ¶meters, QWidget *parent = nullptr); QMap parameters() const; private: ParameterSubstitutionPanel *m_panel; }; } //KPlato namespace #endif