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.
		
		
		
		
			
				
					21 lines
				
				333 B
			
		
		
			
		
	
	
					21 lines
				
				333 B
			| 
								 
											4 years ago
										 
									 | 
							
								#include <QLabel>
							 | 
						||
| 
								 | 
							
								#include <QPushButton>
							 | 
						||
| 
								 | 
							
								#include <QWidget>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class Reset : public QWidget {
							 | 
						||
| 
								 | 
							
								  Q_OBJECT
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								public:
							 | 
						||
| 
								 | 
							
								  explicit Reset(bool recover = false, QWidget *parent = 0);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								private:
							 | 
						||
| 
								 | 
							
								  QLabel *body;
							 | 
						||
| 
								 | 
							
								  QPushButton *rejectBtn;
							 | 
						||
| 
								 | 
							
								  QPushButton *rebootBtn;
							 | 
						||
| 
								 | 
							
								  QPushButton *confirmBtn;
							 | 
						||
| 
								 | 
							
								  void doReset();
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								private slots:
							 | 
						||
| 
								 | 
							
								  void confirm();
							 | 
						||
| 
								 | 
							
								};
							 |