Skip to content

Commit

Permalink
V1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gztss committed Sep 3, 2018
1 parent aa8cff3 commit bc37e84
Show file tree
Hide file tree
Showing 18 changed files with 195 additions and 96 deletions.
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@

<p align="center">
<a>
<img src="https://github.com/gztss/SerialTool/blob/master/SerialTool/resource/images/logo.ico" alt="logo" width=64 height=64>
</a>
<h2 align="center">SerialTool</h2>
<p align="center">
<a href="https://github.com/gztss/SerialTool/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/gztss/SerialTool.svg" alt="license" />
</a>
<a href="https://github.com/gztss/SerialTool/issues">
<img src="https://img.shields.io/github/issues/gztss/SerialTool.svg" alt="issues">
</a>
<a>
<img src="https://img.shields.io/github/repo-size/gztss/SerialTool.svg" alt="Repo Size" />
</a>
<a href="https://github.com/gztss/SerialTool/archive/master.zip">
<img src="https://img.shields.io/github/languages/code-size/gztss/SerialTool.svg" alt="Code Size" />
</a>
<a href="https://github.com/gztss/SerialTool/releases">
<img src="https://img.shields.io/github/downloads/gztss/SerialTool/total.svg" alt="All Downloads" />
</a>
<a href="https://github.com/gztss/SerialTool/releases">
<img src="https://img.shields.io/github/release/gztss/SerialTool/all.svg" alt="Last Release">
</a>
</p>
<p align="center">A practical Serial-Port/TCP/UDP debugging tool.</p>
</p>

# SerialTool
## 简介

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

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

## 项目信息

Expand Down
8 changes: 5 additions & 3 deletions SerialTool/SerialTool.pro
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ SOURCES += \
source/pointdatabuffer.cpp \
source/valuedisplay.cpp \
source/mainwindow.cpp \
source/filetransmitview.cpp
source/filetransmitview.cpp \
source/plotview.cpp

HEADERS += \
include/aboutbox.h \
Expand All @@ -74,7 +75,8 @@ HEADERS += \
include/pointdatabuffer.h \
include/valuedisplay.h \
include/mainwindow.h \
include/filetransmitview.h
include/filetransmitview.h \
include/plotview.h

DISTFILES += \
resource/images/clear.png \
Expand All @@ -83,7 +85,7 @@ DISTFILES += \
resource/images/port config.png \
resource/images/config.ico \
resource/images/exit.ico \
resource/images/icon.ico \
resource/images/logo.ico \
resource/images/pause.ico \
resource/images/save.ico \
resource/images/start.ico
Expand Down
3 changes: 2 additions & 1 deletion SerialTool/include/oscilloscope.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ private slots:
void yRangeChanged(double range);
void xRangeChanged(const QString &str);
void channelStyleChanged(ChannelItem *item);
void horzScrollBarChanged(int value);
void horzScrollBarMoved(int value);
void horzScrollBarActionTriggered(void);
void timeUpdata();

private:
Expand Down
19 changes: 19 additions & 0 deletions SerialTool/include/plotview.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#ifndef PLOTVIEW_H
#define PLOTVIEW_H

#include <QtCharts/QChartView>

class PlotView : public QtCharts::QChartView
{
public:
PlotView(QWidget *parent);

protected:
void resizeEvent(QResizeEvent *event);

private:
int xTickCount(int width);
int yTickCount(int height);
};

#endif // PLOTVIEW_H
4 changes: 2 additions & 2 deletions SerialTool/include/version.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#ifndef __VERSION_H
#define __VERSION_H

#define MAIN_VERSION 1.2.4
#define MAIN_VERSION 1.2.5

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

#define _STR_(s) #s
#define __STR(s) _STR_(s)

#define BUILD_VERSION _STR_(48b44)
#define BUILD_VERSION _STR_(54e45)
#define SOFTWARE_VERSION __STR(MAIN_VERSION)

#endif
Binary file removed SerialTool/resource/images/icon.ico
Binary file not shown.
Binary file added SerialTool/resource/images/logo.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion SerialTool/resource/serialtool.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<qresource prefix="/SerialTool">
<file>images/config.ico</file>
<file>images/exit.ico</file>
<file>images/icon.ico</file>
<file>images/logo.ico</file>
<file>images/pause.ico</file>
<file>images/save.ico</file>
<file>images/start.ico</file>
Expand Down
2 changes: 1 addition & 1 deletion SerialTool/resource/serialtool.rc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#endif
#include "../include/version.h"

IDI_ICON1 ICON DISCARDABLE "./images/icon.ico"
IDI_ICON1 ICON DISCARDABLE "./images/logo.ico"
VS_VERSION_INFO VERSIONINFO
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
Expand Down
Loading

0 comments on commit bc37e84

Please sign in to comment.