# QWTPlot **Repository Path**: wingsummer/qwtplot ## Basic Information - **Project Name**: QWTPlot - **Description**: 本组件是基于 qwt 进行定制得到,只保留部分图表相关模块 - **Primary Language**: C++ - **License**: LGPL-2.1 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-11-24 - **Last Updated**: 2024-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: Qt, QWT ## 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 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 进行定制得到,由寂静的羽夏进行魔改,做了以下修改: * 只保留部分图表相关模块:曲线图、极坐标图和光谱图,条状图并没有包含 * 将浮点数比较方式改为 qFuzzyCompare 函数比较(原直接使用 == 或者 != 比较,这样会出问题) * 编码方式风格从 C 改为 C++ (原来的编码风格很有 C 风格) * 删除冗余代码,修复消除所有警告 * 将代码文件进行分类,提高可维护性 * 修复 QwtPicker 中 RubberBand 绘制不清晰甚至像素缺失的情况 * 绘制曲线和光谱图默认启用抗锯齿 * 增加 QwtPlotPannerPlus 类,移动图像即时刷新重绘 * 默认配置不支持 pdf/svg 图片导入或导出,支持 OpenGL * 修改 QwtPlotLayout 的 minimumSizeHint 计算方式,使组件能够正常缩放 * 修复 Panner 或 Magnifier 修改图像位置和显示大小,但 Zoomer 缩放回到原状态不 rescale 的问题 * 增加 QwtPlotSpectrogram 中的静态的 renderImage 函数,以直接导出图像 ## 协议 原组件遵守的协议基于 LGPL 协议,故该仓库也是 ## 声明 本仓库 **不接受任何非本人所在课题组的 issue ,但可接受 PR!**