CAknMultilineQueryControl Class Reference

class CAknMultilineQueryControl : public CAknQueryControl

Multiline query control class.

Inherits from

Nested Classes and Structures

Public Member Functions
CAknMultilineQueryControl()
~CAknMultilineQueryControl()
IMPORT_C CCoeControl *ControlByLayoutOrNull(TInt)
IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
IMPORT_C voidHandleResourceChange(TInt)
IMPORT_C TBoolIsFirst()
IMPORT_C TBoolIsSecond()
IMPORT_C TSizeMinimumSize()
IMPORT_C voidSetNbrOfPromptLines(TInt, TInt)
Protected Member Functions
voidConstructQueryL(TResourceReader &)
TRect LayoutRect()
voidSetLineWidthsL()
Private Member Functions
voidDraw(const TRect &)
IMPORT_C void *ExtensionInterface(TUid)
TInt16 FirstLineHeight()
voidLayoutEditor(const TLayoutMethod &)
voidLayoutEditorFrame(const TLayoutMethod &)
voidLayoutEditorIndicator(const TLayoutMethod &)
voidLayoutPrompt(const TLayoutMethod &)
voidLayoutSeparator(const TLayoutMethod &)
TInt16 SecondLineHeight()
voidSetLinePosition()
voidSizeChanged()
voidWindowLayout(TAknWindowLineLayout &)
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknQueryControl::AttemptEmergencyCallL()
CAknQueryControl::CAknQueryControl()
CAknQueryControl::CancelAnimation()
CAknQueryControl::CancelQueryL()
CAknQueryControl::CheckNumber()
CAknQueryControl::ComponentControl(TInt)const
CAknQueryControl::ConstructFromResourceL(TResourceReader &)
CAknQueryControl::CountComponentControls()const
CAknQueryControl::DialogRect()const
CAknQueryControl::DialogSize()const
CAknQueryControl::DialogSizeChanged()
CAknQueryControl::DrawEditorFrame(CWindowGc &,TRect &)const
CAknQueryControl::EditorContentIsValidL()const
CAknQueryControl::FocusChanged(TDrawNow)
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::HandleControlEventL(CCoeControl *,TCoeEvent)
CAknQueryControl::HandleEdwinEventL(CEikEdwin *,TEdwinEvent)
CAknQueryControl::HandleEdwinSizeEventL(CEikEdwin *,TEdwinSizeEvent,TSize)
CAknQueryControl::Layout()
CAknQueryControl::LayoutImageOrAnim(const TLayoutMethod &)
CAknQueryControl::LocationEd()
CAknQueryControl::LocationEd()const
CAknQueryControl::MopSupplyObject(TTypeUid)
CAknQueryControl::NbrOfEditorLines()const
CAknQueryControl::NbrOfPromptLines()const
CAknQueryControl::OfferKeyEventL(const TKeyEvent &,TEventCode)
CAknQueryControl::PrepareForFocusLossL()
CAknQueryControl::QueryExtension()const
CAknQueryControl::QueryType()const
CAknQueryControl::ReadPromptL(TResourceReader &)
CAknQueryControl::SetAndUseFlagsL(TBitFlags16)
CAknQueryControl::SetAnimationL(TInt)
CAknQueryControl::SetDuration(TTimeIntervalSeconds &)
CAknQueryControl::SetEcsCbaVisibleL(TBool)
CAknQueryControl::SetFloatingPointNumberL(const TReal *)
CAknQueryControl::SetImageL(CEikImage *)
CAknQueryControl::SetImageL(const TDesC &,TInt,TInt)
CAknQueryControl::SetLocation(const TPosition &)
CAknQueryControl::SetMinimumAndMaximum(TInt,TInt)
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::StartAnimationL()
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
Private Attributes
TInt iFirstQueryPromptLines
TAknLayoutRect iLayoutLineBetweenEntryFields
TLinePosition iLinePos
TInt iSecondQueryPromptLines
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::iSpare_1
CAknQueryControl::iTimeEdwin
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize

Constructor & Destructor Documentation

CAknMultilineQueryControl()

IMPORT_CCAknMultilineQueryControl()

C++ Constructor.

~CAknMultilineQueryControl()

IMPORT_C~CAknMultilineQueryControl()[virtual]

C++ Destructor.

