CAknExtMultilineQueryControl Class Reference

class CAknExtMultilineQueryControl : public CAknExtQueryControl

Derived Multiline query control class.

Since
2.1

Nested Classes and Structures

Public Member Functions
CAknExtMultilineQueryControl ()
~CAknExtMultilineQueryControl ()
IMPORT_C CCoeControl * ControlByLayoutOrNull ( TInt )
IMPORT_C void HandlePointerEventL (const TPointerEvent &)
IMPORT_C void HandleResourceChange ( TInt )
IMPORT_C TBool IsFirst ()
IMPORT_C TBool IsSecond ()
IMPORT_C TSize MinimumSize ()
IMPORT_C void SetNbrOfPromptLines ( TInt , TInt )
Protected Member Functions
void ConstructQueryL ( TResourceReader &)
TRect LayoutRect ()
void SetLineWidthsL ()
Private Member Functions
void Draw (const TRect &)
IMPORT_C void * ExtensionInterface ( TUid )
TInt16 FirstLineHeight ()
void LayoutEditor (const TLayoutMethod &)
void LayoutEditorFrame (const TLayoutMethod &)
void LayoutEditorIndicator (const TLayoutMethod &)
void LayoutPrompt (const TLayoutMethod &)
void LayoutSeparator (const TLayoutMethod &)
TInt16 SecondLineHeight ()
void SetLinePosition ()
void SizeChanged ()
void WindowLayout ( TAknWindowLineLayout &)
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknExtQueryControl::CAknExtQueryControl()
CAknExtQueryControl::ComponentControl(TInt)const
CAknExtQueryControl::CountComponentControls()const
CAknExtQueryControl::EditorContentIsValidL()const
CAknExtQueryControl::FocusChanged(TDrawNow)
CAknExtQueryControl::GetFixedPointNumber()const
CAknExtQueryControl::GetInetAddress()const
CAknExtQueryControl::HandleControlEventL(CCoeControl *,TCoeEvent)
CAknExtQueryControl::PrepareForFocusLossL()
CAknExtQueryControl::SetAndUseFlagsL(TBitFlags16)
CAknExtQueryControl::SetFixedPointNumberL(const TInt *)
CAknExtQueryControl::SetInetAddress(TInetAddr &)
CAknExtQueryControl::SetMinimumAndMaximum(TInt,TInt)
CAknExtQueryControl::SetMinimumAndMaximum(const TInetAddr &,const TInetAddr &)
CAknExtQueryControl::~CAknExtQueryControl()
CAknQueryControl::AttemptEmergencyCallL()
CAknQueryControl::CAknQueryControl()
CAknQueryControl::CancelAnimation()
CAknQueryControl::CancelQueryL()
CAknQueryControl::CheckNumber()
CAknQueryControl::ConstructFromResourceL(TResourceReader &)
CAknQueryControl::DialogRect()const
CAknQueryControl::DialogSize()const
CAknQueryControl::DialogSizeChanged()
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::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::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::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::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
TAny * iSpare_1
Inherited Attributes
CAknExtQueryControl::iFixedPointEditor
CAknExtQueryControl::iIpEditor
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

CAknExtMultilineQueryControl()

IMPORT_C CAknExtMultilineQueryControl ( )

C++ Constructor.

~CAknExtMultilineQueryControl()

IMPORT_C ~CAknExtMultilineQueryControl ( ) [virtual]

C++ Destructor.

Member Functions Documentation

ConstructQueryL(TResourceReader &)

void ConstructQueryL ( TResourceReader & aRes ) [protected, virtual]

Read the query data from resource file

Parameters

TResourceReader & aRes

ControlByLayoutOrNull(TInt)

IMPORT_C CCoeControl * ControlByLayoutOrNull ( TInt aLayout ) [virtual]

Get pointer to query controls control (editor)

Parameters

TInt aLayout Controls layout (for multiline queries use EMultiDataFirstIpEd, EMultiDataSecondIpEd...)

Draw(const TRect &)

void Draw ( const TRect & aRect ) const [private, virtual]

From CCoeControl Draw a control.

Parameters

const TRect & aRect The region of the control to be redrawn.

ExtensionInterface(TUid)

IMPORT_C void * ExtensionInterface ( TUid aInterface ) [private, virtual]

Parameters

TUid aInterface

FirstLineHeight()

TInt16 FirstLineHeight ( ) const [private]

HandlePointerEventL(const TPointerEvent &)

IMPORT_C void HandlePointerEventL ( const TPointerEvent & aPointerEvent ) [virtual]

From CCoeControl . Handles pointer events

Parameters

const TPointerEvent & aPointerEvent The pointer event.

HandleResourceChange(TInt)

IMPORT_C void HandleResourceChange ( TInt aType ) [virtual]

Parameters

TInt aType

IsFirst()

IMPORT_C TBool IsFirst ( ) const

Return true if control is the first query in the dialog

IsSecond()

IMPORT_C TBool IsSecond ( ) const

Return true if control is the second query in the dialog

LayoutEditor(const TLayoutMethod &)

void LayoutEditor ( const TLayoutMethod & aLayoutM ) [private, virtual]

Layout the text editor

Parameters

const TLayoutMethod & aLayoutM

LayoutEditorFrame(const TLayoutMethod &)

void LayoutEditorFrame ( const TLayoutMethod & aLayoutM ) [private, virtual]

Layout the editor frame

Parameters

const TLayoutMethod & aLayoutM

LayoutEditorIndicator(const TLayoutMethod &)

void LayoutEditorIndicator ( const TLayoutMethod & aLayoutM ) [private, virtual]

Layout the editor state indicator icons

Parameters

const TLayoutMethod & aLayoutM

LayoutPrompt(const TLayoutMethod &)

void LayoutPrompt ( 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 &)

void LayoutSeparator ( const TLayoutMethod & aLayoutM ) [private]

Parameters

const TLayoutMethod & aLayoutM

MinimumSize()

IMPORT_C TSize MinimumSize ( ) [virtual]

From CCoeControl Give the control a mimimum size.

SecondLineHeight()

TInt16 SecondLineHeight ( ) const [private]

SetLinePosition()

void SetLinePosition ( ) [private]

SetLineWidthsL()

void SetLineWidthsL ( ) [protected, virtual]

Set line widths for query prompt

SetNbrOfPromptLines(TInt, TInt)

IMPORT_C void SetNbrOfPromptLines ( TInt aNbrOfPromptLinesFirstLine,
TInt aNbrOfPromptLinesSecondLine
)

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

Parameters

TInt aNbrOfPromptLinesFirstLine Numbers of lines in first prompt text
TInt aNbrOfPromptLinesSecondLine Numbers of lines in Second prompt text

SizeChanged()

void SizeChanged ( ) [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 &)

void WindowLayout ( 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]

TAny * iSpare_1

TAny * iSpare_1 [private]