You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PayloadAPP/Src/WebPage/qweb.cpp

14 lines
280 B
C++

8 months ago
#include "qweb.h"
#include "ui_qweb.h"
QWeb::QWeb(QWidget *parent) : QWidget(parent), ui(new Ui::QWeb) {
ui->setupUi(this);
8 months ago
mWeb = new QWebEngineView(this);
8 months ago
ui->verticalLayout->addWidget(mWeb);
mWeb->load(QUrl("https://www.baidu.com"));
8 months ago
}
QWeb::~QWeb() { delete ui; }