12345678910111213141516171819202122232425 |
- import Qt 4.7
- import QtWebKit 1.0
- import "../js/OAuth.js" as FutuAuth
- Item {
- width: screenWidth
- height: screenHeight
- Rectangle {
- anchors.fill: parent;
- color: "steelblue"
- WebView {
- id: authWebView
- anchors.fill: parent
- anchors.margins: 20
- url: appItem.authWebViewUrl;
- settings.privateBrowsingEnabled: true
- settings.offlineWebApplicationCacheEnabled: false
- onLoadFinished: {
- console.log("WEBVIEW onLoadFinished, url: " + url);
- FutuAuth.nextAuthStep();
- }
- }
- }
- }
|