17 #include <QtCore/qglobal.h> 18 #include <QtCore/QTimer> 20 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) 21 #include <QtGui/QLabel> 23 #include <QtWidgets/QLabel> 47 float warningThreshold()
const;
50 float shutdownThreshold()
const;
59 const int mRenewInterval = 60 * 1000;
66 const float m12VWarningThreshold = 10.9;
70 const float m12VShutdownThreshold = 10.4;
74 const float m6VWarningThreshold = 7.1;
78 const float m6VShutdownThreshold = 6.8;
82 const float mSanityThreshold = 1.0;
BatteryIndicator(trikControl::BrickInterface &brick, QWidget *parent=0)
Constructor.
Definition: batteryIndicator.cpp:22
Level
Contains values indicating settings for power threshold.
Definition: powerLevel.h:25
Definition: abstractIndicator.h:21
Label showing battery voltage.
Definition: batteryIndicator.h:32
Interface representing TRIK controller board and devices installed on it, also provides access to per...
Definition: brickInterface.h:46