qfedu-qt-level/qtdemo02/widget1.h

23 lines
316 B
C
Raw Permalink Normal View History

2023-08-08 14:39:49 +08:00
#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