/* SPDX-FileCopyrightText: 2016 Volker Krause SPDX-License-Identifier: MIT */ #ifndef KUSERFEEDBACK_CONSOLE_SURVEYDIALOG_H #define KUSERFEEDBACK_CONSOLE_SURVEYDIALOG_H #include #include #include class QUrl; namespace KUserFeedback { namespace Console { namespace Ui { class SurveyDialog; } class SurveyDialog : public QDialog { Q_OBJECT public: explicit SurveyDialog(QWidget *parent = nullptr); ~SurveyDialog() override; Survey survey() const; void setSurvey(const Survey &survey); private: void updateState(); Survey m_survey; std::unique_ptr ui; }; } } #endif // KUSERFEEDBACK_CONSOLE_SURVEYDIALOG_H