»
UIQ 3 SDK »
UIQ Developer Library »
UIQ API Reference »
UIQ C++ Component reference »
Qikon »
CQikViewDialog
Location:
QikViewDialog.h
Link against: qikcore.lib
class CQikViewDialog : public CQikMultiPageViewBase;
Description
A view that can be invoked like a dialog
Derivation
MEikBorderedControl - Interface for bordered controlsMObjectProvider - An interface that allows an object to be part of a network of object providersCBase - Base class for all classes to be instantiated on the heapCCoeControl - Control base class from which all other controls are derived
Members
Defined in CQikViewDialog:
ActivateL(), ActivatePageL(), AddControlLC(), BeginUpdateLC(), Border(), CQikViewDialog(), CQikViewDialog(), CalculateRowInfo(), CloseDialog(), ConstructFromResourceL(), ConstructL(), ContainerWindow(), Draw(), EndUpdateL(), ExecuteLD(), FocusChanged(), FocusedControl(), GetColorUseListL(), GetHelpContext(), GetTextDrawer(), HandleCommandL(), HandleControlArrayEventL(), HandleControlEventL(), HandleErrorL(), HandlePointerBufferReadyL(), HandlePointerEventL(), HandleResourceChange(), HandleUiConfigChangedL(), HasBorder(), InitializeFromResourceL(), InitializeViewFromResourceL(), InitializeViewFromResourceL(), InputCapabilities(), Launched(), MakeVisible(), MinimumSize(), MopSupplyObject(), OfferKeyEventL(), PersistsAfterRelayout(), PositionChanged(), PreferredUiConfigMode(), PrepareForFocusGainL(), PrepareForFocusLossL(), PrepareForViewActivation(), PrepareL(), PrepareLC(), RelayoutFinishedL(), ReleaseControls(), RemoveControl(), RequestRelayout(), RetCode(), RunL(), RunLD(), SaveL(), SetAdjacent(), SetBorder(), SetBorder(), SetContainerWindowL(), SetDimmed(), SetForcedExitCommandId(), SetInitialFocusL(), SetNeighbor(), SetParent(), SetTextBaselineSpacing(), SizeChanged(), TabActivatedL(), TextBaselineOffset(), TransferPersistentControlStateL(), ViewActivatedL(), ViewConstructL(), ViewDeactivated(), ViewId(), ViewScreenDeviceChangedL(), ViewScreenModeCompatible(), WriteInternalStateL(), ~CQikViewDialog()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CCoeControl:
AccumulatedZoom(),
ActivateGc(),
BackedUpWindow(),
Background(),
CapturesPointer(),
ClaimPointerGrab(),
CloseWindow(),
Components(),
ControlContext(),
ControlEnv(),
CopyControlContextFrom(),
CreateBackedUpWindowL(),
CreateWindowL(),
DeactivateGc(),
DrawBackground(),
DrawDeferred(),
DrawForeground(),
DrawNow(),
DrawableWindow(),
EAbsoluteZoom,
ERelativeZoom,
EnableDragEvents(),
FindBackground(),
FindFontProvider(),
GetColor(),
GetGc(),
GrabbingComponent(),
HandleComponentControlsResourceChange(),
HandleRedrawEvent(),
HitTest(),
IgnoreEventsUntilNextPointerUp(),
Index(),
InitComponentArrayL(),
IsActivated(),
IsBackedUp(),
IsBeingDestroyed(),
IsBlank(),
IsDimmed(),
IsFocused(),
IsNonFocusing(),
IsReadyToDraw(),
IsVisible(),
LayoutManager(),
MaximumWidth(),
Observer(),
OverrideColorL(),
OwnsWindow(),
Parent(),
Position(),
PositionRelativeToScreen(),
Rect(),
RecursivelyMergedInputCapabilities(),
ReportEventL(),
Reserved_CCoeControl_10(),
Reserved_CCoeControl_11(),
Reserved_CCoeControl_12(),
Reserved_CCoeControl_13(),
ResetGc(),
ScreenFont(),
SetAllowStrayPointers(),
SetBackground(),
SetBlank(),
SetCanDrawOutsideRect(),
SetComponentsToInheritVisibility(),
SetControlContext(),
SetCornerAndSize(),
SetExtent(),
SetExtentToWholeScreen(),
SetFocus(),
SetFocusing(),
SetFontProviderL(),
SetGc(),
SetGloballyCapturing(),
SetHitTest(),
SetMaximumWidth(),
SetMopParent(),
SetNonFocusing(),
SetObserver(),
SetPointerCapture(),
SetPosition(),
SetRect(),
SetSize(),
SetSizeWithoutNotification(),
SetUniqueHandle(),
SetZoomFactorL(),
Size(),
SystemGc(),
TZoomType,
TextDrawer(),
UniqueHandle(),
Window(),
ZoomWithType(),
iCoeEnv,
iContext,
iPosition,
iSize
Inherited from CEikBorderedControl:
ComponentControl(),
CountComponentControls(),
iBorder
Inherited from CQikContainer:
ClosestFocusingControl()
Inherited from CQikContainerBase:
ControlsOwnedExternally(),
HandlesRelayoutRequests(),
HorizontalWrappingEnabled(),
IsRelayoutInProgress(),
RowBasedMode(),
SetDebugMode(),
SetHandleRelayoutRequests(),
SetHorizontalWrappingEnabled(),
SetPersistsAfterRelayout(),
SetRelayoutInProgress(),
SetRowBasedMode(),
SetVerticalWrappingEnabled(),
VerticalWrappingEnabled()
Inherited from CQikMultiPageViewBase:
ActivePageId(),
BaseConstructL(),
ConstructPageL(),
ConstructPageWithoutActivationL(),
DeactivatePageL(),
DeletePageL(),
Page(),
ReleasePageL(),
SetPageCommandListL()
Inherited from CQikViewBase:
ActivatePreviousViewL(),
ActivateTabL(),
ActiveTabId(),
AddTabL(),
CQikViewBase_Reserved_4(),
CategoryHandleForCommandId(),
CategoryModel(),
CommandIdForCategoryHandle(),
ControlProvider(),
Controls(),
CurrentCategoryHandle(),
ECancel,
ESave,
ETypeId,
EViewActivatedL,
EViewCategoryAdded,
EViewConstructL,
EViewInitializeViewFromResourceL,
EViewRequestFocusL,
EViewSaveL,
EViewSetInitialFocusL,
EmbeddedLinkEnabled(),
GetCompatibleViewConfigData(),
GetCurrentViewConfigData(),
IsCommandListActive(),
IsDefaultView(),
IsTabDimmed(),
ParentView(),
PerformLayout(),
PreemptViewConstructionL(),
RemoveTabL(),
RequestFocusL(),
ResetBackBehavior(),
SaveThenDnlToL(),
SelectCategoryL(),
SetAppTitleIconL(),
SetAppTitleNameL(),
SetCategoryModel(),
SetCategoryModelAsCommandsL(),
SetEmbeddedLinkEnabled(),
SetLayoutManagerL(),
SetParentView(),
SetTabDimmed(),
SetTabIndex(),
SetTabResponsiveWhenActive(),
SetViewModeL(),
SetViewToolbarL(),
TSaveMode,
TViewError,
Tab(),
TabCount(),
ViewConstructFromResourceL(),
ViewContext(),
ViewMode(),
ViewToolbar(),
ViewToolbarResourceId(),
anonymous,
iQikAppUi,
iViewConfigList,
operator class MCoeView &(),
operator class MCoeView *()
Inherited from MCoeControlObserver:
EEventInteractionRefused,
EEventPrepareFocusTransition,
EEventRequestCancel,
EEventRequestExit,
EEventRequestFocus,
EEventStateChanged,
TCoeEvent
Inherited from MObjectProvider:
MopGetObject(),
MopGetObjectNoChaining()
Inherited from MQikCommandHandler:
HandleAttemptDimmedSelectionL()
Inherited from MQikCommandListOwner:
MapCommandHandler()
Inherited from MQikCommandModelOwner:
DynInitOrDeleteCommandL(),
FindCompatibleUiConfig()
Construction and destruction
virtual ~CQikViewDialog();
Description
Destructor. Panics with VIEWDLG-2 should the view-dialog be currently launched.
protected: IMPORT_C CQikViewDialog(CQikAppUi &aAppUi, const TVwsViewId &aParentViewId);
Description
Constructor. Passes the parameters to the CQikMultiPageViewBase::CQikMultiPageViewBase() constructor.
Parameters
protected: IMPORT_C CQikViewDialog();
Description
Constructor. Creates a parentless View.
virtual IMPORT_C void ConstructL();
Description
See also:
IMPORT_C TInt ExecuteLD();
Description
Execute the dialog, and destroys it. This single call encapsulates both CQikViewDialog::PrepareLC and CQikViewDialog::RunLD
Example usage:
Return value
IMPORT_C void PrepareLC();
Description
Prepares the dialog. This places the view-dialog on the cleanup-stack, to be destroyed by CQikViewDialog::RunLD. This calls CQikViewBase::BaseConstructL(), and then does a synchronous view construction. Subclasses will receive a CQikViewBase::ViewConstructL() for the view-dialog, which call CQikviewDialog::BaseViewConstructL() before constructing.
IMPORT_C TInt RunLD();
Description
Launch the view-dialog as a dialog. This function returns when the dialog has been dismissed. This method pops and destroys the view-dialog, which was pushed with CQikViewDialog::PrepareLC
Return value
IMPORT_C void PrepareL();
Description
Prepares the dialog. This calls CQikViewBase::BaseConstructL(), and then does a synchronous view construction. Subclasses will receive a CQikViewBase::ViewConstructL() for the view-dialog, which call CQikviewDialog::BaseViewConstructL() before constructing.
IMPORT_C TInt RunL();
Description
Launch the view-dialog as a dialog. This function returns when the dialog has been dismissed. The view-dialog is not destroyed; this function is for use with CQikViewDialog::PrepareL, on sleeping view-dialogs.
Return value
IMPORT_C void SetForcedExitCommandId(TInt aCommandId);
Description
Parameters
virtual IMPORT_C void HandleCommandL(CQikCommand &aCommand);
Description
To be overridden by derived classes. Handles commands in the view-dialog. The default implementation attempts to close the dialog, should it be launched, if the command type is Yes, No, Done or Cancel.
Overriding implementations are responsible for calling CQikViewDialog::CloseDialog should a command that dismisses the dialog be encountered.
Parameters
virtual IMPORT_C TVwsViewId ViewId() const;
Description
To be overridden by derived classes going to be used as a true view
Return value
protected: IMPORT_C TBool Launched() const;
Description
Query if the view-dialog is currently "launched" as a dialog
Return value
protected: IMPORT_C TInt RetCode() const;
Description
Query the return value as set by CQikViewDialog::CloseDialog
Return value
protected: IMPORT_C TInt CloseDialog(TInt aRetCode);
Description
Asynchronously initiates the closure the dialog with the specified return-code
Parameters
Return value
IMPORT_C void ActivatePageL(TInt aPageId);
Description
Parameters
See also:
InitializeViewFromResourceL()
virtual IMPORT_C void InitializeViewFromResourceL(TInt aViewResourceId);
Description
Parameters
See also:
InitializeViewFromResourceL()
virtual IMPORT_C void InitializeViewFromResourceL(const TQikViewConfigData &aViewConfigData);
Description
Parameters
See also:
virtual IMPORT_C void SetInitialFocusL();
Description
See also:
virtual IMPORT_C void ReleaseControls(RQikReleasedControlsArray &aReleasedControls);
Description
Parameters
See also:
CQikMultiPageViewBase::ReleaseControls
virtual IMPORT_C CCoeControl *FocusedControl();
Description
Return value
See also:
virtual IMPORT_C TKeyResponse OfferKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType);
Description
Parameters
Return value
See also:
virtual IMPORT_C void MakeVisible(TBool aVisible);
Description
Parameters
See also:
virtual IMPORT_C TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
Description
Parameters
Return value
See also:
virtual IMPORT_C void GetTextDrawer(CCoeTextDrawerBase *&aTextDrawer, const CCoeControl *aDrawingControl, TInt aKey) const;
Description
Parameters
See also:
virtual IMPORT_C void ConstructFromResourceL(TResourceReader &aReader);
Description
Parameters
See also:
virtual IMPORT_C TBool RequestRelayout(const CCoeControl *aChildControl);
Description
Parameters
Return value
See also:
virtual IMPORT_C TSize MinimumSize();
Description
Return value
See also:
virtual IMPORT_C void GetColorUseListL(CArrayFix< TCoeColorUse > &aColorUseList) const;
Description
Parameters
See also:
virtual IMPORT_C void HandleResourceChange(TInt aType);
Description
Parameters
See also:
virtual IMPORT_C void PrepareForFocusGainL();
Description
See also:
virtual IMPORT_C void PrepareForFocusLossL();
Description
See also:
virtual IMPORT_C TBool HasBorder() const;
Description
Return value
See also:
virtual IMPORT_C void SetAdjacent(TInt aAdjacent);
Description
Parameters
See also:
virtual IMPORT_C void SetDimmed(TBool aDimmed);
Description
Parameters
See also:
virtual IMPORT_C void SetContainerWindowL(const CCoeControl &aContainer);
Description
Parameters
See also:
virtual IMPORT_C void ActivateL();
Description
See also:
virtual IMPORT_C void SetNeighbor(CCoeControl *aNeighbor);
Description
Parameters
See also:
virtual IMPORT_C void GetHelpContext(TCoeHelpContext &aContext) const;
Description
Parameters
See also:
virtual IMPORT_C TInt SetParent(CCoeControl *aParent);
Description
Parameters
Return value
See also:
virtual IMPORT_C TInt TextBaselineOffset(const TSize &aSize) const;
Description
Parameters
Return value
See also:
virtual IMPORT_C void SetTextBaselineSpacing(TInt aSpacing);
Description
Parameters
See also:
virtual IMPORT_C TCoeInputCapabilities InputCapabilities() const;
Description
Return value
See also:
virtual IMPORT_C const CCoeControl &ContainerWindow() const;
Description
Return value
See also:
InitializeFromResourceL()
virtual IMPORT_C void InitializeFromResourceL(TResourceReader &aReader, MQikControlProvider &aProvider);
Description
Parameters
See also:
virtual IMPORT_C void BeginUpdateLC();
Description
See also:
virtual IMPORT_C void EndUpdateL();
Description
See also:
virtual IMPORT_C void AddControlLC(CCoeControl *aControl, TInt aComponentId=KErrNotFound);
Description
Parameters
See also:
virtual IMPORT_C TInt RemoveControl(CCoeControl &aControl);
Description
Parameters
Return value
See also:
virtual IMPORT_C TBool PersistsAfterRelayout() const;
Description
Return value
See also:
virtual IMPORT_C void SetBorder(TGulBorder::TBorderType aBorderType);
Description
Parameters
See also:
virtual IMPORT_C void SetBorder(TInt aBorderType);
Description
Parameters
See also:
virtual IMPORT_C TGulBorder Border() const;
Description
Return value
See also:
virtual IMPORT_C void HandleControlEventL(CCoeControl *aControl, TCoeEvent aEventType);
Description
Parameters
See also:
ViewScreenModeCompatible()
virtual IMPORT_C TBool ViewScreenModeCompatible(TInt aScreenMode);
Description
Parameters
Return value
See also:
TransferPersistentControlStateL()
virtual IMPORT_C void TransferPersistentControlStateL(const CCoeControl &aOldControl, CCoeControl &aNewControl) const;
Description
Parameters
See also:
MQikControlStateTransferrer::TransferPersistentControlStateL()
protected: virtual IMPORT_C void TabActivatedL(TInt aTabId);
Description
Parameters
See also:
protected: virtual IMPORT_C void SizeChanged();
Description
See also:
protected: virtual IMPORT_C void WriteInternalStateL(RWriteStream &aWriteStream) const;
Description
Parameters
See also:
protected: virtual IMPORT_C void HandlePointerEventL(const TPointerEvent &aPointerEvent);
Description
Parameters
See also:
HandleControlArrayEventL()
protected: virtual IMPORT_C void HandleControlArrayEventL(CCoeControlArray::TEvent aEvent, const CCoeControlArray *aArray, CCoeControl *aControl, TInt aControlId);
Description
Parameters