#ifndef COPYOBJECTDLG_H #define COPYOBJECTDLG_H #pragma warning(push,0) #include #include #include "ConsoleOutputWidget.h" #include "ui_CopyObject.h" #include "memrdwt.h" #include "OSGFramework.h" #pragma warning(pop) //extern char *DataTypea[]; //extern int DataLengtha[]; BEGIN_OSGGRAPHICS_NAMESPACE /** * @brief 表格选择列自定义委托 */ class CCopyObjectDlg : public QDialog { Q_OBJECT public: CCopyObjectDlg(QWidget * parent=0, Qt::WindowFlags flags=0); ~CCopyObjectDlg() { if(m_pUI) delete m_pUI; } Ui_CopyObject *m_pUI; void Init(); void RefurbishSource(); void RefurbishDest(); private slots: /** *@brief 拷贝对象槽函数 */ void slotCopy(); void slotChangeSourceWell(int); void slotChangeSourceRound(int); void slotChangeDestWell(int); void slotChangeDestRound(int); void slotCheckCurve(); void slotCheckWave(); void slotCheckTable(); void slotCheckPar(); void slotCheckOther(); void slotSelAll(); void slotNotSelAll(); void slotReverseSel(); public: int curitemType; QString WellName,WellRoundName,WellRoundFileName; QStringList WellNameList,WellRoundNameList,WellRoundFileNameList; bool first; std::vector Curve_Info; std::vector Wave_Info; QStringList ParName;//参数流对象名称 QStringList TableName; QStringList OtherName; //Dest std::vector Curve_Info2; std::vector Wave_Info2; QStringList WellRoundNameList2,WellRoundFileNameList2; QStringList ParName2; QStringList TableName2; QStringList OtherName2; }; END_OSGGRAPHICS_NAMESPACE; #endif