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