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.
28 lines
470 B
28 lines
470 B
2 months ago
|
#pragma once
|
||
|
|
||
|
#include <QWidget>
|
||
|
#include <QVBoxLayout>
|
||
|
#include <QLabel>
|
||
|
#include "selfdrive/ui/qt/request_repeater.h"
|
||
|
|
||
|
// Forward declarations
|
||
|
class SettingsWindow;
|
||
|
|
||
|
class FirehosePanel : public QWidget {
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit FirehosePanel(SettingsWindow *parent);
|
||
|
|
||
|
private:
|
||
|
QVBoxLayout *layout;
|
||
|
|
||
|
QLabel *detailed_instructions;
|
||
|
QLabel *contribution_label;
|
||
|
QLabel *toggle_label;
|
||
|
|
||
|
RequestRepeater *firehose_stats;
|
||
|
|
||
|
private slots:
|
||
|
void refresh();
|
||
|
};
|