equal
deleted
inserted
replaced
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 /** |
|
149 * Scrolls content to correct position after view repopulation |
|
150 */ |
|
151 void setupViewport(); |
|
152 |
147 private: |
153 private: |
148 /** |
154 /** |
149 * |
155 * |
150 */ |
156 */ |
151 void getCurrentDate(); |
157 void getCurrentDate(); |
157 |
163 |
158 /** |
164 /** |
159 * Connects view's slots. |
165 * Connects view's slots. |
160 */ |
166 */ |
161 void setupSlots(); |
167 void setupSlots(); |
162 |
168 |
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 |
169 private: // members related to view management and gesture handling |
169 |
170 |
170 CalenDayContentScrollArea* mContentScrollArea; //!< Scroll area for content (events) |
171 CalenDayModelManager* mModelManager; |
171 |
172 |
|
173 CalenDayContentScrollArea* mContentScrollArea; //!< Scroll area for content |
172 CalenDayContentWidget* mContentWidget; //!< Content widget |
174 CalenDayContentWidget* mContentWidget; //!< Content widget |
173 |
|
174 CalenDayHourScrollArea* mHourScrollArea; //!< Scroll area for hour elements |
175 CalenDayHourScrollArea* mHourScrollArea; //!< Scroll area for hour elements |
175 |
176 QGraphicsLinearLayout* mVLayout; //!< Vertical layout for day view |
176 CalenDayModelManager* mModelManager; |
177 |
177 |
178 CalenDocLoader* mDocLoader; //!< Document loader for day view |
178 QGraphicsLinearLayout* mVLayout; |
179 |
179 |
180 bool mIsLaunching; //!< Indicates that view is launching first time |
180 |
181 |
181 private: |
182 private: |
182 |
183 |
183 XQSettingsManager* mSettingsManager; |
184 XQSettingsManager* mSettingsManager; |
184 XQSettingsKey mRegionalInfo; |
185 XQSettingsKey mRegionalInfo; |
185 MCalenServices &mServices; |
186 MCalenServices &mServices; |