{
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
- QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+ //QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
QtWebEngine::initialize();
import QtQuick.Layouts 1.3
Window {
- width: 1920
- height: 1200
visible: true
ToolBar {
onClicked: webView.goForward()
}
- TextField {
- id: urlText
- text: ""
- }
-
ToolButton {
- text: qsTr("Reload")
+ text: qsTr("↻")
onClicked: webView.reload()
}
- ToolButton {
- text: qsTr("Enter")
- onClicked: webView.url = urlText.text
+ Label {
+ id: urlText
+ text: ""
}
}
}
anchors.right: parent.right
}
}
-