ui/views/detailsview/src/glxdetailsview.cpp
changeset 71 27f2d7aec52a
parent 65 ccee5c4b0de4
child 72 0a8e959402e5
equal deleted inserted replaced
69:45459746d5e8 71:27f2d7aec52a
   156     //make the connections
   156     //make the connections
   157     setConnections();
   157     setConnections();
   158 
   158 
   159     //Set context mode to fetch descriptions
   159     //Set context mode to fetch descriptions
   160     mModel->setData(QModelIndex(), (int) GlxContextComment, GlxContextRole);
   160     mModel->setData(QModelIndex(), (int) GlxContextComment, GlxContextRole);
       
   161     
       
   162     //Set the Layout Correspondingly.
       
   163     updateLayout(mWindow->orientation());
   161 
   164 
   162     OstTraceFunctionExit0( GLXDETAILSVIEW_ACTIVATE_EXIT );
   165     OstTraceFunctionExit0( GLXDETAILSVIEW_ACTIVATE_EXIT );
   163 }
   166 }
   164 
   167 
   165 //--------------------------------------------------------------------------------------------------------------------------------------------
   168 //--------------------------------------------------------------------------------------------------------------------------------------------
   399 
   402 
   400     //Load the Sections
   403     //Load the Sections
   401     mDocLoader->load(GLX_DETAILSVIEW_DOCMLPATH, section, &loaded);
   404     mDocLoader->load(GLX_DETAILSVIEW_DOCMLPATH, section, &loaded);
   402 
   405 
   403     showImage();
   406     showImage();
       
   407     updateGeometry();
   404 
   408 
   405     GLX_LOG_INFO1("GlxDetailsView::updateLayout =%d\n",loaded);
   409     GLX_LOG_INFO1("GlxDetailsView::updateLayout =%d\n",loaded);
   406 }
   410 }
   407 
   411 
   408 //--------------------------------------------------------------------------------------------------------------------------------------------
   412 //--------------------------------------------------------------------------------------------------------------------------------------------