leocad/qt/lc_qmodellistdialog.h
2017-07-19 14:20:32 -07:00

32 lines
591 B
C++

#pragma once
#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();
void on_ModelList_itemDoubleClicked(QListWidgetItem* Item);
private:
Ui::lcQModelListDialog* ui;
};