calendarui/views/dayview/inc/calendayview.h
changeset 63 a3cb48f6c889
parent 57 bb2d3e476f29
child 70 a5ed90760192
equal deleted inserted replaced
57:bb2d3e476f29 63:a3cb48f6c889
    30 // Forward declarations
    30 // Forward declarations
    31 class QGraphicsLinearLayout;
    31 class QGraphicsLinearLayout;
    32 class XQSettingsManager;
    32 class XQSettingsManager;
    33 class QVariant;
    33 class QVariant;
    34 class HbGroupBox;
    34 class HbGroupBox;
       
    35 class HbFrameItem;
    35 class AgendaEntry;
    36 class AgendaEntry;
    36 class CalenDocLoader;
    37 class CalenDocLoader;
    37 class CalenDayContentScrollArea;
    38 class CalenDayContentScrollArea;
    38 class CalenDayContentWidget;
    39 class CalenDayContentWidget;
    39 class CalenDayHourScrollArea;
    40 class CalenDayHourScrollArea;
   148 private slots:
   149 private slots:
   149     /**
   150     /**
   150      * Scrolls content to correct position after view repopulation
   151      * Scrolls content to correct position after view repopulation
   151      */
   152      */
   152     void setupViewport();
   153     void setupViewport();
       
   154     void orientationChanged(Qt::Orientation orientation);
   153 
   155 
   154 private:
   156 private:
   155     /**
   157     /**
   156      * 
   158      * 
   157      */
   159      */
   173     
   175     
   174     CalenDayContentScrollArea* mContentScrollArea;  //!< Scroll area for content
   176     CalenDayContentScrollArea* mContentScrollArea;  //!< Scroll area for content
   175     CalenDayContentWidget* mContentWidget;    //!< Content widget
   177     CalenDayContentWidget* mContentWidget;    //!< Content widget
   176     CalenDayHourScrollArea* mHourScrollArea;  //!< Scroll area for hour elements
   178     CalenDayHourScrollArea* mHourScrollArea;  //!< Scroll area for hour elements
   177     QGraphicsLinearLayout* mVLayout;    //!< Vertical layout for day view
   179     QGraphicsLinearLayout* mVLayout;    //!< Vertical layout for day view
       
   180     HbWidget* mMainContainer;//!< Container widget for hour elements and content
   178     
   181     
   179     CalenDocLoader* mDocLoader; //!< Document loader for day view
   182     CalenDocLoader* mDocLoader; //!< Document loader for day view
   180     
   183     
   181     bool mIsLaunching;  //!< Indicates that view is launching first time
   184     bool mIsLaunching;  //!< Indicates that view is launching first time
   182     
   185     
   183 private:    
   186 private:    
   184 
   187 
   185     XQSettingsManager* mSettingsManager;
   188     XQSettingsManager* mSettingsManager;
   186     XQSettingsKey mRegionalInfo;
   189     XQSettingsKey mRegionalInfoKey;
   187     MCalenServices  &mServices;
   190     MCalenServices  &mServices;
   188 	
   191 	
   189     /**
   192     /**
   190      * Current date/time.
   193      * Current date/time.
   191      */
   194      */
   196     HbGroupBox *mRegionalInfoGroupBox;
   199     HbGroupBox *mRegionalInfoGroupBox;
   197     /*!
   200     /*!
   198      * \brief It keep pointer to go to Today action from menu. 
   201      * \brief It keep pointer to go to Today action from menu. 
   199      */
   202      */
   200     HbAction *mGoToTodayMenuAction;
   203     HbAction *mGoToTodayMenuAction;
       
   204     
       
   205     HbFrameItem *mBg;   //!< Background graphic for content and hour elements
   201 };
   206 };
   202 
   207 
   203 
   208 
   204 #endif // CALEDAYVIEW_H
   209 #endif // CALEDAYVIEW_H
   205 
   210