diff options
Diffstat (limited to 'examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc')
-rw-r--r-- | examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc b/examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc index 2fc1ed8f46..2b17866f21 100644 --- a/examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc +++ b/examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc @@ -7,6 +7,8 @@ \title Qt Quick Controls - Gallery \keyword Qt Quick Controls 2 - Gallery \ingroup qtquickcontrols-examples + \examplecategory {User Interface Components} + \examplecategory {Mobile} \brief A gallery of controls. \raw HTML @@ -35,5 +37,20 @@ graphical appearance of a control, allows you to interact with the control, and explains in which circumstances it is handy to use this control. + When the application is in portrait mode, the drawer is an interactive side + panel that can be swiped open from the left edge. It appears on top of the + content, blocking user interaction through its modal background. When the + application is in landscape mode, the drawer and the content are laid out + side-by-side. + + The current orientation of the application is determined by comparing the + width and height of the window and orientation mode configuration in the + settings: + + \snippet gallery/gallery.qml orientation + + As this example supports all built-in Qt Quick Controls styles, it uses + \l {Run-Time Style Selection}{runtime style selection}. + \include examples-run.qdocinc */ |