Simple CoAP Client Example
// Copyright (C) 2019 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause #ifndef OPTIONDIALOG_H #define OPTIONDIALOG_H #include <QCoapOption> #include <QDialog> namespace Ui { class OptionDialog; } class OptionDialog : public QDialog { Q_OBJECT public: explicit OptionDialog(QWidget *parent = nullptr); ~OptionDialog(); QList<QCoapOption> options() const; private slots: void on_addButton_clicked(); void on_clearButton_clicked(); private: void fillOptions(); Ui::OptionDialog *ui; QList<QCoapOption> m_options; }; #endif // OPTIONDIALOG_H