41 lines
910 B
C++
41 lines
910 B
C++
|
|
#ifndef QT_OPENGLSHADERMANAGERDIALOG_H
|
||
|
|
#define QT_OPENGLSHADERMANAGERDIALOG_H
|
||
|
|
|
||
|
|
#include <QDialog>
|
||
|
|
#include <QAbstractButton>
|
||
|
|
#include <QListWidgetItem>
|
||
|
|
|
||
|
|
namespace Ui {
|
||
|
|
class OpenGLShaderManagerDialog;
|
||
|
|
}
|
||
|
|
|
||
|
|
class OpenGLShaderManagerDialog : public QDialog {
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
explicit OpenGLShaderManagerDialog(QWidget *parent = nullptr);
|
||
|
|
~OpenGLShaderManagerDialog();
|
||
|
|
|
||
|
|
private slots:
|
||
|
|
void on_buttonBox_clicked(QAbstractButton *button);
|
||
|
|
|
||
|
|
void on_buttonMoveUp_clicked();
|
||
|
|
|
||
|
|
void on_shaderListWidget_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
|
||
|
|
|
||
|
|
void on_shaderListWidget_currentRowChanged(int currentRow);
|
||
|
|
|
||
|
|
void on_buttonMoveDown_clicked();
|
||
|
|
|
||
|
|
void on_buttonAdd_clicked();
|
||
|
|
|
||
|
|
void on_buttonRemove_clicked();
|
||
|
|
|
||
|
|
void on_OpenGLShaderManagerDialog_accepted();
|
||
|
|
|
||
|
|
private:
|
||
|
|
Ui::OpenGLShaderManagerDialog *ui;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // QT_OPENGLSHADERMANAGERDIALOG_H
|