#ifndef CLS_DATETIME_H #define CLS_DATETIME_H #include #include #include #include #include "Field.h" class DateTime : public Field { public: DateTime(QWidget *parent, int db_id, int PropId, QString label = QString(), QGridLayout *layout = NULL, int row = 0, int col = 0); DateTime(QWidget *parent, int db_id, int PropId, QDateTime value, QString label = QString(), QGridLayout *layout = NULL, int row = 0, int col = 0); void SetValue(QVariant value); protected: QDateTimeEdit *dtEdit; int calculateLength() { return 0; } // unused }; #endif