diff options
Diffstat (limited to 'src/quick')
| -rw-r--r-- | src/quick/items/qquickrhiitem.cpp | 2 | ||||
| -rw-r--r-- | src/quick/util/qquickimageprovider.cpp | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/quick/items/qquickrhiitem.cpp b/src/quick/items/qquickrhiitem.cpp index 1fd4234f31..9184b1493c 100644 --- a/src/quick/items/qquickrhiitem.cpp +++ b/src/quick/items/qquickrhiitem.cpp @@ -100,7 +100,7 @@ QT_BEGIN_NAMESPACE initialized, and all QQuickRhiItem instances in the scene will render using the same 3D API. - \section2 A simple example + \section1 A simple example Take the following subclass of QQuickRhiItem. It is shown here in complete form. It renders a single triangle with a perspective projection, where the diff --git a/src/quick/util/qquickimageprovider.cpp b/src/quick/util/qquickimageprovider.cpp index e52d8e7232..7720818304 100644 --- a/src/quick/util/qquickimageprovider.cpp +++ b/src/quick/util/qquickimageprovider.cpp @@ -226,7 +226,7 @@ void QQuickImageResponse::cancel() If you want the rest of the URL to be case insensitive, you will have to take care of that yourself inside your image provider. - \section2 An Example + \section1 An Example Here are two images. Their \c source values indicate they should be loaded by an image provider named "colors", and the images to be loaded are "yellow" @@ -263,8 +263,7 @@ void QQuickImageResponse::cancel() It is possible to provide \l {High Resolution Versions of Images}{"@nx" high DPI syntax}. - - \section2 Asynchronous Image Loading + \section1 Asynchronous Image Loading Image providers that support QImage or Texture loading automatically include support for asychronous loading of images. To enable asynchronous loading for an @@ -293,7 +292,7 @@ void QQuickImageResponse::cancel() See the \l {imageresponseprovider}{Image Response Provider Example} for a complete implementation. - \section2 Image Caching + \section1 Image Caching Images returned by a QQuickImageProvider are automatically cached, similar to any image loaded by the QML engine. When an image with a |
