36 lines
717 B
C++
36 lines
717 B
C++
#ifndef RM_POPUP_SELECT_MODEL_H
|
|
#define RM_POPUP_SELECT_MODEL_H
|
|
#if (MULTI_MODEL_VIEWER)
|
|
|
|
#include "../rm_include.h"
|
|
#include "rm_popup.h"
|
|
|
|
class RMButton;
|
|
class RMPopupCreateModel : public RMPopup
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
RMPopupCreateModel(QWidget *parent = 0);
|
|
QString selectedModel;
|
|
RMButton* okButton;
|
|
public slots:
|
|
void onModelChanged(QString disk);
|
|
};
|
|
|
|
|
|
class RMPopupSelectModel : public RMPopup
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
RMPopupSelectModel(QList<QPair<QString,QString>> models, QWidget *parent = 0);
|
|
//QString selectedModel;
|
|
RMButton* okButton;
|
|
int modelIndex;
|
|
public slots:
|
|
void onModelChanged(int model);
|
|
};
|
|
|
|
|
|
#endif // MULTI_MODEL_VIEWER
|
|
#endif // RM_POPUP_SELECT_MODEL_H
|