Huge cleanups and added open gl window
This commit is contained in:
1 parent
a477581f6f
commit
ffd4c821ef
525 files changed
+1320
-35862
No files matched your search
@@ -0,0 +1,36 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Ui { class UserDefinedConstantsDialog; }
|
||||
struct ProjectContainer;
|
||||
class ConstantsModel;
|
||||
|
||||
class UserDefinedConstantsDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit UserDefinedConstantsDialog(ProjectContainer &project, QWidget *parent = nullptr);
|
||||
~UserDefinedConstantsDialog();
|
||||
|
||||
private slots:
|
||||
void insertConstant();
|
||||
void addConstant();
|
||||
void deleteConstant();
|
||||
void clearConstants();
|
||||
void moveConstantUp();
|
||||
void moveConstantDown();
|
||||
void sortConstants();
|
||||
void loadConstant();
|
||||
void saveConstant();
|
||||
|
||||
private:
|
||||
const std::unique_ptr<Ui::UserDefinedConstantsDialog> m_ui;
|
||||
|
||||
ProjectContainer &m_project;
|
||||
|
||||
const std::unique_ptr<ConstantsModel> m_model;
|
||||
};
|
||||
Reference in new issue
Block a user