ui/views/fullscreenview/src/glxfullscreenview.cpp
changeset 36 6481344a6d67
parent 33 1ee2af37811f
child 44 aa2fa096cbfb
equal deleted inserted replaced
33:1ee2af37811f 36:6481344a6d67
    64     mTvOutWrapper(NULL),
    64     mTvOutWrapper(NULL),
    65     mFullScreenToolBar(NULL),
    65     mFullScreenToolBar(NULL),
    66 	mFlipAction(NULL),
    66 	mFlipAction(NULL),
    67 	mSendAction(NULL),
    67 	mSendAction(NULL),
    68 	mDeleteAction(NULL),
    68 	mDeleteAction(NULL),
    69 	mZoomWidget(NULL),
    69 	mUseImageAction(NULL),
    70 	mUseImageAction(NULL)
    70 	mZoomWidget(NULL)
    71 {
    71 {
    72     OstTraceFunctionEntry0( GLXFULLSCREENVIEW_GLXFULLSCREENVIEW_ENTRY );
    72     OstTraceFunctionEntry0( GLXFULLSCREENVIEW_GLXFULLSCREENVIEW_ENTRY );
    73     
    73     
    74     mDocLoader = DocLoader;
    74     mDocLoader = DocLoader;
    75     setContentFullScreen( true );
    75     setContentFullScreen( true );
   110     
   110     
   111     //Load the Coverflow and image strip widget    
   111     //Load the Coverflow and image strip widget    
   112     mCoverFlow = qobject_cast<GlxCoverFlow*> (mDocLoader->findWidget(GLXFULLSCREEN_COVERFLOW));
   112     mCoverFlow = qobject_cast<GlxCoverFlow*> (mDocLoader->findWidget(GLXFULLSCREEN_COVERFLOW));
   113 
   113 
   114 	 mZoomWidget  =  qobject_cast<GlxZoomWidget*> (mDocLoader->findWidget(GLXFULLSCREENZOOMWIDGET));
   114 	 mZoomWidget  =  qobject_cast<GlxZoomWidget*> (mDocLoader->findWidget(GLXFULLSCREENZOOMWIDGET));
       
   115 	 mZoomWidget->connectDecodeRequestToPinchEvent();
   115 	 mCoverFlow->setMultitouchFilter(mZoomWidget);
   116 	 mCoverFlow->setMultitouchFilter(mZoomWidget);
   116     //initialise the cover flow for basic connections and the rest
   117     //initialise the cover flow for basic connections and the rest
   117     mCoverFlow->setCoverFlow();
   118     mCoverFlow->setCoverFlow();
   118 
   119 
   119    //Load the IMAGE STRIP & FULLSCREEN TOOLBAR[PUSH BUTTON]
   120    //Load the IMAGE STRIP & FULLSCREEN TOOLBAR[PUSH BUTTON]
   121      
   122      
   122     //When the widget is loaded/retreived the widgets are shown by default.
   123     //When the widget is loaded/retreived the widgets are shown by default.
   123     //@to do : hide the widgets by default in docml
   124     //@to do : hide the widgets by default in docml
   124     mImageStrip->hide();      
   125     mImageStrip->hide();      
   125 	mImageStrip->setLayoutName( QString( "ImageStrip" ) );
   126 	mImageStrip->setLayoutName( QString( "ImageStrip" ) );
       
   127 	mImageStrip->setEnabledAnimations(HbAbstractItemView::None);
   126 	
   128 	
   127     OstTraceFunctionExit0( GLXFULLSCREENVIEW_LOADWIDGETS_EXIT );
   129     OstTraceFunctionExit0( GLXFULLSCREENVIEW_LOADWIDGETS_EXIT );
   128 }
   130 }
   129 
   131 
   130 void GlxFullScreenView::loadFullScreenToolBar()
   132 void GlxFullScreenView::loadFullScreenToolBar()