equal
deleted
inserted
replaced
24 #include <hbeffect.h> |
24 #include <hbeffect.h> |
25 |
25 |
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 |
|
30 #define NBR_ANIM_ITEM 2 |
|
31 |
29 //Orbit/Qt forward declartion |
32 //Orbit/Qt forward declartion |
30 class QTimer; |
33 class QTimer; |
31 class HbAction; |
34 class HbAction; |
32 class HbGridView; |
35 class HbGridView; |
33 class HbMainWindow; |
36 class HbMainWindow; |
52 /* |
55 /* |
53 * Initialize the coverflow and partially creates the coverflow with one image |
56 * Initialize the coverflow and partially creates the coverflow with one image |
54 * to make the widget light weight in order to make transition smooth |
57 * to make the widget light weight in order to make transition smooth |
55 * and also loads the widgets. |
58 * and also loads the widgets. |
56 */ |
59 */ |
57 void initializeView(QAbstractItemModel *model); |
60 void initializeView( QAbstractItemModel *model, GlxView *preView ); |
58 |
61 |
59 /* |
62 /* |
60 * resets the view, with just one icon being present in the widget |
63 * resets the view, with just one icon being present in the widget |
61 * to make the widget light weight in order to make |
64 * to make the widget light weight in order to make |
62 * transition smooth |
65 * transition smooth |
114 QAbstractItemModel *mModel; //no ownership |
117 QAbstractItemModel *mModel; //no ownership |
115 HbMainWindow *mWindow; //no ownership |
118 HbMainWindow *mWindow; //no ownership |
116 GlxCoverFlow *mCoverFlow; |
119 GlxCoverFlow *mCoverFlow; |
117 HbGridView *mImageStrip; |
120 HbGridView *mImageStrip; |
118 QTimer *mUiOffTimer; //use for ui off after 30 sec |
121 QTimer *mUiOffTimer; //use for ui off after 30 sec |
119 HbIconItem *mIconItem ; //temporary item for play the image strip select animation |
122 HbIconItem *mIconItems[ NBR_ANIM_ITEM ] ; //temporary item for play the image strip select animation |
120 GlxTvOutWrapper *mTvOutWrapper; |
123 GlxTvOutWrapper *mTvOutWrapper; |
121 HbToolBar *mFullScreenToolBar; //Fullscreen Toolbar |
124 HbToolBar *mFullScreenToolBar; //Fullscreen Toolbar |
122 //for Zoom |
125 //for Zoom |
123 GlxZoomWidget *mZoomWidget; |
126 GlxZoomWidget *mZoomWidget; |
124 HbDocumentLoader *mDocLoader; |
127 HbDocumentLoader *mDocLoader; |