23 lines
		
	
	
		
			286 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			286 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef WIDGET2_H
 | |
| #define WIDGET2_H
 | |
| 
 | |
| #include <QWidget>
 | |
| #include <QLabel>
 | |
| #include <QPushButton>
 | |
| 
 | |
| class Widget2 : public QWidget
 | |
| {
 | |
|     Q_OBJECT
 | |
| public:
 | |
|     explicit Widget2(QWidget *parent = nullptr);
 | |
| 
 | |
| public:
 | |
|     QPushButton *btn;
 | |
|     QLabel *label;
 | |
| 
 | |
| signals:
 | |
| 
 | |
| };
 | |
| 
 | |
| #endif // WIDGET2_H
 |