diff --git a/HPPA/HPPA.cpp b/HPPA/HPPA.cpp
index 126c9c8..4501959 100644
--- a/HPPA/HPPA.cpp
+++ b/HPPA/HPPA.cpp
@@ -232,6 +232,9 @@ HPPA::HPPA(QWidget *parent)
connect(ui.motor_power_open_btn, SIGNAL(clicked()), this, SLOT(onMotorPowerOpen_btn()));
connect(ui.motor_power_close_btn, SIGNAL(clicked()), this, SLOT(onMotorPowerClose_btn()));
+
+ //
+ connect(this->ui.action_about, SIGNAL(triggered()), this, SLOT(onAbout()));
}
HPPA::~HPPA()
@@ -1769,6 +1772,13 @@ void HPPA::onFocus2(int command)
}
}
+void HPPA::onAbout()
+{
+ aboutWindow about;
+ about.show();
+ about.exec();
+}
+
void HPPA::onDark()
{
QMessageBox msgBox;
diff --git a/HPPA/HPPA.h b/HPPA/HPPA.h
index 3384431..fdcd298 100644
--- a/HPPA/HPPA.h
+++ b/HPPA/HPPA.h
@@ -28,6 +28,7 @@
#include "imageProcessor.h"
#include "focusWindow.h"
+#include "aboutWindow.h"
#define PI 3.1415926
@@ -230,6 +231,7 @@ public Q_SLOTS:
void onAutoExposure();
void onFocus1();
void onFocus2(int command);
+ void onAbout();
void onDark();
void onReference();
void onStartRecordStep1();
diff --git a/HPPA/HPPA.ui b/HPPA/HPPA.ui
index 7370864..a35fdd3 100644
--- a/HPPA/HPPA.ui
+++ b/HPPA/HPPA.ui
@@ -1735,7 +1735,7 @@
help
-
+
@@ -1831,7 +1831,7 @@
Pika XC2
-
+
about
diff --git a/HPPA/HPPA.vcxproj b/HPPA/HPPA.vcxproj
index 0f3c8ee..36946d4 100644
--- a/HPPA/HPPA.vcxproj
+++ b/HPPA/HPPA.vcxproj
@@ -102,6 +102,7 @@
+
@@ -112,6 +113,7 @@
Create
+
@@ -136,6 +138,7 @@
+
diff --git a/HPPA/HPPA.vcxproj.filters b/HPPA/HPPA.vcxproj.filters
index 6be9d8e..77b9357 100644
--- a/HPPA/HPPA.vcxproj.filters
+++ b/HPPA/HPPA.vcxproj.filters
@@ -82,6 +82,9 @@
Source Files
+
+ Source Files
+
@@ -117,6 +120,9 @@
Header Files
+
+ Header Files
+
@@ -136,6 +142,9 @@
Form Files
+
+ Form Files
+
diff --git a/HPPA/about.ui b/HPPA/about.ui
new file mode 100644
index 0000000..bd4cbf6
--- /dev/null
+++ b/HPPA/about.ui
@@ -0,0 +1,111 @@
+
+
+ aboutDialog
+
+
+ Qt::ApplicationModal
+
+
+
+ 0
+ 0
+ 753
+ 490
+
+
+
+ Dialog
+
+
+
+ HPPA.icoHPPA.ico
+
+
+
+
+ 90
+ 250
+ 578
+ 134
+
+
+
+ -
+
+
+ 公司:北京依锐思遥感技术有限公司
+
+
+
+ -
+
+
+ 地址:北京市海淀区清河安宁庄东路18号5号楼二层205
+
+
+
+ -
+
+
+ 电话:010-51292601
+
+
+
+ -
+
+
+ 邮箱:hanshanlong@iris-rs.cn
+
+
+
+
+
+
+
+
+ 270
+ 150
+ 108
+ 24
+
+
+
+ 版本:1.5
+
+
+
+
+
+ 270
+ 70
+ 391
+ 31
+
+
+
+ Hyper Plant Phenotypic Analysis
+
+
+ Qt::PlainText
+
+
+
+
+
+ 90
+ 50
+ 141
+ 141
+
+
+
+
+
+
+ HPPA.ico
+
+
+
+
+
+
diff --git a/HPPA/aboutWindow.cpp b/HPPA/aboutWindow.cpp
new file mode 100644
index 0000000..4a84310
--- /dev/null
+++ b/HPPA/aboutWindow.cpp
@@ -0,0 +1,22 @@
+#include "aboutWindow.h"
+
+
+aboutWindow::aboutWindow(QWidget* parent)
+{
+ ui.setupUi(this);
+
+ ui.companylname_label->setOpenExternalLinks(true);//Ϊtrueܴҳ
+ QString text = ui.companylname_label->text();
+ ui.companylname_label->setText("" + text);
+
+ Qt::WindowFlags flags = 0;
+ //flags |= Qt::WindowMinimizeButtonHint;
+ flags |= Qt::WindowCloseButtonHint;
+ flags |= Qt::MSWindowsFixedSizeDialogHint;
+ setWindowFlags(flags);
+}
+
+aboutWindow::~aboutWindow()
+{
+
+}
\ No newline at end of file
diff --git a/HPPA/aboutWindow.h b/HPPA/aboutWindow.h
new file mode 100644
index 0000000..9489e19
--- /dev/null
+++ b/HPPA/aboutWindow.h
@@ -0,0 +1,26 @@
+#pragma once
+#include
+#include
+
+#include "ui_about.h"
+
+class aboutWindow :public QDialog
+{
+ Q_OBJECT
+
+
+public:
+ aboutWindow(QWidget* parent = Q_NULLPTR);
+ ~aboutWindow();
+
+
+
+private:
+ Ui::aboutDialog ui;
+
+public Q_SLOTS:
+
+signals:
+
+};
+