C++ (Qt)void Widget::proxyAuthenticationRequired(QNetworkReply *reply, QAuthenticator *auth){ auth->setUser("admin"); auth->setPassword(""); ui->plainTextEdit->appendPlainText("network auth!!!!");}
C++ (Qt)ui->webView->settings()->setAttribute(QWebSettings::PluginsEnabled,true);ui->webView->settings()->setAttribute(QWebSettings::JavascriptEnabled,true);ui->webView->settings()->setAttribute(QWebSettings::JavaEnabled,true);ui->webView->settings()->setAttribute(QWebSettings::LocalStorageEnabled,true);ui->webView->settings()->setAttribute(QWebSettings::LocalStorageDatabaseEnabled,true);ui->webView->settings()->setAttribute(QWebSettings::AutoLoadImages,true);