2017-07-19 14:20:32 -07:00
|
|
|
#pragma once
|
2014-12-12 23:42:09 +00:00
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class lcQModelListDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class lcQModelListDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
lcQModelListDialog(QWidget* Parent, QList<QPair<QString, lcModel*>>& Models);
|
|
|
|
~lcQModelListDialog();
|
|
|
|
|
|
|
|
int mActiveModel;
|
|
|
|
QList<QPair<QString, lcModel*>>& mModels;
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void accept();
|
|
|
|
void on_NewModel_clicked();
|
|
|
|
void on_DeleteModel_clicked();
|
|
|
|
void on_RenameModel_clicked();
|
|
|
|
void on_MoveUp_clicked();
|
|
|
|
void on_MoveDown_clicked();
|
2015-02-08 20:31:11 +00:00
|
|
|
void on_ModelList_itemDoubleClicked(QListWidgetItem* Item);
|
2014-12-12 23:42:09 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::lcQModelListDialog* ui;
|
|
|
|
};
|
|
|
|
|