mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 11:23:55 +08:00
2fb8b563eb
* faster startup
* faster
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed3b6bd90c
20 lines
303 B
C++
20 lines
303 B
C++
#pragma once
|
|
|
|
#include <QLabel>
|
|
|
|
class DriveStats : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DriveStats(QWidget* parent = 0);
|
|
|
|
private:
|
|
bool metric;
|
|
struct StatsLabels {
|
|
QLabel *routes, *distance, *hours;
|
|
} all_, week_;
|
|
|
|
private slots:
|
|
void parseResponse(const QString &response);
|
|
};
|