blob: fd07aa8542098c828e4b2f48fc4582d2939ce8de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*
* This file is part of smolbote. It's copyrighted by the contributors recorded
* in the version control history of the file, available from its original
* location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote
*
* SPDX-License-Identifier: GPL-3.0
*/
#ifndef CONFIGURATIONDIALOG_H
#define CONFIGURATIONDIALOG_H
#include <QDialog>
#include "ui_configurationdialog.h"
class ConfigurationDialog : public QDialog
{
Q_OBJECT
friend class ConfigurationEditorPlugin;
public:
explicit ConfigurationDialog(QWidget *parent = nullptr);
~ConfigurationDialog();
void addOption(const QString &key, const QString &value);
signals:
void configurationChanged(const QString &key, const QString &value);
private:
Ui::ConfigurationDialog *ui;
};
#endif // CONFIGURATIONDIALOG_H
|