You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
288 B
19 lines
288 B
4 years ago
|
#pragma once
|
||
|
|
||
4 years ago
|
#include <QLabel>
|
||
4 years ago
|
|
||
|
class DriveStats : public QWidget {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
4 years ago
|
explicit DriveStats(QWidget* parent = 0);
|
||
4 years ago
|
|
||
|
private:
|
||
4 years ago
|
struct StatsLabels {
|
||
|
QLabel *routes, *distance, *hours;
|
||
|
} all_, week_;
|
||
4 years ago
|
|
||
|
private slots:
|
||
4 years ago
|
void parseResponse(const QString &response);
|
||
4 years ago
|
};
|