textinput/peninputgenericitut/src/peninputitutwesternuistatenonpredict.cpp
branchRCL_3
changeset 6 6ceef9a83b1a
parent 5 a47de9135b21
child 7 6defe5d1bd39
equal deleted inserted replaced
5:a47de9135b21 6:6ceef9a83b1a
    28 #include "peninputitutwesternuistatenonpredict.h"
    28 #include "peninputitutwesternuistatenonpredict.h"
    29 #include "peninputgenericitutuimgrbase.h"
    29 #include "peninputgenericitutuimgrbase.h"
    30 #include "peninputgenericitutdatamgr.h"
    30 #include "peninputgenericitutdatamgr.h"
    31 #include "peninputgenericitutlayoutcontext.h"
    31 #include "peninputgenericitutlayoutcontext.h"
    32 #include "peninputgenericitutwindowmanager.h"
    32 #include "peninputgenericitutwindowmanager.h"
       
    33 #include <peninputlayoutbubblectrl.h>
    33 
    34 
    34 CWesternItutUiStateNonPredict* CWesternItutUiStateNonPredict::NewL(CGenericItutUiMgrBase* aOwner)
    35 CWesternItutUiStateNonPredict* CWesternItutUiStateNonPredict::NewL(CGenericItutUiMgrBase* aOwner)
    35     {
    36     {
    36     CWesternItutUiStateNonPredict* self = new (ELeave) CWesternItutUiStateNonPredict(aOwner);
    37     CWesternItutUiStateNonPredict* self = new (ELeave) CWesternItutUiStateNonPredict(aOwner);
    37     CleanupStack::PushL(self);
    38     CleanupStack::PushL(self);
   109                 downbtn->SetDimmed(ETrue);   
   110                 downbtn->SetDimmed(ETrue);   
   110                 }
   111                 }
   111             }
   112             }
   112         else
   113         else
   113             {
   114             {
   114             //iOwner->LayoutContext()->Control(ECtrlIdSwitch)->Hide(EFalse);
       
   115             iOwner->LayoutContext()->Control(ECtrlIdOptions)->Hide(EFalse);
   115             iOwner->LayoutContext()->Control(ECtrlIdOptions)->Hide(EFalse);
   116             iOwner->LayoutContext()->Control(ECtrlIdClose)->Hide(EFalse);
   116             iOwner->LayoutContext()->Control(ECtrlIdClose)->Hide(EFalse);
   117             //iOwner->LayoutContext()->Control(ECtrlIdIndicator)->Hide(EFalse);
   117             if ( iOwner->LayoutContext()->Control(ECtrlIdSwitch) != NULL )
       
   118 				{
       
   119 				iOwner->LayoutContext()->Control(ECtrlIdSwitch)->Hide(ETrue);
       
   120 				}
       
   121             if ( iOwner->LayoutContext()->Control(ECtrlIdIndicator) != NULL )
       
   122 				{
       
   123 				iOwner->LayoutContext()->Control(ECtrlIdIndicator)->Hide(ETrue);
       
   124 				}
       
   125             
       
   126             iIcf->MsgBubbleCtrl()->Hide( EFalse );
   118             
   127             
   119             iOwner->LayoutContext()->ShowArrowBtn(EBtnArrowLeft | EBtnArrowRight);    
   128             iOwner->LayoutContext()->ShowArrowBtn(EBtnArrowLeft | EBtnArrowRight);    
   120             if(iOwner->LayoutContext()->IsSecretEdtior())
   129             if(iOwner->LayoutContext()->IsSecretEdtior())
   121                 {
   130                 {
   122                 CAknFepCtrlRawKeyButton * leftbtn;
   131                 CAknFepCtrlRawKeyButton * leftbtn;