equal
deleted
inserted
replaced
27 #include "ncscontrol.h" |
27 #include "ncscontrol.h" |
28 #include"ncsconstants.h" |
28 #include"ncsconstants.h" |
29 |
29 |
30 |
30 |
31 class CEikImage; |
31 class CEikImage; |
32 class CAknButton; |
|
33 class MNcsFieldSizeObserver; |
32 class MNcsFieldSizeObserver; |
34 class CNcsHeaderContainer; |
33 class CNcsHeaderContainer; |
35 class CAknPhysics; |
34 class CAknPhysics; |
36 |
35 |
37 // CLASS DECLARATION |
36 // CLASS DECLARATION |
78 |
77 |
79 TInt GetNumChars() const; |
78 TInt GetNumChars() const; |
80 |
79 |
81 const TDesC& GetLabelText() const; |
80 const TDesC& GetLabelText() const; |
82 |
81 |
|
82 // <cmail> Platform layout change |
83 TInt LayoutLineCount() const; |
83 TInt LayoutLineCount() const; |
|
84 // </cmail> Platform layout change |
84 |
85 |
85 void GetLineRect( TRect& aLineRect ) const; |
86 void GetLineRectL( TRect& aLineRect ) const; |
86 |
87 |
87 void SetMaxLabelLength( TInt aMaxLength ); |
88 void SetMaxLabelLength( TInt aMaxLength ); |
88 |
89 |
89 TInt GetMinLabelLength() const; |
90 TInt GetMinLabelLength() const; |
90 |
91 |
141 |
142 |
142 void UpdateColors(); |
143 void UpdateColors(); |
143 |
144 |
144 void UpdateFontSize(); |
145 void UpdateFontSize(); |
145 |
146 |
|
147 //<cmail> |
146 void HandlePointerEventL( const TPointerEvent& aPointerEvent ); |
148 void HandlePointerEventL( const TPointerEvent& aPointerEvent ); |
|
149 //</cmail> |
147 |
150 |
148 private: // data |
151 private: // data |
149 |
152 |
150 CNcsHeaderContainer* iParentControl; // not owned |
153 CNcsHeaderContainer* iParentControl; // not owned |
151 |
154 |
152 /* |
155 /* |
153 * label |
156 * text field |
154 * Own |
157 * Own |
155 */ |
158 */ |
156 CNcsLabel* iLabel; |
159 CNcsLabel* iLabel; |
157 |
160 |
158 /** |
161 // <cmail> Platform layout changes |
159 * button |
|
160 * Own |
|
161 */ |
|
162 CAknButton* iButton; |
|
163 |
|
164 const CFont* iFont; // not owned, needs to be released in the end |
162 const CFont* iFont; // not owned, needs to be released in the end |
|
163 // </cmail> Platform layout changes |
165 |
164 |
166 /* |
165 /* |
167 * text field |
166 * text field |
168 * Own |
167 * Own |
169 */ |
168 */ |
170 CNcsEditor* iTextEditor; |
169 CNcsEditor* iTextEditor; |
171 |
170 |
172 TInt iEditorMinimumHeight; |
171 TInt iEditorMinimumHeight; |
173 |
172 |
174 TInt iMaximumLabelLength; |
173 TInt iMaximumLabelLength; |
|
174 |
|
175 TRgb iBorderColor; |
|
176 |
|
177 TRgb iBgColor; |
175 |
178 |
176 TBool iDrawAfterFocusChange; |
179 TBool iDrawAfterFocusChange; |
177 |
180 |
|
181 // <cmail> Platform layout changes |
178 TInt iEditorLineCount; |
182 TInt iEditorLineCount; |
|
183 // </cmail> Platform layout changes |
179 }; |
184 }; |
180 |
185 |
181 #endif // CNCSSUBJECTFIELD_H |
186 #endif // CNCSSUBJECTFIELD_H |