summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2015-10-21 18:11:15 +0200
committerPeter Varga <pvarga@inf.u-szeged.hu>2015-10-27 10:08:26 +0000
commitd2e095c3c3a794657db82c6805fa7b942a0331b2 (patch)
treec1785a6f0d660ec7ec3bfd7f6d0d109b0b7e2d68 /examples
parente8661d98de22e81db14f43211fe384bb58a32c97 (diff)
Add Full Screen setting to quicknanobrowser
Change-Id: I264a0317d46b79cce8481b3227307115f64520d8 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/webengine/quicknanobrowser/BrowserWindow.qml10
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/webengine/quicknanobrowser/BrowserWindow.qml b/examples/webengine/quicknanobrowser/BrowserWindow.qml
index 123a7cc8..3e06e566 100644
--- a/examples/webengine/quicknanobrowser/BrowserWindow.qml
+++ b/examples/webengine/quicknanobrowser/BrowserWindow.qml
@@ -83,6 +83,7 @@ ApplicationWindow {
property alias javaScriptEnabled: javaScriptEnabled.checked;
property alias errorPageEnabled: errorPageEnabled.checked;
property alias pluginsEnabled: pluginsEnabled.checked;
+ property alias fullScreenSupportEnabled: fullScreenSupportEnabled.checked;
}
Action {
@@ -268,7 +269,13 @@ ApplicationWindow {
id: pluginsEnabled
text: "Plugins On"
checkable: true
- checked: true
+ checked: WebEngine.settings.pluginsEnabled
+ }
+ MenuItem {
+ id: fullScreenSupportEnabled
+ text: "FullScreen On"
+ checkable: true
+ checked: WebEngine.settings.fullScreenSupportEnabled
}
MenuItem {
id: offTheRecordEnabled
@@ -354,6 +361,7 @@ ApplicationWindow {
settings.javascriptEnabled: appSettings.javaScriptEnabled
settings.errorPageEnabled: appSettings.errorPageEnabled
settings.pluginsEnabled: appSettings.pluginsEnabled
+ settings.fullScreenSupportEnabled: appSettings.fullScreenSupportEanbled
onCertificateError: {
error.defer()