uifw/AvKon/src/AknPopupSettingPage.cpp
branchRCL_3
changeset 23 3d340a0166ff
parent 15 08e69e956a8c
child 55 aecbbf00d063
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
   675     // Construct an appropriate control context for the contained editor areas.
   675     // Construct an appropriate control context for the contained editor areas.
   676     // Context produced is owned by CAknSettingPage.
   676     // Context produced is owned by CAknSettingPage.
   677     SetEditedItemFrameIID( KAknsIIDQsnFrSetOpt, KAknsIIDQsnFrSetOptCenter );
   677     SetEditedItemFrameIID( KAknsIIDQsnFrSetOpt, KAknsIIDQsnFrSetOptCenter );
   678 
   678 
   679 	iQueryValue.SetQueryMode( MAknQueryValue::ESettingPageMode );
   679 	iQueryValue.SetQueryMode( MAknQueryValue::ESettingPageMode );
       
   680 	//
       
   681 	// SetQueryValue make the view item drawn by default, SetDisableRedraw can remove flick
       
   682 	//
       
   683 	TBool bRedrawDisabled = PopupSettingListBox()->View()->RedrawDisabled();
       
   684 	PopupSettingListBox()->View()->SetDisableRedraw( ETrue );
   680 	PopupSettingListBox()->SetQueryValueL( &iQueryValue );
   685 	PopupSettingListBox()->SetQueryValueL( &iQueryValue );
       
   686 	PopupSettingListBox()->View()->SetDisableRedraw( bRedrawDisabled);
       
   687 
   681 	CheckAndSetDataValidity();
   688 	CheckAndSetDataValidity();
   682 	UpdateCbaL();
   689 	UpdateCbaL();
   683 
   690 
   684 	PopupSettingListBox()->SetPopupSettingListObserver( this );
   691 	PopupSettingListBox()->SetPopupSettingListObserver( this );
   685 	// Set the scroller indication to appear when needed
   692 	// Set the scroller indication to appear when needed