qfedu-qt-level/homework-day1/widget5.h

25 lines
370 B
C
Raw Permalink Normal View History

2023-08-08 17:47:59 +08:00
#ifndef WIDGET5_H
#define WIDGET5_H
#include <QWidget>
#include <QPushButton>
#include <QLabel>
#include "widget6.h"
class Widget5 : public QWidget
{
Q_OBJECT
public:
explicit Widget5(QWidget *parent = nullptr);
2023-08-13 11:47:17 +08:00
~Widget5(){ delete w6;}
2023-08-08 17:47:59 +08:00
private:
Widget6 *w6; // Widget6 类对象的指针成员
QPushButton *btn;
signals:
};
#endif // WIDGET5_H