This container is also used for the status indicators in navi pane and for editor indicators in queries.
|
Public Types |
enum | TLayoutOrientation { EVertical,
EHorizontal
} |
| Layout orientations of the indicator container. More...
|
enum | TIndicatorAlignment { ELeft,
ERight
} |
| Alignment of the indicators. More...
|
enum | TIndicatorContext { EUniversalIndicators = 0,
ENaviPaneEditorIndicators,
EQueryEditorIndicators,
EFindIndicators
} |
| Context of the indicator container. More...
|
enum | TIndicatorPosition { ELeftSide,
ERightSide,
EMiddle
} |
| Position of a indicator. More...
|
enum | TCustomIndicatorFlags { EMultiColorIndicator = 0x1,
EIndicatorPositionInverted = 0x2
} |
| Additional flags that can be used for custom indicators. More...
|
enum | TLayoutMode { ELayoutModeUsual,
ELayoutModeWide
} |
| Layout modes of indicator container. More...
|
Public Member Functions |
IMPORT_C | CAknIndicatorContainer () |
| Default constructor.
|
IMPORT_C | CAknIndicatorContainer (TInt aIndicatorContext) |
| Constructor.
|
IMPORT_C | ~CAknIndicatorContainer () |
| Destructor.
|
IMPORT_C void | ConstructL () |
| Second-phase constructor.
|
IMPORT_C void | SetIndicatorState (TUid aIndicatorId, TInt aState, TBool aDrawNow=ETrue) |
| Sets indicator state.
|
IMPORT_C TInt | IndicatorState (TUid aIndicatorId) |
| Return the current state of an indicator.
|
IMPORT_C void | SetIndicatorValueL (TUid aIndicatorId, const TDesC &aString) |
| Sets value to the message length indicator (EAknNaviPaneEditorIndicatorMessageLength ).
|
IMPORT_C void | SetIncallBubbleFlags (const TInt &aFlags) |
| Sets value to the incall status bubble indicator on the top of the status pane.
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
| Constructs the object from resource.
|
IMPORT_C TInt | IndicatorContext () const |
| Returns the context of the indicator container.
|
IMPORT_C void | HandleStatusPaneSizeChange () |
| The MEikStatusPaneObserver interface allows a status pane observer to pick up changes in the size or position of the status pane.
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
| Handles pointer events.
|
IMPORT_C void | SetIndicatorValue (TUid aIndicatorId, TInt aValue, TInt aMaxValue) |
| Sets value to the progress bar indicator (EAknNaviPaneEditorIndicatorProgressBar ).
|
void | DrawPictographArea () |
| Redraws those indicators that are visible and contain pictographs.
|
CAknPictographInterface * | PictographInterface () const |
| Returns the pictograph interface owned by the indicator container, or NULL if pictographs are not supported.
|
IMPORT_C void | SetIncallBubbleAllowedInIdle (TBool aAllowed) |
| Sets whether incall bubble is shown also on the top of the idle status pane.
|
IMPORT_C void | SetIncallBubbleAllowedInUsual (TBool aAllowed) |
| Sets whether incall bubble is shown on the top of the usual status pane.
|
IMPORT_C void | SetIndicatorObserver (MAknIndicatorObserver *aIndicatorObserver, TUid aIndicatorUid) |
| Sets observer for given indicator.
|
IMPORT_C TUid | CreateIndicatorFromResourceL (TInt aIndicatorResourceId, TInt aCustomIndicatorFlags) |
| Creates a custom indicator.
|
IMPORT_C void | ReplaceIndicatorIconL (TUid aIndicator, TInt aState, TInt aLayoutMode, CFbsBitmap *aIconBitmap, CFbsBitmap *aIconMask, TInt aIconIndex=0) |
| Replaces the icon of the given indicator.
|
Protected Member Functions |
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
| Handles a change to the control's resources of type aType which are shared across the environment, e.g.
|
virtual IMPORT_C void | SizeChanged () |
| Handles size change events.
|
virtual IMPORT_C void | PositionChanged () |
| Handles position change events.
|
virtual IMPORT_C TInt | CountComponentControls () const |
| Returns number of controls inside the context pane control.
|
virtual IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
| Returns a control determined by control index.
|
Friends |
class | CAknIndicatorContainerExtension |
class | CAknIndicatorDataObserver |