Improve the Plotwidget

Authored by rizzitello on Jun 6 2018, 5:42 AM.

Description

Improve the Plotwidget

Summary:

  • newPlot -> addPlot
  • deletePlot -> removePlot
  • update is now called when appendPoint is called and is private.
  • QStringList plots () returns list of plots.
  • setMaximumTemperature to set the Y cap
  • setMaximumPoints to set how much data to hold
  • Solve memory leak (by holding only so much data per point)
  • No longer start with any point. (this frees clients to add them based on the device)
  • Adjust test gui for these changes.

Reviewers: Atelier: AtCore, tcanabrava

Reviewed By: Atelier: AtCore, tcanabrava

Subscribers: tcanabrava, Atelier: AtCore

Tags: Atelier: AtCore

Differential Revision: https://phabricator.kde.org/D13375

Details

Committed
rizzitelloJun 7 2018, 1:23 PM
Reviewer
Atelier: AtCore
Differential Revision
D13375: Improve the Plotwidget
Parents
R232:903d27d9af0b: Improve the Plotwidget
R232:5a566e0babfb: Add info pane to log widget
Branches
Unknown
Tags
Unknown

Merged Changes

CommitAuthorDetailsCommitted
903d27d9af0bD13375rizzitello
Improve the Plotwidget 
Jun 7 2018