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.
32 lines
558 B
C++
32 lines
558 B
C++
#ifndef QSIMUITEMDLG_H
|
|
#define QSIMUITEMDLG_H
|
|
|
|
#include <QDialog>
|
|
#include "ui_qworkitemdlg.h"
|
|
#include "QWorkMgrCtrl.h"
|
|
|
|
class QWorkItemDlg : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QWorkItemDlg(QWidget *parent = 0);
|
|
~QWorkItemDlg();
|
|
void setItemData(SimuItem *p);
|
|
void setListPtr(QStringList *listPtr){ ptr = listPtr; };
|
|
SimuItem getItemData(){
|
|
return ntreeItem;
|
|
};
|
|
private:
|
|
Q_SLOT void onOk();
|
|
protected:
|
|
virtual void changeEvent(QEvent *event);
|
|
private:
|
|
Ui::QWorkItemUI ui;
|
|
|
|
SimuItem ntreeItem;
|
|
QStringList *ptr;
|
|
};
|
|
|
|
#endif // QSIMUITEMDLG_H
|