calendarui/views/dayview/inc/calendayview.h
changeset 58 ef813d54df51
parent 50 579cc610882e
child 68 a5a1242fd2e8
equal deleted inserted replaced
50:579cc610882e 58:ef813d54df51
   142     void showRegionalInformationFadeIn();
   142     void showRegionalInformationFadeIn();
   143     void showHideRegionalInformationChanged(const XQSettingsKey& key, const QVariant& var);
   143     void showHideRegionalInformationChanged(const XQSettingsKey& key, const QVariant& var);
   144 
   144 
   145 public slots:
   145 public slots:
   146 	void changeView(TCalenCommandId viewId);
   146 	void changeView(TCalenCommandId viewId);
       
   147 
       
   148 private slots:
       
   149     /**
       
   150      * Scrolls content to correct position after view repopulation
       
   151      */
       
   152     void setupViewport();
       
   153 
   147 private:
   154 private:
   148     /**
   155     /**
   149      * 
   156      * 
   150      */
   157      */
   151     void getCurrentDate();
   158     void getCurrentDate();
   157     
   164     
   158     /**
   165     /**
   159      * Connects view's slots.
   166      * Connects view's slots.
   160      */
   167      */
   161     void setupSlots();
   168     void setupSlots();
   162 
   169     
   163     /**
       
   164      * Scrolls content to correct position after view repopulation
       
   165      */
       
   166     void setupViewport();
       
   167 
       
   168 private: // members related to view management and gesture handling
   170 private: // members related to view management and gesture handling
   169     
   171     
   170     CalenDayContentScrollArea* mContentScrollArea;  //!< Scroll area for content (events)
   172     CalenDayModelManager* mModelManager;
   171     
   173     
       
   174     CalenDayContentScrollArea* mContentScrollArea;  //!< Scroll area for content
   172     CalenDayContentWidget* mContentWidget;    //!< Content widget
   175     CalenDayContentWidget* mContentWidget;    //!< Content widget
   173     
       
   174     CalenDayHourScrollArea* mHourScrollArea;  //!< Scroll area for hour elements
   176     CalenDayHourScrollArea* mHourScrollArea;  //!< Scroll area for hour elements
   175     
   177     QGraphicsLinearLayout* mVLayout;    //!< Vertical layout for day view
   176     CalenDayModelManager* mModelManager;
   178     
   177     
   179     CalenDocLoader* mDocLoader; //!< Document loader for day view
   178     QGraphicsLinearLayout* mVLayout;
   180     
   179     
   181     bool mIsLaunching;  //!< Indicates that view is launching first time
   180    
   182     
   181 private:    
   183 private:    
   182 
   184 
   183     XQSettingsManager* mSettingsManager;
   185     XQSettingsManager* mSettingsManager;
   184     XQSettingsKey mRegionalInfo;
   186     XQSettingsKey mRegionalInfo;
   185     MCalenServices  &mServices;
   187     MCalenServices  &mServices;