26 class QGraphicsWidget; |
26 class QGraphicsWidget; |
27 class QGraphicsLinearLayout; |
27 class QGraphicsLinearLayout; |
28 class HbIconItem; |
28 class HbIconItem; |
29 class HbTextItem; |
29 class HbTextItem; |
30 class HbFrameItem; |
30 class HbFrameItem; |
|
31 class CalenTodayIndicatorLineDrawer; |
31 |
32 |
32 // CONSTANTS |
33 // CONSTANTS |
33 const QString focusIconName = "qtg_fr_cal_focused_day_ind"; |
34 const QString focusIconName = "qtg_fr_cal_focused_day_ind"; |
34 const QString eventIndname = "qtg_graf_cal_event_ind"; |
35 const QString eventIndname = "qtg_graf_cal_event_ind"; |
35 |
36 |
52 void pressStateChanged(bool animate); |
53 void pressStateChanged(bool animate); |
53 bool canSetModelIndex(const QModelIndex& index); |
54 bool canSetModelIndex(const QModelIndex& index); |
54 void createPrimitives(); |
55 void createPrimitives(); |
55 |
56 |
56 private: |
57 private: |
57 void drawUnderline(bool underlineEnabled); |
|
58 private: |
|
59 QColor mTodayUnderLineColor; |
58 QColor mTodayUnderLineColor; |
60 QColor mActiveTextColor; |
59 QColor mActiveTextColor; |
61 QColor mInActiveTextColor; |
60 QColor mInActiveTextColor; |
62 QColor mCurrentDateColor; |
61 QColor mCurrentDateColor; |
63 QColor mGridBorderColor; |
62 QColor mGridBorderColor; |
64 HbIconItem *mEventIndicatorItem; |
63 HbIconItem *mEventIndicatorItem; |
65 HbTextItem *mMonthDayInfoItem; |
64 HbTextItem *mMonthDayInfoItem; |
66 HbFrameItem *mFocusIndicatorItem; |
65 HbFrameItem *mFocusIndicatorItem; |
67 HbIconItem *mTodayIndicatorItem; |
66 CalenTodayIndicatorLineDrawer *mTodayIndicatorItem; |
68 }; |
67 }; |
69 |
68 |
70 #endif // CALENGRIDITEMPROTOTYPE_H |
69 #endif // CALENGRIDITEMPROTOTYPE_H |
71 |
70 |
72 // End of file --Don't remove this. |
71 // End of file --Don't remove this. |