Link against: avkon.lib
None
#include <akntitle.h>
Inherits CAknControl.
Public Member Functions |
|
IMPORT_C | CAknTitlePane () |
Constructor. |
|
IMPORT_C | ~CAknTitlePane () |
Destructor. |
|
IMPORT_C void | ConstructL () |
2nd phase constructor. |
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
Read title pane data from resource file and show it in the status pane's title pane. |
|
IMPORT_C void | SetTextL (const TDesC &aText) |
Set a text and show it in the status pane's title pane. |
|
IMPORT_C void | SetText (HBufC *aText) |
Sets text to the title pane. |
|
IMPORT_C void | SetTextL (const TDesC &aText, TBool aScroll) |
Set a text and show it in the status pane's title pane. |
|
IMPORT_C void | SetText (HBufC *aText, TBool aScroll) |
Sets text to the title pane. |
|
const TDesC * | Text () const |
Returns text currently in the status pane's title pane. |
|
IMPORT_C void | SetPicture (const CFbsBitmap *aBitmap, const CFbsBitmap *aMaskBitmap=NULL) |
Set a picture to the title pane and show it in the status pane's title pane. |
|
IMPORT_C void | SetPictureFromFileL (const TDesC &aFileName, TInt aMainId, TInt aMaskId=-1) |
Set a picture from file and show it in the status pane's title pane. |
|
IMPORT_C void | SetSmallPicture (const CFbsBitmap *aBitmap, const CFbsBitmap *aMaskBitmap, TBool aVisible) |
Set a small picture to the title pane and show it in the status pane's title pane together with text. |
|
IMPORT_C void | SetFromResourceL (TResourceReader &aReader) |
Set data from resource file and show it in the status pane's title pane. |
|
IMPORT_C void | SetTextToDefaultL () |
Set default value to the status pane's title pane. |
|
IMPORT_C TInt | MaxNumberOfVisibleTextRows () const |
Gets the maximum amount of text rows that title pane is able to display simultaneously in the currently active status pane
layout. |
|
IMPORT_C void | SetNumberOfVisibleTextRows (TInt aRows) |
Sets the number of text rows that can be used to display the text. |
|
virtual IMPORT_C void | PrepareContext (CWindowGc &aGc) const |
Allows to modify graphics context before Draw . |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
Handles pointer events. |
|
IMPORT_C void | SetTitlePaneObserver (MAknTitlePaneObserver *aObserver) |
Sets observer for title pane events. |
|
CEikLabel * | TextLabel () |
Gets title text label. |
|
CEikImage * | TitleImage () |
Gets the title image. |
|
Protected Member Functions |
|
virtual IMPORT_C void | SizeChanged () |
Handles the size change events. |
|
virtual IMPORT_C void | PositionChanged () |
Handles the position change events. |
|
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
Handles a change to the control's resources which are shared across the environment, e.g. |
|
virtual IMPORT_C TInt | CountComponentControls () const |
Returns number of controls inside the title pane control. |
|
virtual IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
Returns a control determined by control index. |
|
Protected Attributes |
|
MAknTitlePaneObserver * | iTitlePaneObserver |
|
Constructor. |
|
Destructor. |
|
Returns a control determined by control index.
|
|
Read title pane data from resource file and show it in the status pane's title pane. |
|
2nd phase constructor. |
|
Returns number of controls inside the title pane control.
|
|
Handles pointer events.
|
|
Handles a change to the control's resources which are shared across the environment, e.g. skin change.
|
|
Gets the maximum amount of text rows that title pane is able to display simultaneously in the currently active status pane layout. Typically the return value is either 2 (default portrait mode layout) or 1 (landscape mode layouts). In the extended status pane layouts the maximum number of lines is always 1. Since release 3.2, regardless of the status pane layout, the maximum number of lines is always 1.
|
|
Handles the position change events. |
|
Allows to modify graphics context before
|
|
Set data from resource file and show it in the status pane's title pane.
|
|
Sets the number of text rows that can be used to display the text. The largest allowed value is the the value returned from MaxNumberOfVisibleTextRows() and the minimum value is always 1.
|
|
Set a picture to the title pane and show it in the status pane's title pane.
Title pane object takes ownership of the picture. If
|
|
Set a picture from file and show it in the status pane's title pane.
|
|
Set a small picture to the title pane and show it in the status pane's title pane together with text. Title pane object takes ownership of the picture.
If
|
|
Sets text to the title pane. If whole text does not fit into titlepane, it will be scrolled once and then shown in truncated form.
|
|
Sets text to the title pane.
|
|
Set a text and show it in the status pane's title pane. If whole text does not fit into titlepane, it will be scrolled once and then shown in truncated form. Descriptor is copied to the title pane control and ownership of the original descriptor is left to the application.
|
|
Set a text and show it in the status pane's title pane. Descriptor is copied to the title pane control and ownership of the original descriptor is left to the application.
|
|
Set default value to the status pane's title pane. Default value is the name of currently active application. |
|
Sets observer for title pane events.
|
|
Handles the size change events. |
|
Returns text currently in the status pane's title pane. Ownership is not transferred.
|
|
Gets title text label. |
|
Gets the title image. |
|