Giter VIP home page Giter VIP logo

qtchartwidget's Introduction

The are two projects ๏ผš QtChartWidget and Splitter, which are introduced in detail as follows.

/************************************ QtChartWidget *********************************************/

Imitating displaying multiple real-time curves in qt, by reading datas from a file.

The belowing is the ultimate gui.

Curve is showed mainly using QChart. It's noted that axisX and axisY have been deprecated. An alternative solution is to use QValueAxis,

addAxis, and attachAxis. When using the attachAxis function, you need to figure out which axis your series use in case of the appearance

of unwanted multiple x axes or y axes.

There is a table to display the latest data as well as minimum and maximum value. In the first column of the table, the checkBox controls the visible status of the corresponding curve(the corresponding curve and checkBox have the same color).

Beside the table, two radioButton in groupBox help to set the status of checkBoxs in table.

/************************************ Splitter *********************************************/

The interface is designed as showing the curve of processed 1d data. In the meanwhile, you can see source and result data in two table, respectively. There are several functions as follows. (1)median filter for 1d data;

(2)average filter for 1d data;

(3)gaussian filter for 1d data;

(4)Fouier transformation for 1d data without acceleration;

(5)fast Fouier transformation for 1d data with zero-padding in most situations;

(6)an example to verify the calculated fft result comparing with the result obtained by matlab(the matlab script file(m file) has been uploaded).
The comparison between the results calculated by matlab(the left) and this program(the right). After checked, the both results are the same.

After you run the program, a file dialog will warn you to select a .txt file as source file that will be processed soon. It's suggest that you should select 3.txt in the file of QtChartWidget project, or it might go wrong. Of course, you can modify the codes to satisfy your specific need.

The picture below is seen firstly, which shows the curve of result data you have already processed.

Another part of tabwidget is as follows. The left table shows the source data and the right for the result data.

qtchartwidget's People

Contributors

liming467 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.