From 93de7f375842c0afb72db8796c45bfda5f1a6f13 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 25 Mar 2011 14:54:32 +0000 Subject: Finished documenting the last widgets. Also some changes in the docgen app. --- client/widgets/datetime.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'client/widgets/datetime.h') 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 #include +/*** + * Date and Time Widget + * @tag datetime + * @screenshot + * @extends widget + * This widget is used to get structured time and date information. + * NOTE: 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: + *
    + *
  • 1: yyyy
  • + *
  • 2: MMMM yyyy
  • + *
  • 3: dd MMMM yyyy
  • + *
  • 4: dd MMMM yyyy hh
  • + *
  • 5: dd MMMM yyyy hh:mm
  • + *
  • 6: dd MMMM yyyy hh:mm:ss
  • + *
  • 7: dd MMMM yyyy hh:mm:ss:zzz
  • + *
+ */ class QDateTimeEdit; class DateTime : public Widget { -- cgit v1.2.3