24 lines
365 B
C++
24 lines
365 B
C++
#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
|