CAknExtQueryControl Class Reference

class CAknExtQueryControl : public CAknQueryControl

The extended control for a query dialog. ip and fixed point editors

Manage layout of elements in a query dialog:- the text, the image and the editors.

CAknQueryDialog, CAknText
Since
2.1

Inherits from

Nested Classes and Structures

Public Member Functions
CAknExtQueryControl()
~CAknExtQueryControl()
CCoeControl *ComponentControl(TInt)
IMPORT_C CCoeControl *ControlByLayoutOrNull(TInt)
TInt CountComponentControls()
TBool EditorContentIsValidL()
voidFocusChanged(TDrawNow)
IMPORT_C TIntGetFixedPointNumber()
IMPORT_C TInetAddrGetInetAddress()
IMPORT_C voidHandleControlEventL(CCoeControl *, TCoeEvent)
IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
voidPrepareForFocusLossL()
voidSetAndUseFlagsL(TBitFlags16)
IMPORT_C voidSetFixedPointNumberL(const TInt *)
IMPORT_C voidSetInetAddress(TInetAddr &)
IMPORT_C voidSetMinimumAndMaximum(const TInetAddr &, const TInetAddr &)
IMPORT_C voidSetMinimumAndMaximum(TInt, TInt)
Protected Member Functions
voidConstructQueryL(TResourceReader &)
voidLayoutEditor(const TLayoutMethod &)
Private Member Functions
voidDeployFlagsL()
IMPORT_C void *ExtensionInterface(TUid)
voidPictographCallBack()
voidSetFlags(TBitFlags16)
TInt StaticPictographCallBack(TAny *)
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknQueryControl::AttemptEmergencyCallL()
CAknQueryControl::CAknQueryControl()
CAknQueryControl::CancelAnimation()
CAknQueryControl::CancelQueryL()
CAknQueryControl::CheckNumber()
CAknQueryControl::ConstructFromResourceL(TResourceReader &)
CAknQueryControl::DialogRect()const
CAknQueryControl::DialogSize()const
CAknQueryControl::DialogSizeChanged()
CAknQueryControl::Draw(const TRect &)const
CAknQueryControl::DrawEditorFrame(CWindowGc &,TRect &)const
CAknQueryControl::GetCaption(TDes &)const
CAknQueryControl::GetDuration()const
CAknQueryControl::GetFloatingPointNumberL()const
CAknQueryControl::GetLocation(TPosition &)const
CAknQueryControl::GetNumber()const
CAknQueryControl::GetText(TDes &)const
CAknQueryControl::GetTextEntryLength()const
CAknQueryControl::GetTextLength()const
CAknQueryControl::GetTime()const
CAknQueryControl::HandleEdwinEventL(CEikEdwin *,TEdwinEvent)
CAknQueryControl::HandleEdwinSizeEventL(CEikEdwin *,TEdwinSizeEvent,TSize)
CAknQueryControl::HandleResourceChange(TInt)
CAknQueryControl::Layout()
CAknQueryControl::LayoutEditorFrame(const TLayoutMethod &)
CAknQueryControl::LayoutEditorIndicator(const TLayoutMethod &)
CAknQueryControl::LayoutImageOrAnim(const TLayoutMethod &)
CAknQueryControl::LayoutPrompt(const TLayoutMethod &)
CAknQueryControl::LayoutRect()
CAknQueryControl::LocationEd()
CAknQueryControl::LocationEd()const
CAknQueryControl::MinimumSize()
CAknQueryControl::MopSupplyObject(TTypeUid)
CAknQueryControl::NbrOfEditorLines()const
CAknQueryControl::NbrOfPromptLines()const
CAknQueryControl::OfferKeyEventL(const TKeyEvent &,TEventCode)
CAknQueryControl::QueryExtension()const
CAknQueryControl::QueryType()const
CAknQueryControl::ReadPromptL(TResourceReader &)
CAknQueryControl::SetAnimationL(TInt)
CAknQueryControl::SetDuration(TTimeIntervalSeconds &)
CAknQueryControl::SetEcsCbaVisibleL(TBool)
CAknQueryControl::SetFloatingPointNumberL(const TReal *)
CAknQueryControl::SetImageL(CEikImage *)
CAknQueryControl::SetImageL(const TDesC &,TInt,TInt)
CAknQueryControl::SetLineWidthsL()
CAknQueryControl::SetLocation(const TPosition &)
CAknQueryControl::SetMinimumAndMaximum(const TReal &,const TReal &)
CAknQueryControl::SetMinimumAndMaximum(const TTime &,const TTime &)
CAknQueryControl::SetMinimumAndMaximum(const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CAknQueryControl::SetNumberL(TInt)
CAknQueryControl::SetNumberOfEditorLines(TInt)
CAknQueryControl::SetPromptL(const TDesC &)
CAknQueryControl::SetQueryControlObserver(MAknQueryControlObserver *)
CAknQueryControl::SetTextEntryLength(TInt)
CAknQueryControl::SetTextL(const TDesC &)
CAknQueryControl::SetTime(TTime &)
CAknQueryControl::SizeChanged()
CAknQueryControl::StartAnimationL()
CAknQueryControl::WindowLayout(TAknWindowLineLayout &)const
CAknQueryControl::~CAknQueryControl()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CCoeControl::GetGc()const
CCoeControl::GetHelpContext(TCoeHelpContext &)const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HasBorder()const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::InputCapabilities()const
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MakeVisible(TBool)
CCoeControl::MaximumWidth()const
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAdjacent(TInt)
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateL(RWriteStream &)const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
Inherited Enumerations
CAknQueryControl:@176
CAknQueryControl:TLayoutMethod
CAknQueryControl:TQueryControlFlagBitIndices
CCoeControl:TZoomType
Protected Attributes
CEikFixedPointEditor *iFixedPointEditor
CAknIpFieldEditor *iIpEditor
Private Attributes
TAny *iSpare_1
TAny *iSpare_2
Inherited Attributes
CAknQueryControl::iAnimation
CAknQueryControl::iControl
CAknQueryControl::iDateEdwin
CAknQueryControl::iDecreaseValueButton
CAknQueryControl::iDialogSize
CAknQueryControl::iDurationEdwin
CAknQueryControl::iEcsDetector
CAknQueryControl::iEcsObserver
CAknQueryControl::iEditIndicator
CAknQueryControl::iEditorFrame
CAknQueryControl::iEditorHorShadow
CAknQueryControl::iEditorVerShadow
CAknQueryControl::iEdwin
CAknQueryControl::iFlags
CAknQueryControl::iFloatingPointEditor
CAknQueryControl::iHasEditor
CAknQueryControl::iImage
CAknQueryControl::iIncreaseValueButton
CAknQueryControl::iLayoutMfne
CAknQueryControl::iLineWidths
CAknQueryControl::iNumberEdwin
CAknQueryControl::iNumberOfEditorLines
CAknQueryControl::iPinEdwin
CAknQueryControl::iPrompt
CAknQueryControl::iQueryControlObserver
CAknQueryControl::iQueryType
CAknQueryControl::iSecretEd
CAknQueryControl::iTimeEdwin
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize

Constructor & Destructor Documentation

CAknExtQueryControl()

IMPORT_CCAknExtQueryControl()

C++ Constructor.

~CAknExtQueryControl()

IMPORT_C~CAknExtQueryControl()[virtual]

C++ Destructor.

Member Functions Documentation

ComponentControl(TInt)

CCoeControl *ComponentControl(TIntanIndex)const [virtual]

From CCoeControl Get the components of a compound control. It returns one of the control's component controls, identified by aIndex.

Parameters

TInt anIndexThe index of the control to get.

ConstructQueryL(TResourceReader &)

voidConstructQueryL(TResourceReader &aRes)[protected, virtual]

After having read the query type from resource. This method is called in CostructFromResourceL()

ConstructFromResourceL()

Parameters

TResourceReader & aRes

ControlByLayoutOrNull(TInt)

IMPORT_C CCoeControl *ControlByLayoutOrNull(TIntaLayout)[virtual]

Get pointer to query controls control (editor)

Parameters

TInt aLayoutControls layout (for one line queries use EDataLayout, ECodeLayout... and for multiline queries use EMultiDataFirstEdwin, EMultiDataSecondEdwin...)

CountComponentControls()

TInt CountComponentControls()const [virtual]

From CCoeControl Count number of controls contained in a compound control.

DeployFlagsL()

voidDeployFlagsL()[private]

This acts on the Query control flags that are set from CAknQueryDialog

EditorContentIsValidL()

TBool EditorContentIsValidL()const

ExtensionInterface(TUid)

IMPORT_C void *ExtensionInterface(TUidaInterface)[private, virtual]

Parameters

TUid aInterface

FocusChanged(TDrawNow)

voidFocusChanged(TDrawNowaDrawNow)[virtual]

From CCoeControl Added to pass-through focus-loss warnings. if not ready, this will leave.

Parameters

TDrawNow aDrawNow

GetFixedPointNumber()

IMPORT_C TIntGetFixedPointNumber()const

Get number from fixed point editor.

GetInetAddress()

IMPORT_C TInetAddrGetInetAddress()const

Get ip address from ip editor.

HandleControlEventL(CCoeControl *, TCoeEvent)

IMPORT_C voidHandleControlEventL(CCoeControl *aControl,
TCoeEventaEventType
)

Parameters

CCoeControl * aControlControl who caused the event
TCoeEvent aEventTypeType of the event

HandlePointerEventL(const TPointerEvent &)

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

From CCoeControl. Handles pointer event.

Parameters

const TPointerEvent & aPointerEventPointer event to be handled.

LayoutEditor(const TLayoutMethod &)

voidLayoutEditor(const TLayoutMethod &aLayoutM)[protected, virtual]

Layout the text editor

Parameters

const TLayoutMethod & aLayoutM

PictographCallBack()

voidPictographCallBack()[private]

PrepareForFocusLossL()

voidPrepareForFocusLossL()[virtual]

From CCoeControl Added to pass-through focus-loss warnings. if not ready, this will leave.

SetAndUseFlagsL(TBitFlags16)

voidSetAndUseFlagsL(TBitFlags16aFlags)

This transfers CAknQueryControl's flags set by the dialog and then uses them. The method must be called after all the contained controls are constructed; Inside PreLayoutDynamicInitL is recommended.

Parameters

TBitFlags16 aFlags

SetFixedPointNumberL(const TInt *)

IMPORT_C voidSetFixedPointNumberL(const TInt *aNumber)

Set number to fixed point editor

Parameters

const TInt * aNumberNumber to editor

SetFlags(TBitFlags16)

voidSetFlags(TBitFlags16aFlags)[private]

This transfers CAknQueryControl's flags set by the dialog

Parameters

TBitFlags16 aFlags

SetInetAddress(TInetAddr &)

IMPORT_C voidSetInetAddress(TInetAddr &aInetAddress)

Set ip address to editor

Parameters

TInetAddr & aInetAddressto editor.

SetMinimumAndMaximum(const TInetAddr &, const TInetAddr &)

IMPORT_C voidSetMinimumAndMaximum(const TInetAddr &aMinimumAddress,
const TInetAddr &aMaximumAddress
)

Set minimum and maximum ip address to editor

Parameters

const TInetAddr & aMinimumAddress
const TInetAddr & aMaximumAddress

SetMinimumAndMaximum(TInt, TInt)

IMPORT_C voidSetMinimumAndMaximum(TIntaMinimumValue,
TIntaMaximumValue
)

Set minimum and maximum fixed point number to editor

Parameters

TInt aMinimumValueMinimum value
TInt aMaximumValueMaximum value

StaticPictographCallBack(TAny *)

TInt StaticPictographCallBack(TAny *aPtr)[private, static]

Parameters

TAny * aPtr

Member Data Documentation

CEikFixedPointEditor * iFixedPointEditor

CEikFixedPointEditor *iFixedPointEditor[protected]

CAknIpFieldEditor * iIpEditor

CAknIpFieldEditor *iIpEditor[protected]

TAny * iSpare_1

TAny *iSpare_1[private]

TAny * iSpare_2

TAny *iSpare_2[private]