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.
		
		
		
		
		
			
		
			
				
					
					
						
							27 lines
						
					
					
						
							470 B
						
					
					
				
			
		
		
	
	
							27 lines
						
					
					
						
							470 B
						
					
					
				| #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();
 | |
| };
 | |
| 
 |