学习QWT已经有一段时间了,可以说是已经有了一定的理解,所以打算做个系列教程用来给将来的自己做参考,希望也能对正在使用QWT的朋友有一点点帮助。
QWT是一个QT的第三方控件库,主要用于数据可视化,关于QWT的安装,可以去看我的另一篇文章:安装QWT。
下面是QT源码包中README的内容
The Qwt Widget Library
----------------------
Qwt is an extension to the libraries of the Qt Project.
The Qwt library contains widgets and components which are
primarily useful for technical and scientifical purposes.
It includes a 2-D plotting widget, different kinds of sliders,
and much more.
Qwt is hosted at http://qwt.sf.net
Installation
------------
Read INSTALL how to build and install Qwt.
Copyright
---------
Qwt Widget Library
Copyright (C) 1997 Josef Wilgen
Copyright (C) 2002 Uwe Rathmann
Qwt is published under the Qwt License, Version 1.0.
You should have received a copy of this licence in the file
COPYING.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
里面简要地介绍了QWT的用途,以及一些版权信息。
本次教程将会以源码包中的examples为素材进行讲解。我们本着先易后难的基本学习法则,先介绍简单的例子如simpleplot等,通过简单的例子来掌握基本绘图方法,然后再逐渐深入讲解一些难一点的例子如oscilloscope等,通过模仿这些高级案例来掌握如何实现一些高级功能。好了,话不多说,开始我们的旅程。