summaryrefslogtreecommitdiff
path: root/client/widgets/datetime.h
diff options
context:
space:
mode:
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
{