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