Revision control
++ // Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Milian Wolff <milian.wolff@kdab.com>
++ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
++
++ #ifndef DIALOG_H
++ #define DIALOG_H
++
++ #include <QDialog>
++
++ QT_BEGIN_NAMESPACE
++ namespace Ui {
++ class Dialog;
++ }
++ QT_END_NAMESPACE
++
++ class Dialog : public QDialog
++ {
++ Q_OBJECT
++
++ public:
++ explicit Dialog(QWidget *parent = nullptr);
++
++ void displayMessage(const QString &message);
++
++ signals:
++ void sendText(const QString &text);
++
++ private slots:
++ void clicked();
++
++ private:
++ Ui::Dialog *ui;
++ };
++
++ #endif // DIALOG_H