c++qtqtguiqtcorestripchart

Simple stripchart in C++ / Qt


I have some data coming over serial connection into my C++ Application. Now I wan't to make a simple GUI with a strip chart of those data plus some buttons. (Something like 10Hz refresh rate)

The Buttons are not really a problem. But I didn't find any Qt plugin for strip charts. Is there any or some other library I could call from c++. There should be plenty considering that it is rather simple and common task.

OS: Ubuntu

CC: g++


Solution

  • Take a look at the following widgets:

    Also charts might be a good choice (easy to implement with QML)

    https://www.qt.io/blog/2013/11/07/qt-data-visualization-technology-preview-and-charts-1-3-1-release

    or implement one by yourself with

    https://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html