aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-11-01 14:40:50 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2016-11-01 20:19:04 +0000
commit6f10ef6e167f4af68439f473842da3b5ea87e4a4 (patch)
tree277166dc185882959fad16dd6113bb19338a5170 /src
parent154c5e32af4d59cd04ac907d3f66cb0807ff14e9 (diff)
Doc: add GIF animation for Drawer
Change-Id: Ib4c8b5f80e63a322c20caa837632739a3bfee3ee Task-number: QTBUG-55904 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/imports/controls/doc/images/qtquickcontrols2-drawer.gifbin0 -> 55780 bytes
-rw-r--r--src/quicktemplates2/qquickdrawer.cpp16
2 files changed, 6 insertions, 10 deletions
diff --git a/src/imports/controls/doc/images/qtquickcontrols2-drawer.gif b/src/imports/controls/doc/images/qtquickcontrols2-drawer.gif
new file mode 100644
index 00000000..736f34f6
--- /dev/null
+++ b/src/imports/controls/doc/images/qtquickcontrols2-drawer.gif
Binary files differ
diff --git a/src/quicktemplates2/qquickdrawer.cpp b/src/quicktemplates2/qquickdrawer.cpp
index dc427bc9..d210c015 100644
--- a/src/quicktemplates2/qquickdrawer.cpp
+++ b/src/quicktemplates2/qquickdrawer.cpp
@@ -58,16 +58,12 @@ QT_BEGIN_NAMESPACE
Drawer provides a swipe-based side panel, similar to those often used in
touch interfaces to provide a central location for navigation.
- \table
- \row
- \li \image qtquickcontrols2-drawer-wireframe.png
- Drawer can be positioned at any of the four edges of the content item. \br
- In this image, it is against the left edge of the window.
-
- \li \image qtquickcontrols2-drawer-expanded-wireframe.png
- The drawer is then opened by \e "dragging" it out from the left edge \br
- of the window.
- \endtable
+ \image qtquickcontrols2-drawer.gif
+
+ Drawer can be positioned at any of the four edges of the content item.
+ The drawer above is positioned against the left edge of the window. The
+ drawer is then opened by \e "dragging" it out from the left edge of the
+ window.
\code
import QtQuick 2.7