summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Haumann <dhaumann@kde.org>2014-01-20 17:33:36 (GMT)
committerDominik Haumann <dhaumann@kde.org>2014-01-20 17:33:36 (GMT)
commit56125958066c87bcfe1835fabd143891d46a06f5 (patch)
tree2f76e603f44cb6807348bf9a17dff7cd72077b45
parentaf3f4352384471b3557879a7d8b75bf9b3d4ea3e (diff)
show an example image in the API documentation of KMessageWidget
-rw-r--r--dox/kmessagewidget.pngbin0 -> 16526 bytes
-rw-r--r--src/kmessagewidget.h7
2 files changed, 6 insertions, 1 deletions
diff --git a/dox/kmessagewidget.png b/dox/kmessagewidget.png
new file mode 100644
index 0000000..a646e63
--- /dev/null
+++ b/dox/kmessagewidget.png
Binary files differ
diff --git a/src/kmessagewidget.h b/src/kmessagewidget.h
index 55f8a84..4023867 100644
--- a/src/kmessagewidget.h
+++ b/src/kmessagewidget.h
@@ -34,9 +34,14 @@ class KMessageWidgetPrivate;
* feedback, or to implement opportunistic interactions.
*
* As a feedback widget, KMessageWidget provides a less intrusive alternative
- * to "OK Only" message boxes. If you do not need a modal KMessageBox,
+ * to "OK Only" message boxes. If you want to avoid a modal KMessageBox,
* consider using KMessageWidget instead.
*
+ * Examples of KMessageWidget look as follows, all of them having an icon set
+ * with setIcon(), and the first three show a close button:
+ *
+ * \image html kmessagewidget.png "KMessageWidget with different message types"
+ *
* <b>Negative feedback</b>
*
* The KMessageWidget can be used as a secondary indicator of failure: the