|  |  | @ -1,5 +1,6 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | #include <QLabel> |  |  |  | #include <QLabel> | 
			
		
	
		
		
			
				
					
					|  |  |  | #include <QWidget> |  |  |  | #include <QWidget> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | #include <QScrollBar> | 
			
		
	
		
		
			
				
					
					|  |  |  | #include <QPushButton> |  |  |  | #include <QPushButton> | 
			
		
	
		
		
			
				
					
					|  |  |  | #include <QVBoxLayout> |  |  |  | #include <QVBoxLayout> | 
			
		
	
		
		
			
				
					
					|  |  |  | #include <QApplication> |  |  |  | #include <QApplication> | 
			
		
	
	
		
		
			
				
					|  |  | @ -23,6 +24,11 @@ int main(int argc, char *argv[]) { | 
			
		
	
		
		
			
				
					
					|  |  |  |   scroll->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded); |  |  |  |   scroll->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded); | 
			
		
	
		
		
			
				
					
					|  |  |  |   layout->addWidget(scroll, 0, 0, Qt::AlignTop); |  |  |  |   layout->addWidget(scroll, 0, 0, Qt::AlignTop); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   // Scroll to the bottom
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   QObject::connect(scroll->verticalScrollBar(), &QAbstractSlider::rangeChanged, [=](){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     scroll->verticalScrollBar()->setValue(scroll->verticalScrollBar()->maximum()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   QPushButton *btn = new QPushButton(); |  |  |  |   QPushButton *btn = new QPushButton(); | 
			
		
	
		
		
			
				
					
					|  |  |  | #ifdef __aarch64__ |  |  |  | #ifdef __aarch64__ | 
			
		
	
		
		
			
				
					
					|  |  |  |   btn->setText("Reboot"); |  |  |  |   btn->setText("Reboot"); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |