You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
634 B
C++

#ifndef QMODNAMEDLG_H
#define QMODNAMEDLG_H
#include <QDialog>
#include "ui_qmodnamedlg.h"
#include "QMessageBox"
#include "QStringList"
class QModNamedlg : public QDialog
{
Q_OBJECT
public:
QModNamedlg(QWidget *parent = 0);
~QModNamedlg();
QString getNewModelName() const;
void setOldModelName(QString m_str);
void setPixmap(QString strPic);
bool onMessageBox(QMessageBox::Icon ntype, QString strTitle, QString strAtl, int onlyOK);
Q_SLOT void onAccess();
void SetModelsStr(QStringList &m_listModels);
void changeEvent(QEvent *event);
private:
Ui::QModNamedlg ui;
QStringList m_strlist;
};
#endif // QMODNAMEDLG_H