JonYang il y a 14 heures
Parent
commit
659ec177f7
2 fichiers modifiés avec 24 ajouts et 16 suppressions
  1. 6 6
      View/die-bonder-ui/Src/ProgrammPage.cpp
  2. 18 10
      View/die-bonder-ui/Src/ProgrammPage.h

+ 6 - 6
View/die-bonder-ui/Src/ProgrammPage.cpp

@@ -1,7 +1,4 @@
 #include "ProgrammPage.h"
-#include "Src/RewriteControl/Controls/SpinBox.h"
-#include "Src/RewriteControl/Controls/DoubleSpinBox.h"
-#include <QPushButton>
 
 ProgrammPage::ProgrammPage(QWidget *parent)
 	: QWidget(parent)
@@ -12,15 +9,18 @@ ProgrammPage::ProgrammPage(QWidget *parent)
 }
 
 ProgrammPage::~ProgrammPage()
-{}
+{
+
+}
 
 
 void ProgrammPage::initPage()
 {
 	this->setAttribute(Qt::WA_DeleteOnClose);
+
 	m_BondMatrixProgramPage = new BondMatrixProgramPage(this);
-	m_pWaffleProgrammPage = new WaffleProgramPage(this);
-	m_WaferProgramPage = new WaferProgramPage(this);
+	m_pWaffleProgrammPage	= new WaffleProgramPage(this);
+	m_WaferProgramPage		= new WaferProgramPage(this);
 
 	ui.verticalLayoutBondMatrix->addWidget(m_BondMatrixProgramPage);
 	ui.verticalLayoutWaffleMatrix->addWidget(m_pWaffleProgrammPage);

+ 18 - 10
View/die-bonder-ui/Src/ProgrammPage.h

@@ -1,11 +1,19 @@
-#pragma once
+// *****************************************************************************
+// 版权所有(C)2023~2099 上海骄成超声波技术有限公司
+// 保留所有权利
+// *****************************************************************************
+// 作者 : 杨坚
+// 版本 : 1.0
+// 功能说明:
+//			物料参数
+// *****************************************************************************
+#ifndef __PROGRAMMPAGE_H__
+#define __PROGRAMMPAGE_H__ 1
 
-#include <QWidget>
 #include "ui_ProgrammPage.h"
-#include "CViewInterface.h"
 #include "WaffleProgramPage.h"
-#include <View/die-bonder-ui/Src/WaferProgramPage.h>
-#include <View/die-bonder-ui/Src/BondMatrixProgramPage.h>
+#include "BondMatrixProgramPage.h"
+#include "WaferProgramPage.h"
 
 class ProgrammPage : public QWidget
 {
@@ -16,15 +24,15 @@ public:
 	~ProgrammPage();
 
 private:
-
 	void initPage();
 
 private:
 	Ui::ProgrammPageClass ui;
 
-	BondMatrixProgramPage* m_BondMatrixProgramPage = nullptr;
-	WaffleProgramPage* m_pWaffleProgrammPage = nullptr;
-	WaferProgramPage* m_WaferProgramPage = nullptr;
 
-	
+	BondMatrixProgramPage*	m_BondMatrixProgramPage = nullptr;
+	WaffleProgramPage*		m_pWaffleProgrammPage = nullptr;
+	WaferProgramPage*		m_WaferProgramPage = nullptr;
 };
+
+#endif  //__PROGRAMMPAGE_H__