#ifndef QMODNAMEDLG_H #define QMODNAMEDLG_H #include #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