23 lines
316 B
C++
23 lines
316 B
C++
#ifndef WIDGET1_H
|
|
#define WIDGET1_H
|
|
|
|
#include <QWidget>
|
|
#include <QPushButton>
|
|
#include <QLabel>
|
|
|
|
class Widget1 : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
QPushButton *btn; // 私有
|
|
QLabel *label;
|
|
QPushButton *close_btn;
|
|
|
|
public:
|
|
explicit Widget1(QWidget *parent = nullptr);
|
|
|
|
signals:
|
|
|
|
};
|
|
|
|
#endif // WIDGET1_H
|