26 //User Defined Includes |
26 //User Defined Includes |
27 #include <glxview.h> |
27 #include <glxview.h> |
28 #include <glxcoverflow.h> |
28 #include <glxcoverflow.h> |
29 //Orbit/Qt forward declartion |
29 //Orbit/Qt forward declartion |
30 class QTimer; |
30 class QTimer; |
|
31 class HbAction; |
31 class HbGridView; |
32 class HbGridView; |
32 class HbMainWindow; |
33 class HbMainWindow; |
33 class HbPushButton; |
34 class HbPushButton; |
34 class HbDocumentLoader; |
35 class HbDocumentLoader; |
35 class QAbstractItemModel; |
36 class QAbstractItemModel; |
|
37 class HbIconItem; |
36 |
38 |
37 //User Defined forward declartion |
39 //User Defined forward declartion |
38 class GlxZoomSlider; |
40 class GlxZoomSlider; |
39 class GlxZoomControl; |
41 class GlxZoomControl; |
40 class CGlxHdmiController; |
42 class CGlxHdmiController; |
76 void indexChanged(const QModelIndex &index ); |
78 void indexChanged(const QModelIndex &index ); |
77 void scrollingStarted(); |
79 void scrollingStarted(); |
78 void scrollingEnded(); |
80 void scrollingEnded(); |
79 void pressed(const QModelIndex &index ); |
81 void pressed(const QModelIndex &index ); |
80 void released(const QModelIndex &index ); |
82 void released(const QModelIndex &index ); |
81 void showdetailsview(); |
83 void setVisvalWindowIndex(); |
82 void setVisvalWindowIndex(); |
|
83 void coverFlowEventHandle( GlxCoverFlowEvent e); |
84 void coverFlowEventHandle( GlxCoverFlowEvent e); |
|
85 void effectFinished( const HbEffect::EffectStatus ); |
|
86 void imageSelectionEffectFinished( const HbEffect::EffectStatus ); |
|
87 void handleToolBarAction(); |
84 |
88 |
85 signals : |
|
86 void cancelTimer(); |
|
87 |
|
88 private: |
89 private: |
89 |
90 |
90 /* |
91 /* |
91 * The widgets are retrieved from the docml |
92 * The widgets are retrieved from the docml |
92 */ |
93 */ |
105 void setImageStripModel(); |
106 void setImageStripModel(); |
106 |
107 |
107 /* |
108 /* |
108 * Called when an item is highlighted. |
109 * Called when an item is highlighted. |
109 */ |
110 */ |
110 void SetImageToHdmiL(); |
111 void SetImageToHdmiL(); |
|
112 void loadFullScreenToolBar(); |
|
113 void imageSelectionAnimation(const QModelIndex &index); |
|
114 |
111 private: |
115 private: |
112 QAbstractItemModel *mModel; //no ownership |
116 QAbstractItemModel *mModel; //no ownership |
113 HbMainWindow *mWindow; //no ownership |
117 HbMainWindow *mWindow; //no ownership |
114 GlxCoverFlow *mCoverFlow; |
118 GlxCoverFlow *mCoverFlow; |
115 HbGridView *mImageStrip; |
119 HbGridView *mImageStrip; |
116 bool mUiOff; // to check the current status of ui on / off |
120 bool mUiOff; // to check the current status of ui on / off |
117 QTimer *mUiOffTimer; //use for ui off after 30 sec |
121 QTimer *mUiOffTimer; //use for ui off after 30 sec |
|
122 HbIconItem *mIconItem ; //temporary item for play the image strip select animation |
118 //for Zoom |
123 //for Zoom |
119 HbPushButton *mZmPushButton; |
124 HbPushButton *mZmPushButton; |
120 GlxZoomSlider *mZoomSlider; |
125 GlxZoomSlider *mZoomSlider; |
121 GlxZoomControl *mZoomControl; |
126 GlxZoomControl *mZoomControl; |
122 bool mSendUserActivityEvent; |
|
123 //for the FLIP CASE |
|
124 HbPushButton *mFlipPushButton; |
|
125 int nbrCol; //to store the number of column in the image strip |
|
126 HbDocumentLoader *mDocLoader; |
127 HbDocumentLoader *mDocLoader; |
127 CGlxHdmiController* iHdmiController; |
128 CGlxHdmiController* iHdmiController; |
|
129 HbToolBar *mFullScreenToolBar; //Fullscreen Toolbar |
|
130 HbAction *mFlipAction; //Action : it starts activates the details view |
|
131 HbAction *mSendAction; |
|
132 HbAction *mDeleteAction; |
128 }; |
133 }; |
129 |
134 |
130 #endif /* GLXFULLSCREENVIEW_H_ */ |
135 #endif /* GLXFULLSCREENVIEW_H_ */ |