CAknMultilineQueryControl Class Reference

#include <mw/aknmultilinequerycontrol.h>

class CAknMultilineQueryControl : public CAknQueryControl

Inherits from

Nested Classes and Structures

Public Member Functions
CAknMultilineQueryControl()
virtual ~CAknMultilineQueryControl()
virtual IMPORT_C CCoeControl *ControlByLayoutOrNull(TInt)
virtual IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
virtual IMPORT_C voidHandleResourceChange(TInt)
IMPORT_C TBoolIsFirst()
IMPORT_C TBoolIsSecond()
virtual IMPORT_C TSizeMinimumSize()
IMPORT_C voidSetNbrOfPromptLines(TInt, TInt)
Protected Member Functions
virtual voidConstructQueryL(TResourceReader &)
virtual TRect LayoutRect()
virtual voidSetLineWidthsL()
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
Inherited Enumerations
CAknQueryControl:@171
CAknQueryControl:TLayoutMethod
CAknQueryControl:TQueryControlFlagBitIndices
CCoeControl:TZoomType
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::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

Multiline query control class.

Constructor & Destructor Documentation

CAknMultilineQueryControl ( )

IMPORT_CCAknMultilineQueryControl()

C++ Constructor.

~CAknMultilineQueryControl ( )

IMPORT_C~CAknMultilineQueryControl()[virtual]

C++ Destructor.

Member Function Documentation

ConstructQueryL ( TResourceReader & )

voidConstructQueryL(TResourceReader &aRes)[protected, virtual]

Reimplemented from CAknQueryControl::ConstructQueryL(TResourceReader &)

Read the query data from resource file

ControlByLayoutOrNull ( TInt )

IMPORT_C CCoeControl *ControlByLayoutOrNull(TIntaLayout)[virtual]

Get pointer to query controls control (editor)

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

Returns: Pointer to control, NULL if not found

HandlePointerEventL ( const TPointerEvent & )

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

From CCoeControl. Handles pointer events

ParameterDescription
aPointerEventThe pointer event.

HandleResourceChange ( TInt )

IMPORT_C voidHandleResourceChange(TIntaType)[virtual]

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

LayoutRect ( )

TRect LayoutRect()[protected, virtual]

Layout rectangle (shift up and left by margins)

MinimumSize ( )

IMPORT_C TSizeMinimumSize()[virtual]

From CCoeControl Give the control a mimimum size.

Returns: The minimum size required by the control.

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

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