calendarui/views/inc/calenmonthgrid.h
changeset 68 a5a1242fd2e8
parent 58 ef813d54df51
child 77 b0711afde476
equal deleted inserted replaced
58:ef813d54df51 68:a5a1242fd2e8
    85 	void scrollingFinished();
    85 	void scrollingFinished();
    86 	void prependRows();
    86 	void prependRows();
    87 	void appendRows();
    87 	void appendRows();
    88 	void itemActivated(const QModelIndex &index);
    88 	void itemActivated(const QModelIndex &index);
    89 
    89 
       
    90 private slots:
       
    91 
       
    92 	void handleThemeChange();
       
    93 	
    90 private:
    94 private:
    91 	QStandardItemModel *mModel;
    95 	QStandardItemModel *mModel;
    92 	scrollDirection mDirection;
    96 	scrollDirection mDirection;
    93 	bool mIsPanGesture;
    97 	bool mIsPanGesture;
    94 	bool mIsAtomicScroll;
    98 	bool mIsAtomicScroll;
    95 	CalenMonthView *mView;
    99 	CalenMonthView *mView;
    96 	int mCurrentRow;
   100 	int mCurrentRow;
    97 	bool mIsNonActiveDayFocused;
   101 	bool mIsNonActiveDayFocused;
    98 	QDateTime mNonActiveFocusedDay;
       
    99 	bool mIgnoreItemActivated;
   102 	bool mIgnoreItemActivated;
   100 	QPointF mPressedPos;
   103 	QPointF mPressedPos;
   101 	QColor mGridLineColor;
       
   102 	QColor mGridBorderColor;
       
   103 	QGraphicsWidget* mContentWidget;
   104 	QGraphicsWidget* mContentWidget;
   104 	QList<QString> mLocalisedDates;
   105 	QList<QString> mLocalisedDates;
   105 	QPointF mStartPos;
   106 	QPointF mStartPos;
       
   107 	QColor mGridLineColor;
       
   108 	bool mActiveDatesSet;
   106 };
   109 };
   107 
   110 
   108 #endif // CALENMONTHGRID_H
   111 #endif // CALENMONTHGRID_H
   109 
   112 
   110 // End of file  --Don't remove this.
   113 // End of file  --Don't remove this.