equal
deleted
inserted
replaced
75 ); |
75 ); |
76 |
76 |
77 qreal calculateMinuteHeight(const QTime &start, const QTime &end); |
77 qreal calculateMinuteHeight(const QTime &start, const QTime &end); |
78 |
78 |
79 private: |
79 private: |
80 qreal mRange; //!<Distanse beatween lines |
80 qreal mRange; //!<Distance between lines |
81 QColor mColor;//!<Color of status stripe |
81 QColor mColor;//!<Color of status stripe |
82 CalenDayStatusStrip::DrawingStyle mDrawingStyle;//!<Specify style of drawing |
82 CalenDayStatusStrip::DrawingStyle mDrawingStyle;//!<Specify style of drawing |
83 /*! |
83 /*! |
84 Orginal start and end time of event |
84 Original start and end time of event |
85 */ |
85 */ |
86 QPair<QTime,QTime> mStartEndEventTime; |
86 QPair<QTime,QTime> mStartEndEventTime; |
87 |
87 |
88 static const qreal mMinute;//!<It keep info how much seconds are in minute |
88 static const qreal mMinute;//!<It keeps info how much seconds are in minute |
89 static const qreal mMinimumTime;//!<It keep info about minimum timeline in minutes |
89 static const qreal mMinimumTime;//!<It keeps info about minimum timeline in minutes |
90 }; |
90 }; |
91 |
91 |
92 Q_DECLARE_METATYPE(CalenDayStatusStrip::DrawingStyle) |
92 Q_DECLARE_METATYPE(CalenDayStatusStrip::DrawingStyle) |
93 |
93 |
94 #endif // CALENDAYSTATUSSTRIP_H |
94 #endif // CALENDAYSTATUSSTRIP_H |