Skip to content

Commit bc37e84

Browse files
author
gztss
committed
V1.2.5
1 parent aa8cff3 commit bc37e84

18 files changed

Lines changed: 195 additions & 96 deletions

README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11

2+
<p align="center">
3+
<a>
4+
<img src="https://github.com/gztss/SerialTool/blob/master/SerialTool/resource/images/logo.ico" alt="logo" width=64 height=64>
5+
</a>
6+
<h2 align="center">SerialTool</h2>
7+
<p align="center">
8+
<a href="https://github.com/gztss/SerialTool/blob/master/LICENSE">
9+
<img src="https://img.shields.io/github/license/gztss/SerialTool.svg" alt="license" />
10+
</a>
11+
<a href="https://github.com/gztss/SerialTool/issues">
12+
<img src="https://img.shields.io/github/issues/gztss/SerialTool.svg" alt="issues">
13+
</a>
14+
<a>
15+
<img src="https://img.shields.io/github/repo-size/gztss/SerialTool.svg" alt="Repo Size" />
16+
</a>
17+
<a href="https://github.com/gztss/SerialTool/archive/master.zip">
18+
<img src="https://img.shields.io/github/languages/code-size/gztss/SerialTool.svg" alt="Code Size" />
19+
</a>
20+
<a href="https://github.com/gztss/SerialTool/releases">
21+
<img src="https://img.shields.io/github/downloads/gztss/SerialTool/total.svg" alt="All Downloads" />
22+
</a>
23+
<a href="https://github.com/gztss/SerialTool/releases">
24+
<img src="https://img.shields.io/github/release/gztss/SerialTool/all.svg" alt="Last Release">
25+
</a>
26+
</p>
27+
<p align="center">A practical Serial-Port/TCP/UDP debugging tool.</p>
28+
</p>
229

3-
# SerialTool
30+
## 简介
431

532
SerialTool是一个实用的串口调试工具,这款工具支持串口调试助手、波形显示和文件传输等功能。该工具软件使用GPL许可证发布。用户可以将波形文件保存为文本文件,然后使用Matlab等工具进行数据分析。如果您支持本软件,欢迎贡献源代码或者向作者提出建议。
633

@@ -23,7 +50,7 @@ SerialTool是一个实用的串口调试工具,这款工具支持串口调试
2350
## 下载地址
2451
* [Latest release](https://github.com/gztss/SerialTool/releases/latest)
2552
* [GitHub](https://github.com/Le-Seul/SerialTool/releases)
26-
* [百度网盘](http://pan.baidu.com/s/1c18ZXW8)
53+
* [百度网盘](http://pan.baidu.com/s/1c18ZXW8) (不推荐😂😂)
2754

2855
## 项目信息
2956

SerialTool/SerialTool.pro

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ SOURCES += \
5151
source/pointdatabuffer.cpp \
5252
source/valuedisplay.cpp \
5353
source/mainwindow.cpp \
54-
source/filetransmitview.cpp
54+
source/filetransmitview.cpp \
55+
source/plotview.cpp
5556

5657
HEADERS += \
5758
include/aboutbox.h \
@@ -74,7 +75,8 @@ HEADERS += \
7475
include/pointdatabuffer.h \
7576
include/valuedisplay.h \
7677
include/mainwindow.h \
77-
include/filetransmitview.h
78+
include/filetransmitview.h \
79+
include/plotview.h
7880

7981
DISTFILES += \
8082
resource/images/clear.png \
@@ -83,7 +85,7 @@ DISTFILES += \
8385
resource/images/port config.png \
8486
resource/images/config.ico \
8587
resource/images/exit.ico \
86-
resource/images/icon.ico \
88+
resource/images/logo.ico \
8789
resource/images/pause.ico \
8890
resource/images/save.ico \
8991
resource/images/start.ico

SerialTool/include/oscilloscope.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ private slots:
6262
void yRangeChanged(double range);
6363
void xRangeChanged(const QString &str);
6464
void channelStyleChanged(ChannelItem *item);
65-
void horzScrollBarChanged(int value);
65+
void horzScrollBarMoved(int value);
66+
void horzScrollBarActionTriggered(void);
6667
void timeUpdata();
6768

6869
private:

SerialTool/include/plotview.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#ifndef PLOTVIEW_H
2+
#define PLOTVIEW_H
3+
4+
#include <QtCharts/QChartView>
5+
6+
class PlotView : public QtCharts::QChartView
7+
{
8+
public:
9+
PlotView(QWidget *parent);
10+
11+
protected:
12+
void resizeEvent(QResizeEvent *event);
13+
14+
private:
15+
int xTickCount(int width);
16+
int yTickCount(int height);
17+
};
18+
19+
#endif // PLOTVIEW_H

SerialTool/include/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#ifndef __VERSION_H
22
#define __VERSION_H
33

4-
#define MAIN_VERSION 1.2.4
4+
#define MAIN_VERSION 1.2.5
55

66
#define SOFTWARE_NAME "SerialTool"
77
#define COPYRIGHT "Copyleft 2017-2018, Wenliang Guan"
88

99
#define _STR_(s) #s
1010
#define __STR(s) _STR_(s)
1111

12-
#define BUILD_VERSION _STR_(48b44)
12+
#define BUILD_VERSION _STR_(54e45)
1313
#define SOFTWARE_VERSION __STR(MAIN_VERSION)
1414

1515
#endif
-66.1 KB
Binary file not shown.
96.9 KB
Binary file not shown.

SerialTool/resource/serialtool.qrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<qresource prefix="/SerialTool">
33
<file>images/config.ico</file>
44
<file>images/exit.ico</file>
5-
<file>images/icon.ico</file>
5+
<file>images/logo.ico</file>
66
<file>images/pause.ico</file>
77
<file>images/save.ico</file>
88
<file>images/start.ico</file>

SerialTool/resource/serialtool.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#endif
66
#include "../include/version.h"
77

8-
IDI_ICON1 ICON DISCARDABLE "./images/icon.ico"
8+
IDI_ICON1 ICON DISCARDABLE "./images/logo.ico"
99
VS_VERSION_INFO VERSIONINFO
1010
FILEFLAGSMASK 0x3fL
1111
#ifdef _DEBUG

0 commit comments

Comments
 (0)