| class CAknPopupHeadingPane : public CAknControl |
Header control for queries. Defines properties of the header of the pop-up menu.
Series 60 0.9
| Public Member Functions | |
|---|---|
| CAknPopupHeadingPane() | |
| ~CAknPopupHeadingPane() | |
| void | ActivateL() |
| IMPORT_C TInt | CancelAnimation() |
| IMPORT_C void | ConstructFromResourceL(TResourceReader &) |
| IMPORT_C void | ConstructL(TPtrC) |
| IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
| IMPORT_C void | HandleResourceChange(TInt) |
| IMPORT_C TSize | MinimumSize() |
| IMPORT_C CEikLabel * | Prompt() |
| IMPORT_C TPtr | PromptText() |
| IMPORT_C void | SetHeaderAnimationL(TInt) |
| IMPORT_C void | SetHeaderImageL(CEikImage *) |
| IMPORT_C void | SetHeaderImageOwnedL(CEikImage *) |
| IMPORT_C void | SetLayout(THeadingPaneLayout) |
| void | SetPageL(TInt, TInt) |
| IMPORT_C void | SetSkinFrameCenterId(const TAknsItemID &) |
| IMPORT_C void | SetSkinFrameId(const TAknsItemID &) |
| IMPORT_C void | SetTextL(TPtrC) |
| void | SetTouchObserver(MAknHeadingPaneTouchObserver *) |
| IMPORT_C void | SizeChanged() |
| IMPORT_C void | StartAnimationL() |
| Private Member Functions | |
|---|---|
| CCoeControl * | ComponentControl(TInt) |
| TInt | CountComponentControls() |
| void | DoSetPromptL() |
| IMPORT_C void | Draw(const TRect &) |
| IMPORT_C void * | ExtensionInterface(TUid) |
| void | LayoutColourSelectionGridHeadingPane() |
| void | LayoutListHeadingPane() |
| void | LayoutMessageQueryHeadingPane() |
| void | LayoutQueryHeadingPane() |
| HBufC * | PageTextL() |
| void | SetAnimationBackGroundFrameL() |
| Public Member Enumerations | |
|---|---|
| enum | THeadingPaneLayout { EQueryHeadingPane, EListHeadingPane, EColourSelectionGridHeadingPane, EMessageQueryHeadingPane } |
| Inherited Enumerations | |
|---|---|
| CCoeControl:TZoomType | |
| Private Attributes | |
|---|---|
| CAknBitmapAnimation * | iAnimation |
| CAknPopupHeadingAttributes * | iAttributes |
| CAknPopupHeadingPaneExtension * | iExtension |
| CEikImage * | iHeaderImage |
| TInt | iHeadingLayoutRef |
| TAknLayoutRect | iLayoutHeading |
| CAknTextControl * | iPrompt |
| Inherited Attributes | |
|---|---|
| CCoeControl::iCoeEnv | |
| CCoeControl::iContext | |
| CCoeControl::iPosition | |
| CCoeControl::iSize | |
| void | ActivateL | ( | ) | [virtual] |
From CCoeControl. Activates popup heading. Calls CCoeControl::ActivateL().
| IMPORT_C TInt | CancelAnimation | ( | ) |
Cancel the animation. Calls RBitmapAnim::CommandReply(EBitmapAnimCommandStopAnimation). A value defined by the animation writer. The value may, in some cases, be defined to be an error code.
| CCoeControl * | ComponentControl | ( | TInt | anIndex | ) | const [private, virtual] |
| TInt anIndex |
| IMPORT_C void | ConstructFromResourceL | ( | TResourceReader & | aReader | ) | [virtual] |
From CCoeControl. Constructs heading pane from a resource file. Current resource reader position must point to AVKON_HEADING resource.
| TResourceReader & aReader | The resource reader with which to access the header resource values. |
| IMPORT_C void | ConstructL | ( | TPtrC | aText | ) |
Completes the construction of the CAknPopupHeadingPane object. Layout is set to EQueryHeadingPane by default.
| TPtrC aText | Header text. |
| IMPORT_C void | Draw | ( | const TRect & | aRect | ) | const [private, virtual] |
| const TRect & aRect |
| IMPORT_C void * | ExtensionInterface | ( | TUid | aInterface | ) | [private, virtual] |
From CAknControl
| TUid aInterface |
| IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
| const TPointerEvent & aPointerEvent |
| IMPORT_C void | HandleResourceChange | ( | TInt | aType | ) | [virtual] |
Handles a change to the control's resources of type aType which are shared across the environment, e.g. colors or fonts.
3.1
| TInt aType |
| IMPORT_C TSize | MinimumSize | ( | ) | [virtual] |
From CCoeControl. Get the minimum required size of heading pane. The minimum required size of heading pane.
| IMPORT_C CEikLabel * | Prompt | ( | ) | const |
Get pointer to the prompt control. A pointer to the prompt control.
| IMPORT_C void | SetHeaderAnimationL | ( | TInt | aResourceId | ) |
Set header animation by reading BMPANIM_DATA resource.
| TInt aResourceId | A resource identifier for the header animation. |
| IMPORT_C void | SetHeaderImageL | ( | CEikImage * | aImage | ) |
Set header image.
| CEikImage * aImage | A header image. |
| IMPORT_C void | SetHeaderImageOwnedL | ( | CEikImage * | aImage | ) |
Set header image. Gets the ownership of the image.
| CEikImage * aImage | A header image. |
| IMPORT_C void | SetLayout | ( | THeadingPaneLayout | aLayout | ) |
Set layout of the heading pane.
| THeadingPaneLayout aLayout | A layout of the heading pane. |
| IMPORT_C void | SetSkinFrameCenterId | ( | const TAknsItemID & | aFrameCenterId | ) |
| const TAknsItemID & aFrameCenterId |
| IMPORT_C void | SetSkinFrameId | ( | const TAknsItemID & | aFrameId | ) |
Set heading frame ids. These can be used to override default ids.
| const TAknsItemID & aFrameId | / aFrameCenterId Ids of heading's frame.. |
| IMPORT_C void | SetTextL | ( | TPtrC | aText | ) |
Set header text.
| TPtrC aText | A header text. |
| void | SetTouchObserver | ( | MAknHeadingPaneTouchObserver * | aTouchObserver | ) |
Set the heading pane touch observer. The observer must derive from MAknHeadingPaneTouchObserver and implement method HandleHeadingPanePointerEventL().
| MAknHeadingPaneTouchObserver * aTouchObserver |
| IMPORT_C void | SizeChanged | ( | ) | [virtual] |
From CCoeControl. Responds to size changes to sets the size and position of the contents of the heading pane.
Enumeration for different layouts
| EQueryHeadingPane |
Query mode layout for heading pane |
| EListHeadingPane |
List mode layout for heading pane |
| EColourSelectionGridHeadingPane |
Heading pane for colour selection list. 3.0 |
| EMessageQueryHeadingPane |
Heading pane for message query. 3.0 |