qfedu-qt-level/homework-day2/widget1.h

24 lines
365 B
C
Raw Permalink Normal View History

2023-08-08 22:36:21 +08:00
#ifndef WIDGET1_H
#define WIDGET1_H
#include <QWidget>
#include <QLineEdit>
#include <QLabel>
class Widget1 : public QWidget
{
Q_OBJECT
private:
QLineEdit *line_edit; // 用于网址输入的单行文本编辑器
QLabel *label; // QLabel ,设置足够大
public:
explicit Widget1(QWidget *parent = nullptr);
signals:
};
#endif // WIDGET1_H