src/hbwidgets/widgets/hbdatetimepicker_p.h
changeset 21 4633027730f5
parent 7 923ff622b8b9
child 23 e6ad4ef83b23
equal deleted inserted replaced
7:923ff622b8b9 21:4633027730f5
    27 #define HBDATETIMEPICKER_P_H
    27 #define HBDATETIMEPICKER_P_H
    28 
    28 
    29 #include "hbwidget_p.h"
    29 #include "hbwidget_p.h"
    30 #include "hbtumbleview.h"
    30 #include "hbtumbleview.h"
    31 #include "hbdatetimepicker.h"
    31 #include "hbdatetimepicker.h"
       
    32 #include "hbdatepickerview_p.h"
    32 
    33 
    33 #include "hbextendedlocale.h"
    34 #include "hbextendedlocale.h"
    34 
    35 
    35 #include <QStringListModel>
    36 #include <QStringListModel>
    36 #include <QGraphicsLinearLayout>
    37 #include <QGraphicsLinearLayout>
    37 #include <QDateTime>
    38 #include <QDateTime>
    38 #include <QGraphicsWidget>
    39 #include <QGraphicsWidget>
    39 #include <QList>
    40 #include <QList>
    40 #include <QHash>
    41 #include <QHash>
    41 
    42 
    42 #define VIEWER HbTumbleView
    43 #define VIEWER HbDatePickerView
    43 
    44 
    44 
    45 
    45 #define HBDATETIMEPICKER_TIME_MIN QTime(0, 0, 0, 0)
    46 #define HBDATETIMEPICKER_TIME_MIN QTime(0, 0, 0, 0)
    46 #define HBDATETIMEPICKER_TIME_MAX QTime(23, 59, 59, 999)
    47 #define HBDATETIMEPICKER_TIME_MAX QTime(23, 59, 59, 999)
    47 #define HBDATETIMEPICKER_DATE_MIN QDate(1900, 1, 1) //15th Oct 4713 B.C.
    48 #define HBDATETIMEPICKER_DATE_MIN QDate(1900, 1, 1) //15th Oct 4713 B.C.