#### Version 2.0.1 released on 25.06.18 ####
Bugfixes:
- Default filling order of QCPLayoutGrid is now foColumnsFirst instead of foRowsFirst, as intended and consistent with QCP1.
Note that this also changes the indexing order of e.g. QCustomPlot::axisRect(int index), compared with 2.0.0. You can change
the filling and thus indexing order yourself by calling QCPLayoutGrid::setFillOrder.
- fixed bug in QCPColorMap, when using alpha in the gradient color stops. Used to draw falsely black data points when the associated data value is exactly
on the first or last color stop.
- QCPDataSelection::enforceType(stDataRange) would erroneously add an empty data range to the selection, if the selection was already empty.
This in turn would cause isEmpty() to erroneously return false.
- fixed hypothetical crash when selectTest is called on a QCPItemCurve which has all of its points at the same position
Other:
- Various documentation improvements and clarifications
- Prevent conflict with windows.h min/max macros if user forgets to define NOMINMAX
- compiling QCP shared libraries with static Qt is now easier
- added defines QCUSTOMPLOT_VERSION and QCUSTOMPLOT_VERSION_STR (the same way Qt does) to provide the used QCP version number
- added missing Q_DECL_OVERRIDE declarations, thus preventing warnings some compiler settings
- QCPAxisTicker and subclasses are no longer copyable by value, as intended
- QCPBarsGroup constructor is now explicit, as intended
- Qt 5.11 compatibility
#### Version 2.0.0 released on 04.09.17 ####
Added major features:
- Axis tick and tick label generation was completely refactored and is now handled in the QCPAxisTicker class (also see QCPAxis::setTicker). Available ticker subclasses for special uses cases:
QCPAxisTicker, QCPAxisTickerFixed, QCPAxisTickerLog, QCPAxisTickerPi, QCPAxisTickerTime, QCPAxisTickerDateTime, QCPAxisTickerText
- Data container is now based on QCPDataContainer template for unified data interface and significantly improved memory footprint and better performance for common use-cases, especially data adding/removing.
- New data selection mechanism allows selection of single data points and data ranges for plottables. See special documentation page "data selection mechanism".
- Rubber band/selection rect for data point selection and axis zooming is now available, see documentation of QCustomPlot::setSelectionRectMode and QCPSelectionRect. For this purpose, the new default
layer "overlay" was introduced, which is now the top layer, and holds the QCustomPlot's QCPSelectionRect instance.
- Data sharing between plottables of the same type (see setData methods taking a QSharedPointer)
- OpenGL hardware acceleration is now available across all Qt versions (including Qt4) in a unified, simple interface, with QCustomPlot::setOpenGl (experimental)
- QCPStatisticalBox can now display a series of statistical boxes instead of only a single one
- New QCPErrorBars plottable allows attaching error bars to any one-dimensional plottable (QCPGraph has thus lost its own error-bar capability)
- QCPColorMap now supports transparency via alpha in its color gradient stops, and via a dedicated cell-wise alpha map (see QCPColorMapData::setAlpha)
- Layers may now be individually replotted (QCPLayer::replot), if the mode (QCPLayer::setMode) is set to lmBuffered. Mutually adjacent lmLogical layers share a single paint buffer to save resources.
By default, the new topmost "overlay" layer which contains the selection rect is an lmBuffered layer. Updating the selection rect is thus very fast, independent of the plot contents.
- QCPLayerable (and thus practically all objects in QCP) now have virtual methods to receive mouse press/move/release/doubleclick/wheel events. Before, only QCPLayoutElement provided them.
this makes it much easier to subclass e.g. items and plottables to provide custom mouse interactions that were cumbersome and awkward with the simpler signal-based interface
Added minor features:
- High-DPI support for Qt versions 5.0 and up, using device pixel ratio detected by Qt (can be changed manually via QCustomPlot::setBufferDevicePixelRatio).
- QCPGraph and QCPCurve can now be configured to only display every n'th scatter symbol, see ::setScatterSkip() method
- QCPFinancial allows to define bar width in absolute pixels and axis rect ratio, instead of only in plot key coordinates (see QCPFinancial::setWidthType)
- Range dragging/zooming can now be configured to affect more than one axis per orientation (see new overloads of QCPAxisRect::setRangeDragAxes/setRangeZoomAxes)
- Added QCPTextElement (replaces QCPPlotTitle) for general texts in layouts. Provides clicked and doubleClicked signals, as replacement for the removed QCustomPlot::titleClicked/titleDoubleClicked
- Export functions (QCustomPlot::savePng etc.) now support specifying the resolution that will be written to the image file header. This improves operability with other tools which respect metadata.
- Replots can now be queued to the next event loop iteration with replot(QCP::rpQueuedReplot). This way you can successively ask for a replot at multiple code locations without causing redundant replots
- QCPAxisRect::zoom(...) allows to zoom to a specific rectangular region given in pixel coordinates, either affecting all axes or a specified subset of axes.
- QCPRange::bounded returns a bounded range, trying to preserve its size. Works with rangeChanged signal to limit the allowed range (see rangeChanged doc)
- Plottable rescaleValueAxis method (and getValueRange) now take parameter inKeyRange, which allows rescaling of the value axis only with respect to data in the currently visible key range
- plottableClick and plottableDoubleClick signals now carry the clicked data point index as second parameter
- Added QCPAxis::scaleRange overload without "center" argument, which scales around the current axis range center
- Added QCPRange::expand/expanded overloads which take only one double parameter
- Plottables addToLegend/removeFromLegend methods now have overloads that take any QCPLegend, to make working with non-default legends easier (legends that are not QCustomPlot::legend)
- Added QCPStatisticalBox::setWhiskerAntialiased to allow controlling antialiasing state of whiskers independently of quartile box/median line
- The virtual method QCPLayoutElement::layoutChanged() now allows subclasses to react on a move of the layout element between logical positions in the parent layout, or between layouts
- QCPMarginGroup::commonMargin is now virtual, to facilitate subclassing of QCPMarginGroup
- QCPGraph::getPreparedData is now virtual, and thus allows subclasses to easily generate own plotted data, e.g. on-the-fly.
- Added QCPRange qDebug stream operator
- QCPLayoutGrid (and thus QCPLegend) can now wrap rows or columns at specified row/column counts, see setFillOrder, setWrap and the new addElement overload which doesn't have row/column index
Added minor features after beta:
- QCPGraph fill now renders separate fill segments when there are gaps in the graph data (created by inserting NaN values)
- fractional device pixel ratios are now used, if Qt version >= 5.6
- Axes may now be dragged/zoomed individually by starting the drag/zoom on top of the axis (previously, this required additional code)
- Manual minimum and maximum layout element sizes (setMinimumSize/setMaximumSize) can now affect the inner or the outer rect, see QCPLayoutElement::setSizeConstraintRect
Bugfixes [Also backported to 1.3.2]:
- Fixed possible crash when having a QCPGraph with scatters only and a non-transparent main/fill brush of the graph
- Fixed QCPItemPixmap not updating internally cached scaled pixmap if new pixmap set with same scaled dimensions
- When using log axis scale and zooming out as far as possible (~1e-280..1e280), axis doesn't end up in (via mouse) unrec
没有合适的资源?快使用搜索试试~ 我知道了~
QT控件仪表盘源代码,亲测可用
共594个文件
png:161个
html:155个
o:106个
需积分: 0 2 下载量 179 浏览量
2024-02-29
17:01:21
上传
评论
收藏 48.79MB ZIP 举报
温馨提示
QT控件仪表盘源代码 仪表类型多,样式新颖。 仪表盘定时可以显示数据信息。
资源推荐
资源详情
资源评论
收起资源包目录
QT控件仪表盘源代码,亲测可用 (594个子文件)
myValueControl.pro.user.2.1pre1 13KB
myValueControl.pro.user.8155227.4.8-pre1 23KB
qcustomplot.cpp 1.07MB
mainwindow.cpp 66KB
qrc_myResource.cpp 57KB
qrc_myResource.cpp 57KB
mylcdnumber.cpp 23KB
frmmain.cpp 22KB
moc_frmmain.cpp 13KB
moc_frmmain.cpp 13KB
mainwindow.cpp 12KB
moc_myflashlist.cpp 11KB
moc_myflashlist.cpp 11KB
mygauge2.cpp 10KB
myflashlist.cpp 10KB
mynewled.cpp 9KB
moc_myphotoview.cpp 9KB
moc_myphotoview.cpp 9KB
mygauge3.cpp 9KB
myphotoview.cpp 8KB
mygauge1.cpp 8KB
moc_mybuttonboard.cpp 8KB
mygauge5.cpp 8KB
moc_mybuttonboard.cpp 8KB
mybuttonboard.cpp 7KB
mysliderbutton.cpp 7KB
mygauge6.cpp 6KB
mainwindow.cpp 6KB
mygauge4.cpp 6KB
myprogressbar.cpp 6KB
mychart1.cpp 6KB
moc_mygauge4.cpp 6KB
moc_mygauge4.cpp 5KB
axistag.cpp 5KB
mycoolbar.cpp 5KB
mygauge7.cpp 5KB
moc_mygauge3.cpp 5KB
moc_mygauge3.cpp 5KB
mainwindow.cpp 5KB
myindicator.cpp 5KB
moc_mychart1.cpp 5KB
moc_mychart1.cpp 5KB
moc_mysliderbutton.cpp 5KB
moc_mysliderbutton.cpp 5KB
mywave2.cpp 5KB
moc_mybattery.cpp 5KB
moc_mygauge6.cpp 5KB
moc_mygauge6.cpp 5KB
moc_mynewled.cpp 4KB
moc_mybattery.cpp 4KB
moc_mynewled.cpp 4KB
mainwindow.cpp 4KB
moc_mygauge2.cpp 4KB
moc_mycoolbar.cpp 4KB
moc_myprogressbar.cpp 4KB
moc_mycoolbar.cpp 4KB
moc_myprogressbar.cpp 4KB
moc_mygauge7.cpp 4KB
moc_mygauge7.cpp 4KB
moc_mygauge2.cpp 4KB
moc_myindicator.cpp 4KB
moc_myindicator.cpp 4KB
moc_mygauge1.cpp 4KB
moc_mygauge5.cpp 4KB
moc_mygauge1.cpp 4KB
moc_mygauge5.cpp 4KB
moc_mywave2.cpp 4KB
mywave1.cpp 4KB
moc_mywave2.cpp 4KB
moc_mywave1.cpp 4KB
moc_mywave1.cpp 4KB
moc_mylcdnumber.cpp 4KB
moc_mylcdnumber.cpp 3KB
moc_myaroundcircle.cpp 3KB
moc_myaroundcircle.cpp 3KB
myprogressbar1.cpp 3KB
moc_myvolume.cpp 3KB
moc_myvolume.cpp 3KB
qcpdocumentobject.cpp 3KB
moc_mywave.cpp 3KB
moc_mywave.cpp 3KB
mybattery.cpp 3KB
mywave.cpp 3KB
myaroundcircle.cpp 3KB
moc_myprogressbar1.cpp 3KB
moc_myprogressbar1.cpp 3KB
myvolume.cpp 3KB
main.cpp 2KB
main.cpp 789B
main.cpp 166B
main.cpp 166B
main.cpp 166B
main.cpp 166B
qcp.css 11KB
tabs.css 9KB
Thumbs.db 6KB
Makefile.Debug 996KB
Makefile.Debug 986KB
object_script.myValueControl.Debug 1KB
object_script.myValueControl.Debug 1KB
共 594 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
码农茜茜
- 粉丝: 65
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功