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.
		
		
		
		
		
			
		
			
				
					
					
						
							30 lines
						
					
					
						
							511 B
						
					
					
				
			
		
		
	
	
							30 lines
						
					
					
						
							511 B
						
					
					
				| #pragma once
 | |
| 
 | |
| #include <QStackedWidget>
 | |
| #include <QString>
 | |
| #include <QWidget>
 | |
| 
 | |
| class Setup : public QStackedWidget {
 | |
|   Q_OBJECT
 | |
| 
 | |
| public:
 | |
|   explicit Setup(QWidget *parent = 0);
 | |
| 
 | |
| private:
 | |
|   QWidget *low_voltage();
 | |
|   QWidget *getting_started();
 | |
|   QWidget *network_setup();
 | |
|   QWidget *downloading();
 | |
|   QWidget *download_failed();
 | |
| 
 | |
|   QWidget *failed_widget;
 | |
|   QWidget *downloading_widget;
 | |
| 
 | |
| signals:
 | |
|   void finished(bool success);
 | |
| 
 | |
| public slots:
 | |
|   void nextPage();
 | |
|   void prevPage();
 | |
|   void download(QString url);
 | |
| };
 | |
| 
 |