equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #include <AknFepGlobalEnums.h> |
19 #include <AknFepGlobalEnums.h> |
20 #include <peninputsplititutnew.rsg> |
20 #include <peninputsplititutnew.rsg> |
21 #include <peninputlayoutmultilineicf.h> |
21 #include <peninputlayoutmultilineicf.h> |
|
22 #include <peninputlayoutbubblectrl.h> |
22 #include <StringLoader.h> |
23 #include <StringLoader.h> |
23 #include <peninputcommonbutton.h> |
24 #include <peninputcommonbutton.h> |
24 #include <peninputlayout.h> |
25 #include <peninputlayout.h> |
25 #include <peninputcmd.h> |
26 #include <peninputcmd.h> |
26 #include <peninputlabel.h> |
27 #include <peninputlabel.h> |
50 |
51 |
51 CWesternSplitItutUiStateSpelling::CWesternSplitItutUiStateSpelling(CSplitItutUiMgrBase* aOwner) |
52 CWesternSplitItutUiStateSpelling::CWesternSplitItutUiStateSpelling(CSplitItutUiMgrBase* aOwner) |
52 :CSplitItutUiStateBase(aOwner) |
53 :CSplitItutUiStateBase(aOwner) |
53 { |
54 { |
54 iICF = static_cast<CFepLayoutMultiLineIcf*>(iOwner->LayoutContext()->Control(ECtrlIdICF)); |
55 iICF = static_cast<CFepLayoutMultiLineIcf*>(iOwner->LayoutContext()->Control(ECtrlIdICF)); |
|
56 iSplitIndiBubble = static_cast<CBubbleCtrl*>(iOwner->LayoutContext()->Control(ECtrlIdSplitIndiBubble)); |
55 } |
57 } |
56 |
58 |
57 void CWesternSplitItutUiStateSpelling::ConstructL() |
59 void CWesternSplitItutUiStateSpelling::ConstructL() |
58 { |
60 { |
59 CSplitItutUiStateBase::ConstructL(); |
61 CSplitItutUiStateBase::ConstructL(); |
96 default: |
98 default: |
97 break; |
99 break; |
98 } |
100 } |
99 //hide bubble in the first place. |
101 //hide bubble in the first place. |
100 iICF->HideBubble(); |
102 iICF->HideBubble(); |
101 |
103 iSplitIndiBubble->Hide(ETrue); |
|
104 |
102 // update resource id of keypad |
105 // update resource id of keypad |
103 iOwner->DataMgr()->NotifyChangeControlLayout( |
106 iOwner->DataMgr()->NotifyChangeControlLayout( |
104 MItutPropertySubscriber::EItutPropertyKeypadResourceId, keypadResId); |
107 MItutPropertySubscriber::EItutPropertyKeypadResourceId, keypadResId); |
105 |
108 |
106 // hide not needed controls |
109 // hide not needed controls |
137 iOk->Hide(ETrue); |
140 iOk->Hide(ETrue); |
138 iCancel->Hide(ETrue); |
141 iCancel->Hide(ETrue); |
139 iOwner->DataMgr()->SetSpellMode(EFalse); |
142 iOwner->DataMgr()->SetSpellMode(EFalse); |
140 iICF->Hide( ETrue ); |
143 iICF->Hide( ETrue ); |
141 iOwner->LayoutContext()->ShowArrowBtn(0); |
144 iOwner->LayoutContext()->ShowArrowBtn(0); |
|
145 iSplitIndiBubble->Hide(EFalse); //Show split indi bubble |
142 } |
146 } |
143 |
147 |
144 CSplitItutUiMgrBase::TUiState CWesternSplitItutUiStateSpelling::StateType() |
148 CSplitItutUiMgrBase::TUiState CWesternSplitItutUiStateSpelling::StateType() |
145 { |
149 { |
146 return CSplitItutUiMgrBase::EStateSpelling; |
150 return CSplitItutUiMgrBase::EStateSpelling; |