CAknExtQueryControl Class Reference

#include <mw/aknQueryControl.h>

class CAknExtQueryControl : public CAknQueryControl

Inherits from

Nested Classes and Structures

Protected Attributes
CEikFixedPointEditor *iFixedPointEditor
CAknIpFieldEditor *iIpEditor
Public Member Functions
CAknExtQueryControl()
virtual ~CAknExtQueryControl()
virtual CCoeControl *ComponentControl(TInt)
virtual IMPORT_C CCoeControl *ControlByLayoutOrNull(TInt)
virtual TInt CountComponentControls()
TBool EditorContentIsValidL()
virtual voidFocusChanged(TDrawNow)
IMPORT_C TIntGetFixedPointNumber()
IMPORT_C TInetAddrGetInetAddress()
IMPORT_C voidHandleControlEventL(CCoeControl *, TCoeEvent)
virtual IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
virtual 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
virtual voidConstructQueryL(TResourceReader &)
virtual voidLayoutEditor(const TLayoutMethod &)
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
Inherited Enumerations
CAknQueryControl:@176
CAknQueryControl:TLayoutMethod
CAknQueryControl:TQueryControlFlagBitIndices
CCoeControl:TZoomType
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::CCoeControlArray
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()

Detailed Description

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.

See also: CAknQueryDialog, CAknText

Since
2.1

Member Attribute Documentation

iFixedPointEditor

CEikFixedPointEditor *iFixedPointEditor[protected]

iIpEditor

CAknIpFieldEditor *iIpEditor[protected]

Constructor & Destructor Documentation

CAknExtQueryControl ( )

IMPORT_CCAknExtQueryControl()

C++ Constructor.

~CAknExtQueryControl ( )

IMPORT_C~CAknExtQueryControl()[virtual]

C++ Destructor.

Member Function 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.

ParameterDescription
anIndexThe index of the control to get.

Returns: The component control with an index of aIndex.

ConstructQueryL ( TResourceReader & )

voidConstructQueryL(TResourceReader &aRes)[protected, virtual]

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

See also: ConstructFromResourceL()

ControlByLayoutOrNull ( TInt )

IMPORT_C CCoeControl *ControlByLayoutOrNull(TIntaLayout)[virtual]

Get pointer to query controls control (editor)

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

Returns: Pointer to control, NULL if not found

CountComponentControls ( )

TInt CountComponentControls()const [virtual]

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

Returns: The number of component controls contained by this control.

EditorContentIsValidL ( )

TBool EditorContentIsValidL()const

Returns: true if the content of the editor is valid, false otherwise

FocusChanged ( TDrawNow )

voidFocusChanged(TDrawNowaDrawNow)[virtual]

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

Returns: Indicates whether or not the key event was used by this control.

GetFixedPointNumber ( )

IMPORT_C TIntGetFixedPointNumber()const

Get number from fixed point editor.

Returns: Returns number from editor

GetInetAddress ( )

IMPORT_C TInetAddrGetInetAddress()const

Get ip address from ip editor.

Returns: Returns data from editor

HandleControlEventL ( CCoeControl *, TCoeEvent )

IMPORT_C voidHandleControlEventL(CCoeControl *aControl,
TCoeEventaEventType
)
ParameterDescription
aControlControl who caused the event
aEventTypeType of the event

HandlePointerEventL ( const TPointerEvent & )

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

From CCoeControl. Handles pointer event.

ParameterDescription
aPointerEventPointer event to be handled.

LayoutEditor ( const TLayoutMethod & )

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

Layout the text editor

PrepareForFocusLossL ( )

voidPrepareForFocusLossL()[virtual]

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

Returns: Indicates whether or not the key event was used by this control.

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.

SetFixedPointNumberL ( const TInt * )

IMPORT_C voidSetFixedPointNumberL(const TInt *aNumber)

Set number to fixed point editor

ParameterDescription
aNumberNumber to editor

SetInetAddress ( TInetAddr & )

IMPORT_C voidSetInetAddress(TInetAddr &aInetAddress)

Set ip address to editor

ParameterDescription
aInetAddressto editor.

SetMinimumAndMaximum ( const TInetAddr &, const TInetAddr & )

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

Set minimum and maximum ip address to editor

SetMinimumAndMaximum ( TInt, TInt )

IMPORT_C voidSetMinimumAndMaximum(TIntaMinimumValue,
TIntaMaximumValue
)

Set minimum and maximum fixed point number to editor

ParameterDescription
aMinimumValueMinimum value
aMaximumValueMaximum value