API published in: S60 1st Ed
Link against: eikdlg.lib
Required Capabilities
None
#include <eikdialg.h>
Inherits CEikBorderedControl, MEikDialogPageObserver, and MAknFadedComponent.
Inherited by CAknDialog, and CAknNoteDialog.
CEikDialog
class provides an instantiable base class for dialogs.
Controls can be added directly to this class but it is normal to create a subclass to handle the controls appearing on the dialog dynamically.
Public Member Functions |
|
DECLARE_TYPE_ID (0x10282EA8) IMPORT_C CEikDialog() | |
C++ default constructor. |
|
IMPORT_C | ~CEikDialog () |
Destructor. |
|
virtual IMPORT_C TInt | ExecuteLD (TInt aResourceId) |
Loads, displays, and destroys the dialog. |
|
virtual IMPORT_C void | PrepareLC (TInt aResourceId) |
Prepares the dialog, constructing it from the specified resource. |
|
IMPORT_C void | ReadResourceLC (TInt aResourceId) |
Reads the dialog resources into the dialog, constructing it from the specified resource. |
|
virtual IMPORT_C TInt | RunLD () |
Runs the dialog and returns the ID of the button used to dismiss it. |
|
IMPORT_C void | SetTitleL (const TDesC &aText) |
Sets the dialog title text from a descriptor. |
|
IMPORT_C void | SetTitleL (TInt aResourceId) |
Sets the dialog title text from a resource. |
|
IMPORT_C void | SetPageDimmedNow (TInt aPageId, TBool aDimmed) |
Sets the specified page to be dimmed or undimmed. |
|
IMPORT_C void | SetLineNonFocusing (TInt aControlId) |
Sets the specified dialog line to a non-focusing state. |
|
IMPORT_C void | SetLineDimmedNow (TInt aControlId, TBool aDimmed) |
Dims and deactivates, or un-dims and re-activates, the specified line. |
|
IMPORT_C void | MakeLineVisible (TInt aControlId, TBool aVisible) |
Makes the specified control visible or invisible. |
|
IMPORT_C void | MakeWholeLineVisible (TInt aControlId, TBool aVisible) |
Makes the whole specified line visible and active or invisible and inactive. |
|
IMPORT_C void | DeleteLine (TInt aControlId, TBool aRedraw=ETrue) |
Deletes the specified dialog line. |
|
IMPORT_C void | InsertLineL (TInt aIndex, TInt aResourceId, TInt aPageId=0) |
Inserts a line in the dialog. |
|
IMPORT_C void | MakePanelButtonVisible (TInt aButtonId, TBool aVisible) |
Makes the specified panel button visible or invisible. |
|
IMPORT_C void | TryChangeFocusToL (TInt aControlId) |
Tries to change focus to the specified line. |
|
IMPORT_C void | SwitchLineLatency (TInt aBecomesLatent, TInt aNoLongerLatent) |
Switches the latent line. |
|
IMPORT_C void | SetPageDensePacking (TInt aPageId, TBool aDensePacking) |
Sets the specified page to be densely packed, or normally packed. |
|
IMPORT_C void | ConstructAutoDialogLC (TInt aFlags, TInt aButtonsId) |
Dynamically constructs a dialog with the specified flags and buttons and with a single activated empty page with ID 0. |
|
IMPORT_C void | DeclareItemAuto (TInt aControlId, TInt aControlType, TAny *aReturnValue) |
Sets controllers return value. |
|
IMPORT_C void | Layout () |
Lays out the dialog, setting it to take its preferred size and position for the screen. |
|
IMPORT_C TSize | PreferredSize (const TSize &aMaxSize) const |
Gets the preferred size of a dialog. |
|
IMPORT_C CCoeControl * | CreateLineByTypeL (const TDesC &aCaption, TInt aControlId, TInt aControlType, TAny *aReturnValue) |
Creates a control line on the page ID specified active page in the dialog. |
|
IMPORT_C CCoeControl * | CreateLineByTypeL (const TDesC &aCaption, TInt aPageId, TInt aControlId, TInt aControlType, TAny *aReturnValue) |
Creates a control line on the caption specified active page in the dialog. |
|
IMPORT_C void | SetControlCaptionL (TInt aControlId, const TDesC &aText) |
Sets the specified control's caption text from a descriptor. |
|
IMPORT_C void | SetControlCaptionL (TInt aControlId, TInt aResourceId) |
Sets the specified control's caption text from a resource. |
|
IMPORT_C CEikLabel * | ControlCaption (TInt aControlId) const |
Gets a pointer to the specified control's caption. |
|
IMPORT_C CCoeControl * | Control (TInt aControlId) const |
Returns a pointer to the specified control. |
|
IMPORT_C CCoeControl * | ControlOrNull (TInt aControlId) const |
Gets a pointer to the specified control. |
|
IMPORT_C CEikButtonGroupContainer & | ButtonGroupContainer () const |
Gets a reference to the dialog's command button container. |
|
IMPORT_C CEikMover & | Title () const |
Gets a reference to the dialog title bar. |
|
IMPORT_C TInt | ActivePageId () const |
Gets a page id for the current page. |
|
IMPORT_C void | ActivateFirstPageL () const |
Activates the first page on the dialog. |
|
IMPORT_C void | SetEditableL (TBool aEditable) |
Sets the dialog to either editable or uneditable. |
|
IMPORT_C TBool | IsEditable () const |
Checks if the dialog is editable. |
|
IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
From CCoeControl . |
|
IMPORT_C void | FocusChanged (TDrawNow aDrawNow) |
From CCoeControl . |
|
virtual IMPORT_C void | GetColorUseListL (CArrayFix< TCoeColorUse > &aColorUseList) const |
From CCoeControl . |
|
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
From CCoeControl . |
|
IMPORT_C TCoeInputCapabilities | InputCapabilities () const |
From CCoeControl . |
|
IMPORT_C void | MakeVisible (TBool aVisible) |
From CCoeControl . |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl . |
|
virtual IMPORT_C SEikControlInfo | CreateCustomControlL (TInt aControlType) |
From MEikDialogPageObserver . |
|
IMPORT_C MEikDialogPageObserver::TFormControlTypes | ConvertCustomControlTypeToBaseControlType (TInt aControlType) const |
From MEikDialogPageObserver . |
|
virtual IMPORT_C void | GetCustomAutoValue (TAny *aReturnValue, TInt aControlType, const CCoeControl *aControl) |
From MEikDialogPageObserver . |
|
IMPORT_C CEikDialogExtension * | Extension () const |
Access to CEikDialog's extension object. |
|
IMPORT_C TInt | DialogFlags () |
Gets flags of the dialog. |
|
IMPORT_C void | DeclareAutoTextEditorL (TInt aId, TDes *aText) |
IMPORT_C void | DeclareAutoNumberEditor (TInt aId, TInt *aNumber) |
IMPORT_C void | DeclareAutoRangeEditor (TInt aId, SEikRange *aRange) |
IMPORT_C void | DeclareAutoTimeEditor (TInt aId, TTime *aTime) |
IMPORT_C void | DeclareAutoDateEditor (TInt aId, TTime *aDate) |
IMPORT_C void | DeclareAutoTimeAndDateEditor (TInt aId, TTime *aTimeAndDate) |
IMPORT_C void | DeclareAutoDurationEditor (TInt aId, TTimeIntervalSeconds *aDuration) |
IMPORT_C void | DeclareAutoTimeOffsetEditor (TInt aId, TTimeIntervalSeconds *aTimeOffset) |
IMPORT_C void | DeclareAutoFixedPointEditor (TInt aId, TInt *aValue) |
IMPORT_C void | DeclareAutoSecretEditor (TInt aId, TDes *aText) |
IMPORT_C void | AddAutoTextEditorL (const TDesC &aPrompt, TInt aId, TInt aFlags, TInt aWidthInChars, TInt aNoOfLines, TDes *aReturn) |
IMPORT_C void | AddAutoGlobalTextEditorL (const TDesC &aPrompt, TInt aId, TInt aFlags, TInt aWidthInChars, TInt aNoOfLines, TInt aTextLimit, CGlobalText *aReturn, TInt aFontControlFlags=EGulFontControlAll, TInt aFontNameFlags=EGulNoSymbolFonts) |
IMPORT_C void | AddAutoRichTextEditorL (const TDesC &aPrompt, TInt aId, TInt aFlags, TInt aWidthInChars, TInt aNoOfLines, TInt aTextLimit, CGlobalText *aReturn, TInt aFontControlFlags=EGulFontControlAll, TInt aFontNameFlags=EGulNoSymbolFonts) |
IMPORT_C void | AddAutoNumberEditorL (const TDesC &aPrompt, TInt aId, TInt aMin, TInt aMax, TInt *aReturn) |
IMPORT_C void | AddAutoRangeEditorL (const TDesC &aPrompt, TInt aId, TInt aMin, TInt aMax, HBufC *aSeparatorText, SEikRange *aReturn) |
IMPORT_C void | AddAutoTimeEditorL (const TDesC &aPrompt, TInt aId, const TTime &aMin, const TTime &aMax, TBool aNoSeconds, TTime *aReturn) |
IMPORT_C void | AddAutoDateEditorL (const TDesC &aPrompt, TInt aId, const TTime &aMin, const TTime &aMax, TBool aNoPopout, TTime *aReturn) |
IMPORT_C void | AddAutoTimeAndDateEditorL (const TDesC &aPrompt, TInt aId, const TTime &aMin, const TTime &aMax, TBool aNoSeconds, TBool aNoPopout, HBufC *aInterveningText, TTime *aReturn) |
IMPORT_C void | AddAutoDurationEditorL (const TDesC &aPrompt, TInt aId, const TTimeIntervalSeconds &aMin, const TTimeIntervalSeconds &aMax, TBool aNoSeconds, TTimeIntervalSeconds *aReturn) |
IMPORT_C void | AddAutoTimeOffsetEditorL (const TDesC &aPrompt, TInt aId, const TTimeIntervalSeconds &aMin, const TTimeIntervalSeconds &aMax, TBool aNoSeconds, TTimeIntervalSeconds *aReturn) |
IMPORT_C void | AddAutoFloatEditorL (const TDesC &aPrompt, TInt aId, const TReal &aMin, const TReal &aMax, TReal *aReturn) |
IMPORT_C void | AddAutoFixedPointEditorL (const TDesC &aPrompt, TInt aId, TInt aMin, TInt aMax, TInt *aRetValue, TInt aDecimalPlaces) |
IMPORT_C void | AddAutoSecretEditorL (const TDesC &aPrompt, TInt aId, TDes *aReturn) |
virtual IMPORT_C void | HandleDialogPageEventL (TInt aEventID) |
From CEikDialog (MEikDialogPageObserver ). |
|
IMPORT_C void | PublishDialogL (TInt aDialogIndex, TUid aCatUid=KNullUid) |
Instantiates mediator support and send a command with given parameters when a dialog is brought to display. |
|
IMPORT_C void | SetMediatorObserver (MAknDialogMediatorObserver *aObserver) |
Instantiates mediator support and passes possible feedback to given intance. |
|
IMPORT_C void | SlideDialog () |
IMPORT_C void | SetMultilineQuery (TBool aIsMultilineQuery) |
Sets dialog to be multilinequery. |
|
Protected Member Functions |
|
virtual IMPORT_C void | PrepareForFocusTransitionL () |
From MEikDialogPageObserver . |
|
virtual IMPORT_C void | PageChangedL (TInt aPageId) |
From MEikDialogPageObserver . |
|
virtual IMPORT_C void | LineChangedL (TInt aControlId) |
From MEikDialogPageObserver . |
|
IMPORT_C void | PrepareContext (CWindowGc &aGc) const |
From MCoeControlContext . |
|
IMPORT_C void | WriteInternalStateL (RWriteStream &aWriteStream) const |
From CCoeControl . |
|
IMPORT_C TInt | CountComponentControls () const |
Returns the number of the control components. |
|
IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
Returns a pointer to the component control at the specified index in the component control list. |
|
IMPORT_C TInt | GetNumberOfLinesOnPage (TInt aPageIndex) const |
Gets number of lines in the specified page. |
|
IMPORT_C TInt | GetNumberOfPages () const |
Gets number of pages in the page selector. |
|
IMPORT_C CEikCaptionedControl * | GetLineByLineAndPageIndex (TInt aLineIndex, TInt aPageIndex) const |
Gets specified line from specified page. |
|
IMPORT_C void | HandleControlEventL (CCoeControl *aControl, TCoeEvent aEventType) |
From MCoeControlObserver . |
|
IMPORT_C void | TryExitL (TInt aButtonId) |
Tries to exit the dialog when the specified button is pressed, if this button should exit the dialog. |
|
IMPORT_C void | AdjustAllIdsOnPage (TInt aPageId, TInt aControlIdDelta) |
Adjusts the IDs of all controls on a specified page. |
|
IMPORT_C void | ConstructSleepingDialogL (TInt aResourceId) |
Protected constructor creates a sleeping dialog from a resource. |
|
IMPORT_C void | ConstructSleepingAlertDialogL (TInt aResourceId) |
Protected construction of a high priority sleeping dialog from a resource. |
|
IMPORT_C TInt | RouseSleepingDialog () |
Rouses a sleeping dialog by dynamically constructing the dialog and then bringing it to the front. |
|
IMPORT_C void | ExitSleepingDialog () |
Exits sleeping dialog without deleting it. |
|
IMPORT_C TInt | IdOfFocusControl () const |
Gets the ID of the control in the focused line. |
|
IMPORT_C TInt | FindLineIndex (const CCoeControl &aControl) const |
Gets the line index of the specified control. |
|
IMPORT_C CEikCaptionedControl * | Line (TInt aControlId) const |
Gets a pointer to the line containing the specified control. |
|
IMPORT_C CEikCaptionedControl * | CurrentLine () const |
Gets a pointer to the current line. |
|
IMPORT_C TBool | RotateFocusByL (TInt aDelta) |
Rotates the focus by a specified number of steps. |
|
IMPORT_C TInt | ActivePageIndex () const |
Gets the index of the dialog's active page. |
|
IMPORT_C void | ResetLineMinimumSizes () |
Recalculates the minimum sizes of the lines on the active page. |
|
IMPORT_C CEikButtonGroupContainer * | SwapButtonGroupContainer (CEikButtonGroupContainer *aContainer) |
Swaps the dialog's button group container with a new container. |
|
IMPORT_C MEikCommandObserver * | ButtonCommandObserver () const |
Gets a pointer to the dialog's internal button command observer. |
|
virtual IMPORT_C TBool | OkToExitL (TInt aButtonId) |
Not implemented. |
|
virtual IMPORT_C void | PreLayoutDynInitL () |
Initializes the dialog's controls before the dialog is sized and layed out. |
|
virtual IMPORT_C void | PostLayoutDynInitL () |
Initializes the dialog's controls after the dialog has been sized but before it has been activated. |
|
virtual IMPORT_C void | SetInitialCurrentLine () |
Sets the line which initally receives focus. |
|
virtual IMPORT_C void | HandleControlStateChangeL (TInt aControlId) |
Handles a state change in the control with id aControlId. |
|
virtual IMPORT_C void | HandleInteractionRefused (TInt aControlId) |
Should handle an attempt by the user to activate a dimmed button with id aControlId. |
|
virtual IMPORT_C void | SetSizeAndPosition (const TSize &aSize) |
Sets the size and position of the dialog given the specified size hint. |
|
virtual IMPORT_C TInt | BorderStyle () |
Returns the border style for this dialog. |
|
virtual IMPORT_C TInt | MappedCommandId (TInt aButtonId) |
Routine to map the button id ( Avkon softkey command id) to CEikBidCancel if it is a "cancel" type command type. |
|
IMPORT_C TInt | FormFlagsFromActivePage () |
Get form flags of the active page. |
|
virtual IMPORT_C CEikCaptionedControl * | GetFirstLineOnFirstPageOrNull () |
Gets first line of the first page. |
|
IMPORT_C void | ControlsOnPage (RArray< CEikCaptionedControl * > &aControls, TInt aPageId) const |
Gets all lines in the given page. |
|
IMPORT_C TTypeUid::Ptr | MopSupplyObject (TTypeUid aId) |
From MObjectProvider . |
|
void | RegisterDialgWithPageSelector () |
Sets the current Dialog into the Page selector. |
|
IMPORT_C void | SetLabelL (TInt aControlId, const TDesC &aDes) |
IMPORT_C void | SetLabelL (TInt aControlId, TInt aResourceId) |
IMPORT_C void | SetLabelReserveLengthL (TInt aControlId, TInt aLength) |
IMPORT_C void | SetEdwinTextL (TInt aControlId, const TDesC *aDes) |
IMPORT_C void | SetTextEditorTextL (TInt aControlId, const CGlobalText *aGlobalText) |
IMPORT_C void | ResetSecretEditor (TInt aControlId) |
IMPORT_C void | SetFloatingPointEditorValueL (TInt aControlId, const TReal *aValue) |
IMPORT_C void | SetFixedPointEditorValueL (TInt aControlId, TInt aValue) |
IMPORT_C void | SetFixedPointEditorDecimal (TInt aControlId, TInt aDecimal) |
IMPORT_C void | SetNumberEditorMinAndMax (TInt aControlId, TInt aMinimumValue, TInt aMaximumValue) |
IMPORT_C void | SetNumberEditorValue (TInt aControlId, TInt aNumber) |
IMPORT_C void | SetFloatEditorMinAndMax (TInt aControlId, TInt aMin, TInt aMax) |
IMPORT_C void | SetFloatEditorValueL (TInt aControlId, TReal aFloat) |
IMPORT_C void | SetRangeEditorMinAndMax (TInt aControlId, TInt aMinimumValue, TInt aMaximumValue) |
IMPORT_C void | SetRangeEditorValue (TInt aControlId, const SEikRange &aRange) |
IMPORT_C void | SetTTimeEditorMinAndMax (TInt aControlId, const TTime &aMinimumTime, const TTime &aMaximumTime) |
IMPORT_C void | SetTTimeEditorValue (TInt aControlId, const TTime &aTime) |
IMPORT_C void | SetDurationEditorMinAndMax (TInt aControlId, const TTimeIntervalSeconds &aMinimumDuration, const TTimeIntervalSeconds &aMaximumDuration) |
IMPORT_C void | SetDurationEditorValue (TInt aControlId, const TTimeIntervalSeconds &aDuration) |
IMPORT_C void | SetTimeOffsetEditorMinAndMax (TInt aControlId, const TTimeIntervalSeconds &aMinimumTimeOffset, const TTimeIntervalSeconds &aMaximumTimeOffset) |
IMPORT_C void | SetTimeOffsetEditorValue (TInt aControlId, const TTimeIntervalSeconds &aTimeOffset) |
IMPORT_C void | SetListBoxCurrentItem (TInt aControlId, TInt aItem) |
IMPORT_C void | SetFileNameL (TInt aControlId, const TDesC *aFileName) |
IMPORT_C void | GetLabelText (TDes &aDes, TInt aControlId) const |
IMPORT_C void | GetEdwinText (TDes &aDes, TInt aControlId) const |
IMPORT_C void | GetTextEditorText (CGlobalText *&aGlobalText, TInt aControlId) |
IMPORT_C void | GetSecretEditorText (TDes &aDes, TInt aControlId) const |
IMPORT_C TReal | FloatingPointEditorValue (TInt aControlId) const |
IMPORT_C TInt | FixedPointEditorValue (TInt aControlId) const |
IMPORT_C TInt | FixedPointEditorDecimal (TInt aControlId) const |
IMPORT_C TReal | FloatEditorValue (TInt aControlId) const |
IMPORT_C TInt | NumberEditorValue (TInt aControlId) const |
IMPORT_C SEikRange | RangeEditorValue (TInt aControlId) const |
IMPORT_C TTime | TTimeEditorValue (TInt aControlId) const |
IMPORT_C TTimeIntervalSeconds | DurationEditorValue (TInt aControlId) const |
IMPORT_C TTimeIntervalSeconds | TimeOffsetEditorValue (TInt aControlId) const |
IMPORT_C void | GetAutoValuesFromPage (CEikCapCArray *aLines) |
IMPORT_C TInt | ListBoxCurrentItem (TInt aControlId) const |
IMPORT_C void | GetFileName (TFileName *aFileName, TInt aControlId) const |
IMPORT_C void | UpdatePageL (TBool aRedraw) |
Only has effect on forms, call this after adding or deleting lines. |
|
Friends |
|
class | CEikDialogButtonCommandObserver |
class | CEikDialogExtension |
class | CAknDialog |
class | CAknCharMap |
class | CAknCharMapDialog |
class | CAknNoteDialog |
class | CAknMediatorFacade |
|
Destructor. |
|
Activates the first page on the dialog. At least one page must be active before this method can be used. |
|
Gets a page id for the current page.
|
|
Gets the index of the dialog's active page. Pages are indexed from 0 in the order they are added.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adjusts the IDs of all controls on a specified page.
The adjustment consists of incrementing all the control IDs by
|
|
Returns the border style for this dialog.
Reimplemented in CAknListQueryDialog. |
|
Gets a pointer to the dialog's internal button command observer. This is required when creating a new button group container for the dialog. A dialog uses a proxy to observe button commands. This means dialog subclasses can directly observe commands, either issued by controls added to the dialog pages, or by menus launched by the dialog.
|
|
Gets a reference to the dialog's command button container.
|
|
Returns a pointer to the component control at the specified index in the component control list. Does not imply transfer of ownership.
Reimplemented in CAknSelectionListDialog. |
|
Dynamically constructs a dialog with the specified flags and buttons and with a single activated empty page with ID 0. The dialog is therefore ready to dynamically add lines to.
|
|
Protected construction of a high priority sleeping dialog from a resource. A sleeping dialog is one which can be displayed at any time since its memory resources are pre-allocated.
|
|
Protected constructor creates a sleeping dialog from a resource. A sleeping dialog is one which can be displayed at any time since its memory resources are pre-allocated.
|
|
Returns a pointer to the specified control. Panics if the control ID is invalid. Does not imply transfer of ownership.
|
|
Gets a pointer to the specified control's caption.
|
|
Gets a pointer to the specified control.
|
|
Gets all lines in the given page.
|
|
From For forms only: Ths should be overriden with mappings between the base control types that form knows how to layout.
Always returns
Implements MEikDialogPageObserver. |
|
Returns the number of the control components. In Avkon returns 2 as the button group container is not internal.
Reimplemented in CAknSelectionListDialog. |
|
From
Creates a control line in the dialog.on the active page with caption text
Implements MEikDialogPageObserver. Reimplemented in CAknSelectionListDialog. |
|
Creates a control line on the caption specified active page in the dialog.
The line can thereafter be accessed through the identifier
|
|
Creates a control line on the page ID specified active page in the dialog.
The line can thereafter be accessed through the identifier
|
|
Gets a pointer to the current line. This does not imply transfer of ownership from the dialog.
|
|
C++ default constructor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sets controllers return value.
|
|
Deletes the specified dialog line.
|
|
Gets flags of the dialog.
|
|
|
|
Loads, displays, and destroys the dialog. This function loads the specified dialog from a resource and displays it. The method then destroys the dialog when it exits, therefore there is no need for the application program to destroy the dialog.
In the resource file, use the
The function returns immediately unless
Reimplemented in CAknDialog, CAknNoteWrapper, and CAknQueryDialog. |
|
Exits sleeping dialog without deleting it. Reimplemented in CAknNoteDialog. |
|
Access to CEikDialog's extension object.
|
|
Gets the line index of the specified control. The control must be on the active page.
|
|
|
|
|
|
|
|
|
|
From Responds to a change in focus.
This is called whenever the control gains or loses focus, as a result of a call to
The default implementation is empty, and should be overridden by the
Reimplemented in CAknDialog. |
|
Get form flags of the active page.
|
|
|
|
From Gets the list of logical colours used to draw the control. The list includes an explanation of how each colour is used. The default implementation is empty.
If overriding
Reimplemented from CEikBorderedControl. |
|
From
Should be implemented to get the custom auto value for the custom control This method is included in the interface to support deprecated legacy code only. Not implemented.
Implements MEikDialogPageObserver. |
|
|
|
|
|
Gets first line of the first page.
|
|
|
|
Gets specified line from specified page.
|
|
Gets number of lines in the specified page.
|
|
Gets number of pages in the page selector.
|
|
|
|
|
|
From Handles control events.
The default implementation handles events of type
Overrides
Reimplemented in CAknColourSelectionGrid. |
|
Handles a state change in the control with id aControlId. Empty by default.
Reimplemented in CAknForm. |
|
From The interface method which is called when dialog page is tapped with a stylus.
Implements MEikDialogPageObserver. Reimplemented in CAknColourSelectionGrid, and CAknNoteWrapper. |
|
Should handle an attempt by the user to activate a dimmed button with id aControlId. Prints an info message by default. Not implemented / Does nothing in Avkon.
|
|
From Handles pointer events. This function gets called whenever a pointer event occurs in the control, i.e. when the pointer is within the control's extent, or when the control has grabbed the pointer. The control should implement this function to handle pointer events.
Note: events of type
If overriding
Reimplemented from CEikBorderedControl. Reimplemented in CAknDialog, CAknForm, CAknListQueryDialog, CAknMessageQueryDialog, CAknNoteDialog, CAknNoteWrapper, CAknResourceNoteDialog, CAknConfirmationNote, CAknInformationNote, CAknErrorNote, CAknWarningNote, CAknProgressDialog, CAknQueryDialog, CAknTextQueryDialog, CAknNumberQueryDialog, CAknTimeQueryDialog, CAknDurationQueryDialog, CAknFloatingPointQueryDialog, CAknMultiLineDataQueryDialog, CAknSelectionListDialog, CAknMarkableListDialog, CAknStaticNoteDialog, CAknWaitDialog, CEikAlert, and CEikInfoDialog. |
|
From Handles a change to the control's resources.
The types of resources handled are those which are shared across the environment, e.g. colours or fonts. For colour scheme
changes,
If overriding
Reimplemented from CEikBorderedControl. Reimplemented in CAknForm, CAknListQueryDialog, CAknNoteDialog, CAknMultiLineDataQueryDialog, and CAknMultiLineIpQueryDialog. |
|
Gets the ID of the control in the focused line.
|
|
From Gets the control's input capabilities.
Classes that override
It is not necessary to call
|
|
Inserts a line in the dialog. The function takes as arguments the page and line index at which the line is to be inserted, and the resource used to construct it.
|
|
Checks if the dialog is editable.
|
|
Lays out the dialog, setting it to take its preferred size and position for the screen. |
|
Gets a pointer to the line containing the specified control. This does not imply transfer of ownership from the dialog.
|
|
From
Should be implemented to take any action required when the current line is changed to Not implemented.
Implements MEikDialogPageObserver. |
|
|
|
Makes the specified control visible or invisible. This function affects the specified control, the visibility of the caption is not affected.
|
|
Makes the specified panel button visible or invisible.
|
|
From Sets the dialog visibility
|
|
Makes the whole specified line visible and active or invisible and inactive. This function affects both the specified control and the caption.
|
|
Routine to map the button id ( Avkon softkey command id) to
The following cases are mapped to a give an
Other cases are left unchanged.
This operation is performed at the last minute and does not affect other processing in It is a framework method; It can be overridded to obtain customized behaviour.
|
|
From Retrieves an object of the same type as that encapsulated in aId. This function is used to allow controls to ask their owners for access to other objects that they own.
Other than in the case where NULL is returned, the object returned must be of the same object type - that is, the
Reimplemented in CAknDialog. |
|
|
|
From
Handles a key event. Overrides
Reimplemented in CAknDialog, CAknListQueryDialog, CAknMessageQueryDialog, CAknNoteDialog, CAknProgressDialog, CAknQueryDialog, CAknSelectionListDialog, CAknMarkableListDialog, and CAknStaticNoteDialog. |
|
Not implemented.
Reimplemented in CAknDialog, CAknForm, CAknListQueryDialog, CAknProgressDialog, CAknQueryDialog, CAknTextQueryDialog, CAknNumberQueryDialog, CAknTimeQueryDialog, CAknDurationQueryDialog, CAknFloatingPointQueryDialog, CAknMultiLineDataQueryDialog, CAknIpAddressQueryDialog, CAknFixedPointQueryDialog, CAknMultiLineIpQueryDialog, CAknSelectionListDialog, and CAknMarkableListDialog. |
|
From Should be implemented to take any action required when the active dialog page is changed. Not implemented.
Implements MEikDialogPageObserver. |
|
Initializes the dialog's controls after the dialog has been sized but before it has been activated. Empty by default. Reimplemented in CAknForm, CAknListQueryDialog, CAknMessageQueryDialog, CAknNoteDialog, CAknQueryDialog, CAknIpAddressQueryDialog, CAknFixedPointQueryDialog, CAknSelectionListDialog, CAknMarkableListDialog, and CAknStaticNoteDialog. |
|
Gets the preferred size of a dialog. The maximum size that the dialog must fit within must be specified, e.g. the size of the physical screen.
|
|
Initializes the dialog's controls before the dialog is sized and layed out. Empty by default. Reimplemented in CAknListQueryDialog, CAknMessageQueryDialog, CAknNoteDialog, CAknProgressDialog, CAknQueryDialog, CAknTextQueryDialog, CAknNumberQueryDialog, CAknTimeQueryDialog, CAknDurationQueryDialog, CAknFloatingPointQueryDialog, CAknMultiLineDataQueryDialog, CAknIpAddressQueryDialog, CAknFixedPointQueryDialog, CAknMultiLineIpQueryDialog, CAknSelectionListDialog, and CAknMarkableListDialog. |
|
From Initialises graphics context settings.
This function should be implemented by derived classes to initialise the graphics context, given by
|
|
From Should be implemented to prepare for focus transition from the current line. For example to validate the contents of the current control. Implements MEikDialogPageObserver. Reimplemented in CAknForm. |
|
Prepares the dialog, constructing it from the specified resource.
Reimplemented in CAknDialog. |
|
Instantiates mediator support and send a command with given parameters when a dialog is brought to display.
|
|
|
|
Reads the dialog resources into the dialog, constructing it from the specified resource.
The function is only to help loading dialog resources and extracting dialog data, in other cases use (
|
|
Sets the current Dialog into the Page selector. |
|
Recalculates the minimum sizes of the lines on the active page.
Overrides |
|
|
|
Rotates the focus by a specified number of steps. Each line is a step, as are dialog tabs.
|
|
Rouses a sleeping dialog by dynamically constructing the dialog and then bringing it to the front.
Derived dialogs should pre-allocate any memory they need for initialisation during construction via
|
|
Runs the dialog and returns the ID of the button used to dismiss it. The dialog is destroyed on exit.
This function is called by the dialog framework (
The function returns immediately unless
Reimplemented in CAknDialog, CAknNoteDialog, CAknProgressDialog, and CAknQueryDialog. |
|
Sets the specified control's caption text from a resource.
|
|
Sets the specified control's caption text from a descriptor.
|
|
|
|
|
|
Sets the dialog to either editable or uneditable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sets the line which initally receives focus. This is the first focusable line on the first page in the dialog by default. Reimplementations of this method must activate a page before doing anything else. Reimplemented in CAknForm. |
|
|
|
|
|
|
|
Dims and deactivates, or un-dims and re-activates, the specified line.
|
|
Sets the specified dialog line to a non-focusing state. After this function is called, the line will never be given keyboard focus.
|
|
|
|
Instantiates mediator support and passes possible feedback to given intance.
If no observer is set, dialog tries to handle feedback by it self. Please note that no commands will be instantiated unless
command identifiers are are set using
Reimplemented in CAknListQueryDialog. |
|
Sets dialog to be multilinequery. This is called by multiline query only. Changes tab-key behaviour of the dialog page. Tab key works differently for forms and multiline queries.
|
|
|
|
|
|
Sets the specified page to be densely packed, or normally packed. This reduces the spacing between the dialog's lines.
|
|
Sets the specified page to be dimmed or undimmed. The page is redrawn immediately.
|
|
|
|
|
|
Sets the size and position of the dialog given the specified size hint.
The parameter is ignored if the
Reimplemented in CAknListQueryDialog, CAknMessageQueryDialog, CAknNoteDialog, CAknQueryDialog, CAknIpAddressQueryDialog, CAknFixedPointQueryDialog, and CAknSelectionListDialog. |
|
|
|
|
|
|
|
Sets the dialog title text from a resource.
|
|
Sets the dialog title text from a descriptor.
|
|
|
|
|
|
|
Swaps the dialog's button group container with a new container. The dialog takes ownership of the new container. A pointer to the old button group container is returned and ownership of this object is transferred to the calling object.
|
|
Switches the latent line.
The latent line is switched from
|
|
|
|
Gets a reference to the dialog title bar.
|
|
Tries to change focus to the specified line.
Fails if the line ID is not valid. Calls
|
|
Tries to exit the dialog when the specified button is pressed, if this button should exit the dialog.
See
This will fail if user exit is prevented by the
|
|
|
|
Only has effect on forms, call this after adding or deleting lines.
|
|
From Writes the internal state to the given stream.
Reimplemented from CEikBorderedControl. |
|
|
|
|
|
|
|