mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:04:55 +00:00
Start renaming project to Metaforce
This commit is contained in:
30
metaforce-gui/CVarDialog.hpp
Normal file
30
metaforce-gui/CVarDialog.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include <QAbstractButton>
|
||||
#include <QDialog>
|
||||
#include <QItemSelection>
|
||||
#include <QStringListModel>
|
||||
#include <memory>
|
||||
|
||||
namespace Ui {
|
||||
class CVarDialog;
|
||||
} // namespace Ui
|
||||
|
||||
class CVarDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CVarDialog(QWidget* parent = nullptr);
|
||||
~CVarDialog() override;
|
||||
|
||||
QString textValue();
|
||||
|
||||
private:
|
||||
std::unique_ptr<Ui::CVarDialog> m_ui;
|
||||
QStringListModel m_model;
|
||||
|
||||
private slots:
|
||||
void on_buttonBox_accepted();
|
||||
void on_buttonBox_rejected();
|
||||
void handleSelectionChanged(const QItemSelection& selection);
|
||||
};
|
||||
Reference in New Issue
Block a user