44 lines
879 B
C++
44 lines
879 B
C++
/**
|
|
* @file WellDialog.h
|
|
* @date Sept 12, 2014
|
|
* @auto zhangjie
|
|
*/
|
|
#ifndef CWELLDIALOG_H
|
|
#define CWELLDIALOG_H
|
|
|
|
#pragma warning( push ,0)
|
|
#include "WellLogUI.h"
|
|
#include "WellLogDialog.h"
|
|
//#include "DataTree.h"
|
|
|
|
#pragma warning( pop )
|
|
|
|
namespace Ui
|
|
{
|
|
class WellDialog;
|
|
}
|
|
|
|
/**
|
|
* @class CWellDialog
|
|
* @brief 测对话框
|
|
*/
|
|
|
|
class OSGWELLLOGUI_EXPORT CWellDialog : public WellLogDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
CWellDialog(QWidget *parent = 0, Qt::WindowFlags flags = 0);
|
|
~CWellDialog(void);
|
|
virtual void DataToView();
|
|
void DataToViewOld();
|
|
virtual void ViewToData();
|
|
void ViewToDataOld();
|
|
virtual void GetOKAndCancel(QPushButton* &okBtn,QPushButton* &cancelBtn);
|
|
virtual int Validate();
|
|
//QTreeWidgetItem* GetTreeItem(CDataTree *pTree, CBaseObject* pObject );
|
|
private:
|
|
Ui::WellDialog* m_pUI;
|
|
};
|
|
|
|
#endif /* WELLLOGPROJECTDIALOG_H */
|