Member Functions Documentation

ConstructQueryL(TResourceReader &)

voidConstructQueryL(TResourceReader &aRes)[protected, virtual]

Read the query data from resource file

Parameters

TResourceReader & aRes

ControlByLayoutOrNull(TInt)

IMPORT_C CCoeControl *ControlByLayoutOrNull(TIntaLayout)[virtual]

Get pointer to query controls control (editor)

Parameters

TInt aLayoutControls layout (for multiline queries use EMultiDataFirstEdwin, EMultiDataSecondEdwin...)

Draw(const TRect &)

voidDraw(const TRect &aRect)const [private, virtual]

From CCoeControl Draw a control.

Parameters

const TRect & aRectThe region of the control to be redrawn.

ExtensionInterface(TUid)

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

Parameters

TUid aInterface

FirstLineHeight()

TInt16 FirstLineHeight()const [private]

HandlePointerEventL(const TPointerEvent &)

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

From CCoeControl. Handles pointer events

Parameters

const TPointerEvent & aPointerEventThe pointer event.

HandleResourceChange(TInt)

IMPORT_C voidHandleResourceChange(TIntaType)[virtual]

Parameters

TInt aType

IsFirst()

IMPORT_C TBoolIsFirst()const

Return true if control is the first query in the dialog

IsSecond()

IMPORT_C TBoolIsSecond()const

Return true if control is the second query in the dialog

LayoutEditor(const TLayoutMethod &)

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

Layout the text editor

Parameters

const TLayoutMethod & aLayoutM

LayoutEditorFrame(const TLayoutMethod &)

voidLayoutEditorFrame(const TLayoutMethod &aLayoutM)[private, virtual]

Layout the editor frame

Parameters

const TLayoutMethod & aLayoutM

LayoutEditorIndicator(const TLayoutMethod &)

voidLayoutEditorIndicator(const TLayoutMethod &aLayoutM)[private, virtual]

Layout the editor state indicator icons

Parameters

const TLayoutMethod & aLayoutM

LayoutPrompt(const TLayoutMethod &)

voidLayoutPrompt(const TLayoutMethod &aLayoutM)[private, virtual]

Layout the query prompt

Parameters

const TLayoutMethod & aLayoutM

LayoutRect()

TRect LayoutRect()[protected, virtual]

Layout rectangle (shift up and left by margins)

LayoutSeparator(const TLayoutMethod &)

voidLayoutSeparator(const TLayoutMethod &aLayoutM)[private]

Parameters

const TLayoutMethod & aLayoutM

MinimumSize()

IMPORT_C TSizeMinimumSize()[virtual]

From CCoeControl Give the control a mimimum size.

SecondLineHeight()

TInt16 SecondLineHeight()const [private]

SetLinePosition()

voidSetLinePosition()[private]

SetLineWidthsL()

voidSetLineWidthsL()[protected, virtual]

Set line widths for query prompt

SetNbrOfPromptLines(TInt, TInt)

IMPORT_C voidSetNbrOfPromptLines(TIntaNbrOfPromptLinesFirstLine,
TIntaNbrOfPromptLinesSecondLine
)

Set number of prompt lines to controls. This have to call before setting sizs of the components

Parameters

TInt aNbrOfPromptLinesFirstLineNumbers of lines in first prompt text
TInt aNbrOfPromptLinesSecondLineNumbers of lines in Second prompt text

SizeChanged()

voidSizeChanged()[private, virtual]

From CCoeControl Respond to size changed. This function is called by CONE whenever SetExtentL(), SetSizeL(), SetRectL(), SetCornerAndSizeL(), or SetExtentToWholeScreenL() are called on the control.

WindowLayout(TAknWindowLineLayout &)

voidWindowLayout(TAknWindowLineLayout &aLayout)const [private, virtual]

Return window layout depending on Layout Window layout is done by the dialog

Parameters

TAknWindowLineLayout & aLayout

Member Data Documentation

TInt iFirstQueryPromptLines

TInt iFirstQueryPromptLines[private]

TAknLayoutRect iLayoutLineBetweenEntryFields

TAknLayoutRect iLayoutLineBetweenEntryFields[private]

TLinePosition iLinePos

TLinePosition iLinePos[private]

TInt iSecondQueryPromptLines

TInt iSecondQueryPromptLines[private]