summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-12-01 15:35:18 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2020-12-01 20:20:18 +0100
commit8e74ee07913c9227529b7e223671ec9571b79b38 (patch)
treebb6e62afd6b2f3c3e2157a8b9df1561f3caddc9e /examples
parent2e0f7117b60781019fb97b3db73b731323b6609f (diff)
Update Drop Site Example docs: mention the new markdown support
Amends 4edcea762d9ce334c4c1a78234c90c118b81da87 Change-Id: Ide3e7a67b6604d07b76edcfe484c8d29e4e848fb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/widgets/doc/dropsite.qdoc5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/widgets/doc/dropsite.qdoc b/examples/widgets/doc/dropsite.qdoc
index d8d09612f6..720d001525 100644
--- a/examples/widgets/doc/dropsite.qdoc
+++ b/examples/widgets/doc/dropsite.qdoc
@@ -103,7 +103,7 @@
\snippet draganddrop/dropsite/droparea.cpp dropEvent() function part1
The \c mimeData object can contain one of the following objects: an image,
- HTML text, plain text, or a list of URLs.
+ HTML text, Markdown text, plain text, or a list of URLs.
\snippet draganddrop/dropsite/droparea.cpp dropEvent() function part2
@@ -113,6 +113,9 @@
\li If \c mimeData contains HTML, we display it with
\l{QLabel::setText()}{setText()} and set \c{DropArea}'s text format
as Qt::RichText.
+ \li If \c mimeData contains Markdown, we display it with
+ \l{QLabel::setText()}{setText()} and set \c{DropArea}'s text format
+ as Qt::MarkdownText.
\li If \c mimeData contains plain text, we display it with
\l{QLabel::setText()}{setText()} and set \c{DropArea}'s text format
as Qt::PlainText. In the event that \c mimeData contains URLs, we