2019-01-26 23:22:16 +00:00
|
|
|
#pragma once
|
|
|
|
|
2019-08-26 00:50:17 +00:00
|
|
|
#include <memory>
|
|
|
|
|
2019-01-26 23:22:16 +00:00
|
|
|
#include <QDialog>
|
|
|
|
#include <QStringListModel>
|
|
|
|
|
|
|
|
class QAbstractButton;
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ArgumentEditor;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ArgumentEditor : public QDialog {
|
|
|
|
Q_OBJECT
|
2019-08-26 00:50:17 +00:00
|
|
|
|
|
|
|
std::unique_ptr<Ui::ArgumentEditor> m_ui;
|
2019-01-26 23:22:16 +00:00
|
|
|
QStringListModel m_model;
|
|
|
|
public:
|
2019-08-26 00:50:17 +00:00
|
|
|
explicit ArgumentEditor(QWidget* parent = nullptr);
|
2019-01-26 23:22:16 +00:00
|
|
|
virtual ~ArgumentEditor();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_addButton_clicked();
|
|
|
|
void on_editButton_clicked();
|
|
|
|
void on_deleteButton_clicked();
|
|
|
|
void on_buttonBox_clicked(QAbstractButton*);
|
|
|
|
};
|
|
|
|
|