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
						
					
					
						
							593 B
						
					
					
				
			
		
		
	
	
							30 lines
						
					
					
						
							593 B
						
					
					
				| #include <QString>
 | |
| #include <QWidget>
 | |
| #include <QLineEdit>
 | |
| #include <QPushButton>
 | |
| #include <QStackedWidget>
 | |
| 
 | |
| class Setup : public QStackedWidget {
 | |
|   Q_OBJECT
 | |
| 
 | |
| public:
 | |
|   explicit Setup(QWidget *parent = 0);
 | |
| 
 | |
| private:
 | |
|   QWidget *getting_started();
 | |
|   QWidget *network_setup();
 | |
|   QWidget *software_selection();
 | |
|   QWidget *custom_software();
 | |
|   QWidget *downloading();
 | |
|   QWidget *download_failed();
 | |
| 
 | |
|   QWidget *build_page(QString title, QWidget *content, bool next, bool prev);
 | |
| 
 | |
| signals:
 | |
|   void downloadFailed();
 | |
| 
 | |
| public slots:
 | |
|   void nextPage();
 | |
|   void prevPage();
 | |
|   void download(QString url);
 | |
| };
 | |
| 
 |