summaryrefslogtreecommitdiff
path: root/client/widgets/datetime.h
diff options
context:
space:
mode:
authordeva <deva>2011-03-25 14:54:32 +0000
committerdeva <deva>2011-03-25 14:54:32 +0000
commit93de7f375842c0afb72db8796c45bfda5f1a6f13 (patch)
treef00bb8bab149e11b5fbb7208382b142d9fafc53e /client/widgets/datetime.h
parenta3016fbf0d50bfe82e69a657328ef76370227979 (diff)
Finished documenting the last widgets. Also some changes in the docgen app.
Diffstat (limited to 'client/widgets/datetime.h')
-rw-r--r--client/widgets/datetime.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/client/widgets/datetime.h b/client/widgets/datetime.h
index b6e2d36..d238ea0 100644
--- a/client/widgets/datetime.h
+++ b/client/widgets/datetime.h
@@ -32,6 +32,26 @@
#include <QDomNode>
#include <QDateTime>
+/***
+ * Date and Time Widget
+ * @tag datetime
+ * @screenshot
+ * @extends widget
+ * This widget is used to get structured time and date information.
+ * <em>NOTE</em>: The value attribute must be a unix timestamp (number of
+ * seconds since epoch: 1/1-1970).
+ * @att fuzziness The precision of the display. Values from 1 - 7 can be used
+ * with the following meaning:
+ * <ul>
+ * <li>1: yyyy</li>
+ * <li>2: MMMM yyyy</li>
+ * <li>3: dd MMMM yyyy</li>
+ * <li>4: dd MMMM yyyy hh</li>
+ * <li>5: dd MMMM yyyy hh:mm</li>
+ * <li>6: dd MMMM yyyy hh:mm:ss</li>
+ * <li>7: dd MMMM yyyy hh:mm:ss:zzz</li>
+ * </ul>
+ */
class QDateTimeEdit;
class DateTime : public Widget
{