Add options to set Temperature Timer
ClosedPublic

Authored by rizzitello on Dec 12 2018, 2:21 AM.

Diff Detail

Repository
R232 AtCore
Branch
setTempInterval
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 5997
Build 6015: arc lint + arc unit
rizzitello requested review of this revision.Dec 12 2018, 2:21 AM
rizzitello created this revision.
rizzitello edited the summary of this revision. (Show Details)Dec 12 2018, 2:23 AM
rizzitello edited the test plan for this revision. (Show Details)
rizzitello added a project: Atelier: AtCore.
rizzitello added a subscriber: Atelier: AtCore.
rizzitello updated this revision to Diff 47412.Dec 12 2018, 2:41 AM
  • New AtCorePrivate::sdPrintProgressTimer used for sd print checks
  • Add option to setTemperatureTimerInterval
  • Add option to adjust temperature check interval to timeline dock
tcanabrava requested changes to this revision.Dec 12 2018, 12:18 PM
tcanabrava added inline comments.
src/core/atcore.cpp
319–335

why not using the QTimer as not a pointer?
this simplify things:

  • no need to deelete / recreate it

instead of connecting / disconnect you could just connect once and stop it when not needed anymore.

324

d->temperatureTimer->deleteLater();

This revision now requires changes to proceed.Dec 12 2018, 12:18 PM
rizzitello updated this revision to Diff 47445.Dec 12 2018, 1:26 PM
  • Tomaz suggestions, slight cleanup
rizzitello marked 2 inline comments as done.Dec 12 2018, 1:27 PM
rizzitello updated this revision to Diff 47455.Dec 12 2018, 1:52 PM
  • rebase
  • add Q_PROPERTY for temperature Timer methods
tcanabrava accepted this revision.Dec 12 2018, 2:02 PM
This revision is now accepted and ready to land.Dec 12 2018, 2:02 PM
rizzitello updated this revision to Diff 47456.Dec 12 2018, 2:21 PM
  • Fix commit order
laysrodrigues accepted this revision.Dec 13 2018, 4:42 PM
patrickelectric accepted this revision.Dec 13 2018, 4:46 PM
rizzitello closed this revision.Dec 13 2018, 5:03 PM