metaforce/metaforce-gui/ArgumentEditor.hpp

31 lines
576 B
C++
Raw Normal View History

#pragma once
#include <memory>
#include <QDialog>
#include <QStringListModel>
class QAbstractButton;
namespace Ui {
class ArgumentEditor;
2020-04-15 06:13:11 +00:00
} // namespace Ui
class ArgumentEditor : public QDialog {
Q_OBJECT
std::unique_ptr<Ui::ArgumentEditor> m_ui;
QStringListModel m_model;
2020-04-15 06:13:11 +00:00
public:
explicit ArgumentEditor(QWidget* parent = nullptr);
2019-08-30 07:40:25 +00:00
~ArgumentEditor() override;
private slots:
void on_addButton_clicked();
2020-04-15 06:13:11 +00:00
void on_addCvarButton_clicked();
void on_editButton_clicked();
void on_deleteButton_clicked();
void on_buttonBox_clicked(QAbstractButton*);
};