Skip to content
Browse files
[Qt] QWebSettings::TiledBackingStoreEnabled attribute lacks documentation and default value

Reviewed by Kenneth Rohde Christiansen.

* Api/qgraphicswebview.cpp:
* Api/qwebsettings.cpp:

Canonical link:
git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Antti Koivisto committed Mar 31, 2010
1 parent 658d593 commit fb6f5b9a31c13490cf2b3b9bc15e68523baf9616
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
@@ -1105,7 +1105,8 @@ bool QGraphicsWebView::findText(const QString &subString, QWebPage::FindFlags op
If this property is set, the QGraphicsWebView will automatically change its
size to match the size of the main frame contents. As a result the top level frame
will never have scrollbars.
will never have scrollbars. It will also make CSS fixed positioning to behave like absolute positioning
with elements positioned relative to the document instead of the viewport.
This property should be used in conjunction with the QWebPage::preferredContentsSize property.
If not explicitly set, the preferredContentsSize is automatically set to a reasonable value.
@@ -406,6 +406,13 @@ QWebSettings* QWebSettings::globalSettings()
QGraphicsWebView, accelerates animations of web content. CSS animations of the transform and
opacity properties will be rendered by composing the cached content of the animated elements.
This feature is enabled by default
\value TiledBackingStoreEnabled This setting enables the tiled backing store feature
for a QGraphicsWebView. With the tiled backing store enabled, the web page contents in and around
the current visible area is speculatively cached to bitmap tiles. The tiles are automatically kept
in sync with the web page as it changes. Enabling tiling can significantly speed up painting heavy
operations like scrolling. Enabling the feature increases memory consumption. It does not work well
with contents using CSS fixed positioning (see also \l{QGraphicsWebView::}{resizesToContents} property).
\l{QGraphicsWebView::}{tiledBackingStoreFrozen} property allows application to temporarily freeze the contents of the backing store.
\value FrameFlatteningEnabled With this setting each subframe is expanded to its contents.
On touch devices, it is desired to not have any scrollable sub parts of the page
as it results in a confusing user experience, with scrolling sometimes scrolling sub parts
@@ -446,6 +453,7 @@ QWebSettings::QWebSettings()
d->attributes.insert(QWebSettings::LocalContentCanAccessFileUrls, true);
d->attributes.insert(QWebSettings::AcceleratedCompositingEnabled, true);
d->attributes.insert(QWebSettings::WebGLEnabled, false);
d->attributes.insert(QWebSettings::TiledBackingStoreEnabled, false);
d->attributes.insert(QWebSettings::FrameFlatteningEnabled, false);
d->offlineStorageDefaultQuota = 5 * 1024 * 1024;
d->defaultTextEncoding = QLatin1String("iso-8859-1");
@@ -1,3 +1,14 @@
2010-03-31 Antti Koivisto <>

Reviewed by Kenneth Rohde Christiansen.
[Qt] QWebSettings::TiledBackingStoreEnabled attribute lacks documentation and default value

* Api/qgraphicswebview.cpp:
* Api/qwebsettings.cpp:

2010-03-30 Gavin Barraclough <>

Rubber stamped by Sam Weinig.

0 comments on commit fb6f5b9

Please sign in to comment.