ui/views/fullscreenview/inc/glxfullscreenview.h
changeset 69 45459746d5e8
parent 58 383b67fbdb11
equal deleted inserted replaced
65:ccee5c4b0de4 69:45459746d5e8
    63      * Destructor
    63      * Destructor
    64      */
    64      */
    65     ~GlxFullScreenView();
    65     ~GlxFullScreenView();
    66     
    66     
    67     /**
    67     /**
    68      * activate()
       
    69      * ///From GlxView
       
    70      */
       
    71     void activate() ;
       
    72     
       
    73     /**
       
    74      * deActivate()
       
    75      * ///From GlxView
       
    76      */
       
    77     void deActivate();
       
    78 
       
    79     /**
       
    80      * initializeView() - Initialize the coverflow and partially creates the coverflow with one image
    68      * initializeView() - Initialize the coverflow and partially creates the coverflow with one image
    81      * to make the widget light weight in order to make transition smooth
    69      * to make the widget light weight in order to make transition smooth
    82      * and also loads the widgets. 
    70      * and also loads the widgets. 
    83      * @param - pointer of model to retreive the view releted data
    71      * @param - pointer of model to retreive the view releted data
    84      * @parm - previous view pointer to get the staus of fullscreen mode of the view
    72      * @parm - previous view pointer to get the staus of fullscreen mode of the view
    85      */
    73      */
    86     void initializeView( QAbstractItemModel *model, GlxView *preView );
    74     void initializeView( QAbstractItemModel *model, GlxView *preView );    
       
    75     
       
    76     /**
       
    77      * activate()
       
    78      * ///From GlxView
       
    79      */
       
    80     void activate() ;
       
    81     
       
    82     /**
       
    83      * deActivate()
       
    84      * ///From GlxView
       
    85      */
       
    86     void deActivate();
    87     
    87     
    88     /**
    88     /**
    89      * resetView() - resets the view, with just one icon being present in the widget
    89      * resetView() - resets the view, with just one icon being present in the widget
    90      * to make the widget light weight in order to make transition smooth
    90      * to make the widget light weight in order to make transition smooth
    91      */
    91      */
   118     /**
   118     /**
   119      * orientationChanged() - Slot to upadte the layout when orientation of device has changed
   119      * orientationChanged() - Slot to upadte the layout when orientation of device has changed
   120      * @param new orientation
   120      * @param new orientation
   121      */
   121      */
   122     void orientationChanged( Qt::Orientation );
   122     void orientationChanged( Qt::Orientation );
   123     
       
   124     /**
       
   125      * activateUI() - To show the ui content like status bar, toolbar, and imzge strip.
       
   126      */
       
   127     void activateUI();
       
   128     
   123     
   129     /**
   124     /**
   130      * hideUi() - To hide the ui content like status bar, toolbar, and imzge strip.
   125      * hideUi() - To hide the ui content like status bar, toolbar, and imzge strip.
   131      */
   126      */
   132     void hideUi();
   127     void hideUi();
   168      * @param - index of new selected item.
   163      * @param - index of new selected item.
   169      */
   164      */
   170     void released(const QModelIndex &index );
   165     void released(const QModelIndex &index );
   171 
   166 
   172     /**
   167     /**
   173      * setVisvalWindowIndex() - Set the viisual window index of medialist.
       
   174      */
       
   175     void setVisvalWindowIndex();
       
   176     
       
   177     /**
       
   178      * coverFlowEventHandle() -  Handle the event generated by cover flow.
   168      * coverFlowEventHandle() -  Handle the event generated by cover flow.
   179      * @param - cover flow event type
   169      * @param - cover flow event type
   180      */
   170      */
   181     void coverFlowEventHandle( GlxCoverFlowEvent e);
   171     void coverFlowEventHandle( GlxCoverFlowEvent e);
   182     
   172     
   203      * @param - staus of effect
   193      * @param - staus of effect
   204      */
   194      */
   205      void zoomOrientChangeAnimFinished( const HbEffect::EffectStatus status );
   195      void zoomOrientChangeAnimFinished( const HbEffect::EffectStatus status );
   206     
   196     
   207     /**
   197     /**
   208      * effectFinished -  call back when ui on\off effect has finished
   198      * handleToolBarAction() -  call back to handle fullscreen tool bar action 
   209      * @param - staus of effect
       
   210      */
   199      */
   211     void handleToolBarAction();
   200     void handleToolBarAction();
   212     
   201     
   213     /**
   202     /**
   214      * In case of image fetcher handle select command and emit selected index and model 
   203      * In case of image fetcher handle select command and emit selected index and model 
   237      * setLayout() - To set the widgets laout.
   226      * setLayout() - To set the widgets laout.
   238      */
   227      */
   239     void setLayout();
   228     void setLayout();
   240     
   229     
   241     /**
   230     /**
       
   231      * activateUI() - To show the ui content like status bar, toolbar, and imzge strip.
       
   232      */
       
   233     void activateUI();
       
   234     
       
   235     /**
   242      * addConnection() - Add the call back of the widgets.
   236      * addConnection() - Add the call back of the widgets.
   243      */
   237      */
   244     void addConnection();
   238     void addConnection();
   245     
   239     
   246     /**
   240     /**
   250     
   244     
   251     /**
   245     /**
   252      * setImageStripModel() - set the image strip model.
   246      * setImageStripModel() - set the image strip model.
   253      */
   247      */
   254     void setImageStripModel();
   248     void setImageStripModel();
       
   249     
       
   250     /**
       
   251      * setHdmiModel() - set the image strip model.
       
   252      * @param - model
       
   253      */
       
   254     void setHdmiModel( QAbstractItemModel *model );    
   255     
   255     
   256     /**
   256     /**
   257      * loadFullScreenToolBar() - load the fullscreen tool bar from the docml.
   257      * loadFullScreenToolBar() - load the fullscreen tool bar from the docml.
   258      */
   258      */
   259     void loadFullScreenToolBar();
   259     void loadFullScreenToolBar();
   265      * @param - action name it is used for automation of test cases. 
   265      * @param - action name it is used for automation of test cases. 
   266      */
   266      */
   267     void addToolBarAction( int commandId, const QString &iconName, const QString &name) ;
   267     void addToolBarAction( int commandId, const QString &iconName, const QString &name) ;
   268     
   268     
   269     /**
   269     /**
       
   270      * setVisvalWindowIndex() - Set the viisual window index of medialist.
       
   271      */
       
   272     void setVisvalWindowIndex();    
       
   273     
       
   274     /**
   270      * initAnimationItem() - Initialise the custom animation item.
   275      * initAnimationItem() - Initialise the custom animation item.
   271      */
   276      */
   272     void initAnimationItem();
   277     void initAnimationItem();
   273     
   278     
   274     /**
   279     /**
   293     
   298     
   294     /**
   299     /**
   295      * get the substate of fullscreen state.
   300      * get the substate of fullscreen state.
   296      */
   301      */
   297     int getSubState();
   302     int getSubState();
   298     
       
   299     /**
       
   300      * setHdmiModel() - set the image strip model.
       
   301      * @param - model
       
   302      */
       
   303     void setHdmiModel( QAbstractItemModel *model );
       
   304     
   303     
   305 private:
   304 private:
   306     QAbstractItemModel  *mModel;   //no ownership
   305     QAbstractItemModel  *mModel;   //no ownership
   307     HbMainWindow        *mWindow;  //no ownership
   306     HbMainWindow        *mWindow;  //no ownership
   308     GlxCoverFlow        *mCoverFlow;
   307     GlxCoverFlow        *mCoverFlow;