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

24 lines
342 B
C++

#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);
private:
Widget6 *w6; // Widget6 类对象的指针成员
QPushButton *btn;
signals:
};
#endif // WIDGET5_H