13 changed files with 366 additions and 37 deletions
-
3.gitmodules
-
7CMakeLists.txt
-
13README.md
-
1a8k_optalgo
-
4libzqt/zui/zqui.hpp
-
10src/basic/widgetplot2d.cpp
-
16src/basic/zcsv.cpp
-
5src/basic/zcsv.hpp
-
2src/mainwindow.cpp
-
228src/tab/a8k_opt_tab.cpp
-
12src/ui/dialog.cpp
-
24src/ui/dialog.h
-
78src/ui/dialog.ui
@ -1,3 +1,6 @@ |
|||
[submodule "a8000_protocol"] |
|||
path = a8000_protocol |
|||
url = zwsd@192.168.1.3:project_boditech_vidas_a8000_v3/a8000_protocol.git |
|||
[submodule "a8k_optalgo"] |
|||
path = a8k_optalgo |
|||
url = zwsd@192.168.1.3:project_boditech_vidas_a8000_v3/a8k_optalgo.git |
@ -0,0 +1,12 @@ |
|||
#include "dialog.h"
|
|||
|
|||
#include "ui_dialog.h"
|
|||
|
|||
Dialog::Dialog(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog) { ui->setupUi(this); } |
|||
|
|||
Dialog::~Dialog() { delete ui; } |
|||
|
|||
void Dialog::setHelpInfo(QString info) { |
|||
|
|||
ui->helpInfo->setText(info); |
|||
} |
@ -0,0 +1,24 @@ |
|||
#ifndef DIALOG_H |
|||
#define DIALOG_H |
|||
|
|||
#include <QDialog> |
|||
|
|||
namespace Ui { |
|||
class Dialog; |
|||
} |
|||
|
|||
class Dialog : public QDialog |
|||
{ |
|||
Q_OBJECT |
|||
|
|||
public: |
|||
explicit Dialog(QWidget *parent = nullptr); |
|||
~Dialog(); |
|||
|
|||
void setHelpInfo(QString info); |
|||
|
|||
private: |
|||
Ui::Dialog *ui; |
|||
}; |
|||
|
|||
#endif // DIALOG_H |
@ -0,0 +1,78 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<ui version="4.0"> |
|||
<class>Dialog</class> |
|||
<widget class="QDialog" name="Dialog"> |
|||
<property name="geometry"> |
|||
<rect> |
|||
<x>0</x> |
|||
<y>0</y> |
|||
<width>640</width> |
|||
<height>480</height> |
|||
</rect> |
|||
</property> |
|||
<property name="windowTitle"> |
|||
<string>Dialog</string> |
|||
</property> |
|||
<widget class="QDialogButtonBox" name="buttonBox"> |
|||
<property name="geometry"> |
|||
<rect> |
|||
<x>10</x> |
|||
<y>440</y> |
|||
<width>621</width> |
|||
<height>32</height> |
|||
</rect> |
|||
</property> |
|||
<property name="orientation"> |
|||
<enum>Qt::Horizontal</enum> |
|||
</property> |
|||
<property name="standardButtons"> |
|||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|||
</property> |
|||
</widget> |
|||
<widget class="QTextBrowser" name="helpInfo"> |
|||
<property name="geometry"> |
|||
<rect> |
|||
<x>30</x> |
|||
<y>40</y> |
|||
<width>571</width> |
|||
<height>371</height> |
|||
</rect> |
|||
</property> |
|||
</widget> |
|||
</widget> |
|||
<resources/> |
|||
<connections> |
|||
<connection> |
|||
<sender>buttonBox</sender> |
|||
<signal>accepted()</signal> |
|||
<receiver>Dialog</receiver> |
|||
<slot>accept()</slot> |
|||
<hints> |
|||
<hint type="sourcelabel"> |
|||
<x>248</x> |
|||
<y>254</y> |
|||
</hint> |
|||
<hint type="destinationlabel"> |
|||
<x>157</x> |
|||
<y>274</y> |
|||
</hint> |
|||
</hints> |
|||
</connection> |
|||
<connection> |
|||
<sender>buttonBox</sender> |
|||
<signal>rejected()</signal> |
|||
<receiver>Dialog</receiver> |
|||
<slot>reject()</slot> |
|||
<hints> |
|||
<hint type="sourcelabel"> |
|||
<x>316</x> |
|||
<y>260</y> |
|||
</hint> |
|||
<hint type="destinationlabel"> |
|||
<x>286</x> |
|||
<y>274</y> |
|||
</hint> |
|||
</hints> |
|||
</connection> |
|||
</connections> |
|||
</ui> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue