mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-17 02:57:02 +00:00
Add ability to edit command line arguments, and enable cheats
This commit is contained in:
26
hecl-gui/ArgumentEditor.hpp
Normal file
26
hecl-gui/ArgumentEditor.hpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QStringListModel>
|
||||
|
||||
class QAbstractButton;
|
||||
|
||||
namespace Ui {
|
||||
class ArgumentEditor;
|
||||
}
|
||||
|
||||
class ArgumentEditor : public QDialog {
|
||||
Q_OBJECT
|
||||
Ui::ArgumentEditor* m_ui;
|
||||
QStringListModel m_model;
|
||||
public:
|
||||
explicit ArgumentEditor(QWidget* parent = 0);
|
||||
virtual ~ArgumentEditor();
|
||||
|
||||
private slots:
|
||||
void on_addButton_clicked();
|
||||
void on_editButton_clicked();
|
||||
void on_deleteButton_clicked();
|
||||
void on_buttonBox_clicked(QAbstractButton*);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user