Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 2.39 KB

README.md

File metadata and controls

51 lines (35 loc) · 2.39 KB

anvedi

A data viewer prototype made with Qt and QCustomPlot.

alt text

Replaying some data in Real Time mode:

alt text

In a nutshell

anvedi is a little project I've shaped to play with QCustomPlot, an awesome Qt library for plotting. Note it's a prototype, this means I allowed myself some design shortcuts and I've worked on edge cases sparingly.

You can use anvedi both via GUI or via scripting. I usually integrate my Qt projects with QtScript by using another project I developed in 2011: QShell.

I have also ported some QCustomPlot bricks to QML, since it's not provided by default. This part of the repo is devoted to QML porting. More details to be added at some point.

Last but not least, anvedi is partially tested with QTestLib. Refer to AnvediCheTests for test cases.

What anvedi does:

  • The main purpose of anvedi is plotting data sharing a common domain (e.g. time)
  • Import/Export of the workspace data (JSON files for simplicity)
  • Import/Export of just plot - graphical - information (JSON files for simplicity)
  • Scripting integration
  • Per-curve customization
    • Pen color
    • Filtering and hiding
    • Ticks and labels
    • Ranges (auto and manual)
  • Viewer capabilities
    • Customizable background color
    • Rect zoom
    • Vertical cursor
    • Common plot browsing (horizontal scrollbar, keyboard, etc).
  • Real Time
    • replay of workspace files
    • simple acquisition protocol via PIPES (QLocalSocket)
    • interactive Real Time generation by using the console

Building anvedi

Apart from Qt, anvedi is completely self-contained. QCustomPlot .h and .cpp (just two files) are added to the project for simplicity.

I have been using Visual Studio 2013 Community Edition. .pro files are provided as well - automatically generated by the Qt Visual Studio add-in.

Why "anvedi"?

Don't bother to find an acronym of "anvedi". This is Roman slang, basically an exclamation of surprise after seeing something impressive, so it roughly means "Look at this!".