equal
deleted
inserted
replaced
51 |
51 |
52 /* |
52 /* |
53 * This is an overloaded function when an index is changes due to deletion |
53 * This is an overloaded function when an index is changes due to deletion |
54 */ |
54 */ |
55 void indexChanged(); |
55 void indexChanged(); |
|
56 void forceZoomToBackground(); |
56 |
57 |
57 signals: |
58 signals: |
58 void pinchGestureReceived(int index); |
59 void pinchGestureReceived(int index); |
59 void zoomWidgetMovedBackground(int index); |
60 void zoomWidgetMovedBackground(int index); |
60 |
61 |
92 void retreiveFocusedImage(); |
93 void retreiveFocusedImage(); |
93 //finalize the transform and update the sizehint of mZoomWidget |
94 //finalize the transform and update the sizehint of mZoomWidget |
94 void finalizeWidgetTransform(); |
95 void finalizeWidgetTransform(); |
95 //get the focused image from the model |
96 //get the focused image from the model |
96 QPixmap getFocusedImage(); |
97 QPixmap getFocusedImage(); |
|
98 //set all the zoom parameters as per the circumstances |
|
99 void setZoomParams(); |
97 |
100 |
98 //data members |
101 //data members |
99 private: |
102 private: |
100 //view widgets |
103 //view widgets |
101 QGraphicsPixmapItem *mZoomItem; //Item containing the pixmap |
104 QGraphicsPixmapItem *mZoomItem; //Item containing the pixmap |
134 bool mImageDecodeRequestSend; |
137 bool mImageDecodeRequestSend; |
135 //To check if the pinch gesture is in progress to block any events to HbScrollArea |
138 //To check if the pinch gesture is in progress to block any events to HbScrollArea |
136 bool mPinchGestureOngoing; |
139 bool mPinchGestureOngoing; |
137 //to check if decoded image is available |
140 //to check if decoded image is available |
138 bool mDecodedImageAvailable; |
141 bool mDecodedImageAvailable; |
|
142 //to check if the widget is actually in Foreground |
|
143 bool mZoomOngoing; |
139 int mTimerId; |
144 int mTimerId; |
140 |
145 |
141 }; |
146 }; |
142 #endif //GLXZOOMWIDGET_H |
147 #endif //GLXZOOMWIDGET_H |