CAknQueryControl Class Reference
class CAknQueryControl : public CAknControl
|
The control for a query dialog.
Manage layout of elements in a query dialog:- the text, the image and the editors.
CAknQueryDialog
, CAknText
Nested Classes and Structures
Public Member Functions
|
|
CAknQueryControl
()
|
|
~CAknQueryControl
()
|
void
|
AttemptEmergencyCallL
()
|
IMPORT_C
TInt
|
CancelAnimation
()
|
void
|
CancelQueryL
()
|
IMPORT_C
TBool
|
CheckNumber
()
|
CCoeControl
*
|
ComponentControl
(
TInt
)
|
IMPORT_C void
|
ConstructFromResourceL
(
TResourceReader
&)
|
IMPORT_C
CCoeControl
*
|
ControlByLayoutOrNull
(
TInt
)
|
TInt
|
CountComponentControls
()
|
TBool
|
EditorContentIsValidL
()
|
void
|
FocusChanged
(
TDrawNow
)
|
void
|
GetCaption
(
TDes
&)
|
IMPORT_C
TTimeIntervalSeconds
|
GetDuration
()
|
IMPORT_C
TReal
|
GetFloatingPointNumberL
()
|
IMPORT_C void
|
GetLocation
(
TPosition
&)
|
IMPORT_C
TInt
|
GetNumber
()
|
IMPORT_C void
|
GetText
(
TDes
&)
|
IMPORT_C
TInt
|
GetTextEntryLength
()
|
IMPORT_C
TInt
|
GetTextLength
()
|
IMPORT_C
TTime
|
GetTime
()
|
IMPORT_C void
|
HandleControlEventL
(
CCoeControl
*, TCoeEvent)
|
IMPORT_C void
|
HandleEdwinEventL
(
CEikEdwin
*, TEdwinEvent)
|
IMPORT_C
TBool
|
HandleEdwinSizeEventL
(
CEikEdwin
*, TEdwinSizeEvent,
TSize
)
|
IMPORT_C void
|
HandlePointerEventL
(const TPointerEvent &)
|
IMPORT_C void
|
HandleResourceChange
(
TInt
)
|
IMPORT_C
TSize
|
MinimumSize
()
|
IMPORT_C
TInt
|
NbrOfEditorLines
()
|
IMPORT_C
TInt
|
NbrOfPromptLines
()
|
IMPORT_C
TKeyResponse
|
OfferKeyEventL
(const
TKeyEvent
&,
TEventCode
)
|
void
|
PrepareForFocusLossL
()
|
TInt
|
QueryType
()
|
IMPORT_C void
|
ReadPromptL
(
TResourceReader
&)
|
void
|
SetAndUseFlagsL
(
TBitFlags16
)
|
IMPORT_C void
|
SetAnimationL
(
TInt
)
|
IMPORT_C void
|
SetDuration
(
TTimeIntervalSeconds
&)
|
void
|
SetEcsCbaVisibleL
(
TBool
)
|
IMPORT_C void
|
SetFloatingPointNumberL
(const
TReal
*)
|
IMPORT_C void
|
SetImageL
(
CEikImage
*)
|
IMPORT_C void
|
SetImageL
(const
TDesC
&,
TInt
,
TInt
)
|
IMPORT_C void
|
SetLocation
(const
TPosition
&)
|
IMPORT_C void
|
SetMinimumAndMaximum
(const
TTime
&, const
TTime
&)
|
IMPORT_C void
|
SetMinimumAndMaximum
(const
TTimeIntervalSeconds
&, const
TTimeIntervalSeconds
&)
|
IMPORT_C void
|
SetMinimumAndMaximum
(
TInt
,
TInt
)
|
IMPORT_C void
|
SetMinimumAndMaximum
(const
TReal
&, const
TReal
&)
|
IMPORT_C void
|
SetNumberL
(
TInt
)
|
IMPORT_C void
|
SetNumberOfEditorLines
(
TInt
)
|
IMPORT_C void
|
SetPromptL
(const
TDesC
&)
|
IMPORT_C void
|
SetQueryControlObserver
(
MAknQueryControlObserver
*)
|
IMPORT_C void
|
SetTextEntryLength
(
TInt
)
|
IMPORT_C void
|
SetTextL
(const
TDesC
&)
|
IMPORT_C void
|
SetTime
(
TTime
&)
|
IMPORT_C void
|
StartAnimationL
()
|
void
|
WindowLayout
(
TAknWindowLineLayout
&)
|
Inherited Functions
|
|
CAknControl::CAknControl()
|
|
CAknControl::~CAknControl()
|
|
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()
|
Constructor & Destructor Documentation
CAknQueryControl()
IMPORT_C
|
CAknQueryControl
|
(
|
)
|
|
~CAknQueryControl()
IMPORT_C
|
~CAknQueryControl
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AttemptEmergencyCallL()
void
|
AttemptEmergencyCallL
|
(
|
)
|
|
Attempts to make an emergency call if a valid emergency number has been entered to the query.
CancelAnimation()
IMPORT_C
TInt
|
CancelAnimation
|
(
|
)
|
|
stops animation if one present
CancelQueryL()
This cancels the query. Used when the query control has to get abandon the query for some reason
CheckNumber()
IMPORT_C
TBool
|
CheckNumber
|
(
|
)
|
|
Checks if the given number in the editor is within the maximum and minimum values.
ComponentControl(TInt)
From
CCoeControl
Get the components of a compound control. It returns one of the control's component controls, identified by aIndex.
Parameters
TInt
anIndex
|
The index of the control to get.
|
ConstructFromResourceL(TResourceReader &)
Second phase constructor: loads contents of array from resources.
ConstructQueryL(TResourceReader &)
After having read the query type from resource. This method is called in CostructFromResourceL()
ConstructFromResourceL()
ControlByLayoutOrNull(TInt)
Get pointer to query controls control (editor)
Parameters
TInt
aLayout
|
Controls 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.
CreateBackspaceButtonL()
void
|
CreateBackspaceButtonL
|
(
|
)
|
[private]
|
Creates backspace button.
CreateIncAndDecButtonsL()
void
|
CreateIncAndDecButtonsL
|
(
|
)
|
[private]
|
Creates increment and decrement buttons.
DeployFlagsL()
void
|
DeployFlagsL
|
(
|
)
|
[private]
|
Dialog()
Returns pointer to dialog.
DialogRect()
TRect
|
DialogRect
|
(
|
)
|
const [protected]
|
Return the rect that is used by the dialog for layout This can be determined using LAF values and is equal to TPoint(0,0) plus the control size plus the margins
DialogSize()
TSize
|
DialogSize
|
(
|
)
|
const [protected]
|
Return the size of the dialog. This equals to the control size plus the margins.
DialogSizeChanged()
void
|
DialogSizeChanged
|
(
|
)
|
[protected]
|
Calculates the size of the dialog. This can be determined using LAF values and is equal to the control size plus the margins.
DoSetPromptL()
void
|
DoSetPromptL
|
(
|
)
|
[private]
|
Call CAknTextControl::ParseTextL
Draw(const TRect &)
void
|
Draw
|
(
|
const
TRect
&
|
aRect
|
)
|
const [protected, virtual]
|
Parameters
const
TRect
& aRect
|
The region of the control to be redrawn.
|
DrawEditorFrame(CWindowGc &, TRect &)
void
|
DrawEditorFrame
|
(
|
CWindowGc
&
|
aGc,
|
|
TRect
&
|
aRect
|
|
)
|
const [protected]
|
Draw editor frame and shadows
EditorContentIsValidL()
TBool
|
EditorContentIsValidL
|
(
|
)
|
const
|
EmbeddedVirtualInput()
TBool
|
EmbeddedVirtualInput
|
(
|
)
|
const [private]
|
Checks if this query control should contain embedded virtual keypad.
ExtensionInterface(TUid)
IMPORT_C void *
|
ExtensionInterface
|
(
|
TUid
|
aInterface
|
)
|
[private, virtual]
|
FocusChanged(TDrawNow)
void
|
FocusChanged
|
(
|
TDrawNow
|
aDrawNow
|
)
|
[virtual]
|
From
CCoeControl
Added to pass-through focus-loss warnings. if not ready, this will leave.
GetCaption(TDes &)
void
|
GetCaption
|
(
|
TDes
&
|
aCaption
|
)
|
const
|
Return prompt needed by FEP to query dialog
GetDuration()
Get duration from duration editor
GetFloatingPointNumberL()
IMPORT_C
TReal
|
GetFloatingPointNumberL
|
(
|
)
|
const
|
Get number from floating point editor.
GetLocation(TPosition &)
IMPORT_C void
|
GetLocation
|
(
|
TPosition
&
|
aLocation
|
)
|
const
|
Get location from location editor
Modifies aLocation in such way that either longitude or latitude will change.
GetNumber()
IMPORT_C
TInt
|
GetNumber
|
(
|
)
|
const
|
Get number from number editor.
GetText(TDes &)
IMPORT_C void
|
GetText
|
(
|
TDes
&
|
aDes
|
)
|
const
|
Get text from text, secret text, numeric secret text snd phonenumber editor.
Parameters
TDes
& aDes
|
Address of variable where text returned.
|
GetTextEntryLength()
IMPORT_C
TInt
|
GetTextEntryLength
|
(
|
)
|
const
|
Return the max length of the text in the text editor
GetTextLength()
IMPORT_C
TInt
|
GetTextLength
|
(
|
)
|
const
|
Get text length from editor.
GetTime()
IMPORT_C
TTime
|
GetTime
|
(
|
)
|
const
|
Get time from date or time editors
HandleControlEventL(CCoeControl *, TCoeEvent)
IMPORT_C void
|
HandleControlEventL
|
(
|
CCoeControl
*
|
aControl,
|
|
TCoeEvent
|
aEventType
|
|
)
|
|
Parameters
CCoeControl
* aControl
|
Control who caused the event
|
TCoeEvent aEventType
|
Type of the event
|
HandleEdwinEventL(CEikEdwin *, TEdwinEvent)
IMPORT_C void
|
HandleEdwinEventL
|
(
|
CEikEdwin
*
|
aEdwin,
|
|
TEdwinEvent
|
aEventType
|
|
)
|
|
Parameters
CEikEdwin
* aEdwin
|
Editor who sent the event
|
TEdwinEvent aEventType
|
Type of the event
|
HandleEdwinSizeEventL(CEikEdwin *, TEdwinSizeEvent, TSize)
IMPORT_C
TBool
|
HandleEdwinSizeEventL
|
(
|
CEikEdwin
*
|
aEdwin,
|
|
TEdwinSizeEvent
|
aEventType,
|
|
TSize
|
aDesirableEdwinSize
|
|
)
|
|
Parameters
CEikEdwin
* aEdwin
|
Editor who's size has changed
|
TEdwinSizeEvent aEventType
|
Type of the size event
|
TSize
aDesirableEdwinSize
|
Desirable size of the edwin
|
HandlePointerEventL(const TPointerEvent &)
IMPORT_C void
|
HandlePointerEventL
|
(
|
const TPointerEvent &
|
aPointerEvent
|
)
|
[virtual]
|
Parameters
const TPointerEvent & aPointerEvent
|
|
HandleResourceChange(TInt)
IMPORT_C void
|
HandleResourceChange
|
(
|
TInt
|
aType
|
)
|
[virtual]
|
Layout()
void
|
Layout
|
(
|
)
|
[protected]
|
Perform layout by calling SizeChanged
LayoutEditor(const TLayoutMethod &)
void
|
LayoutEditor
|
(
|
const
TLayoutMethod
&
|
aLayoutM
|
)
|
[protected, virtual]
|
LayoutEditorForFullScreen(const TLayoutMethod &)
void
|
LayoutEditorForFullScreen
|
(
|
const
TLayoutMethod
&
|
|
)
|
[private]
|
Layouts the query prompt in case of Full Screen Query.
LayoutEditorFrame(const TLayoutMethod &)
void
|
LayoutEditorFrame
|
(
|
const
TLayoutMethod
&
|
aLayoutM
|
)
|
[protected, virtual]
|
LayoutEditorIndicator(const TLayoutMethod &)
void
|
LayoutEditorIndicator
|
(
|
const
TLayoutMethod
&
|
aLayoutM
|
)
|
[protected, virtual]
|
Layout the editor state indicator icons
LayoutImageOrAnim(const TLayoutMethod &)
void
|
LayoutImageOrAnim
|
(
|
const
TLayoutMethod
&
|
aLayoutM
|
)
|
[protected, virtual]
|
Layout the image or the animation
LayoutPrompt(const TLayoutMethod &)
void
|
LayoutPrompt
|
(
|
const
TLayoutMethod
&
|
aLayoutM
|
)
|
[protected, virtual]
|
LayoutPromptForFullScreen()
void
|
LayoutPromptForFullScreen
|
(
|
)
|
[private]
|
Layout the text editor in case of Full Screen Query.
LayoutRect()
TRect
|
LayoutRect
|
(
|
)
|
[protected, virtual]
|
Layout rectangle (shift up and left by margins)
MinimumSize()
IMPORT_C
TSize
|
MinimumSize
|
(
|
)
|
[virtual]
|
MopSupplyObject(TTypeUid)
NbrOfEditorLines()
IMPORT_C
TInt
|
NbrOfEditorLines
|
(
|
)
|
const
|
Return number of editor lines
NbrOfPromptLines()
IMPORT_C
TInt
|
NbrOfPromptLines
|
(
|
)
|
const
|
Return number of prompt lines
OfferKeyEventL(const TKeyEvent &, TEventCode)
IMPORT_C
TKeyResponse
|
OfferKeyEventL
|
(
|
const
TKeyEvent
&
|
aKeyEvent,
|
|
TEventCode
|
aType
|
|
)
|
[virtual]
|
From
CCoeControl
Handle key events. When a key event occurs, CONE calls this function for each control on the control stack, until one of them returns EKeyWasConsumed to indicate that it processed the key event.
Parameters
const
TKeyEvent
& aKeyEvent
|
The key event.
|
TEventCode
aType
|
The type of the event: EEventKey, EEventKeyUp or EEventKeyDown.
|
PictographCallBack()
void
|
PictographCallBack
|
(
|
)
|
[private]
|
PinCodeTimeoutCallback(TAny *)
TInt
|
PinCodeTimeoutCallback
|
(
|
TAny
*
|
aThis
|
)
|
[private, static]
|
Callback for pin code timeouts for producing a tacticons.
Parameters
TAny
* aThis
|
Pointer to this object, which is used to play tacticon.
|
PlayPinCodeTacticon()
void
|
PlayPinCodeTacticon
|
(
|
)
|
[private]
|
Plays a tacticon. Used by the timeout callback.
PrepareForFocusLossL()
void
|
PrepareForFocusLossL
|
(
|
)
|
[virtual]
|
From
CCoeControl
Added to pass-through focus-loss warnings. if not ready, this will leave.
QueryExtension()
CAknQueryExtension *
|
QueryExtension
|
(
|
)
|
const [protected]
|
Get the extension object instance, if any exists.
QueryType()
TInt
|
QueryType
|
(
|
)
|
const [inline]
|
At the moment the layout is a good indication of the query type (PIN,number,etc) The query dialog uses this information to determine query type in order to process key events in a way dependent on the query type. These key events can't be processes by the control directly because they involve actions only the dialog can perform
ReadPromptL(TResourceReader &)
Read prompt text from resource and call SetPrompt if there was text for prompt.
ResetPinCodeTacticonTimer()
void
|
ResetPinCodeTacticonTimer
|
(
|
)
|
[private]
|
Resets the timer for pincode query tacticon playback.
SetAndUseFlagsL(TBitFlags16)
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.
SetAnimationL(TInt)
IMPORT_C void
|
SetAnimationL
|
(
|
TInt
|
aResource
|
)
|
|
Sets and overrides other animation
SetDuration(TTimeIntervalSeconds &)
Set duration to duration editor
SetEcsCbaVisibleL(TBool)
void
|
SetEcsCbaVisibleL
|
(
|
TBool
|
aVisible
|
)
|
|
Sets the ECS CBA visibility in the query.
TBool aVisible
ETrue
if an ECS number is entered to the query,
EFalse
otherwise.
SetFlags(TBitFlags16)
This transfers CAknQueryControl's flags set by the dialog
SetFloatingPointNumberL(const TReal *)
IMPORT_C void
|
SetFloatingPointNumberL
|
(
|
const
TReal
*
|
aNumber
|
)
|
|
Set number to floating point editor
Parameters
const
TReal
* aNumber
|
Number to editor
|
SetImageL(CEikImage *)
IMPORT_C void
|
SetImageL
|
(
|
CEikImage
*
|
aImage
|
)
|
|
Sets and overrides other image or animation Takes ownership of aImage
SetImageL(const TDesC &, TInt, TInt)
IMPORT_C void
|
SetImageL
|
(
|
const
TDesC
&
|
aImageFile,
|
|
TInt
|
aBmpId,
|
|
TInt
|
aBmpMaskId
|
|
)
|
|
Sets and overrides other image or animation
SetLineWidthsL()
void
|
SetLineWidthsL
|
(
|
)
|
[protected, virtual]
|
Determine the line widths for the prompt, depends on layout
SetLocation(const TPosition &)
IMPORT_C void
|
SetLocation
|
(
|
const
TPosition
&
|
aLocation
|
)
|
|
Set location to location editor
Modifies editor in such way that it'll start showing either longitude or latitude from the given location. It depends on resource file flags of the location editor which is used.
Parameters
const
TPosition
& aLocation
|
Location to editor
|
SetMinimumAndMaximum(const TTime &, const TTime &)
IMPORT_C void
|
SetMinimumAndMaximum
|
(
|
const
TTime
&
|
aMinimum,
|
|
const
TTime
&
|
aMaximum
|
|
)
|
|
Set minimum and maximum time or date to editor
Parameters
const
TTime
& aMinimum
|
Minimum value
|
const
TTime
& aMaximum
|
Maximum value
|
SetMinimumAndMaximum(const TTimeIntervalSeconds &, const TTimeIntervalSeconds &)
Set minimum and maximum duration to editor
SetMinimumAndMaximum(TInt, TInt)
IMPORT_C void
|
SetMinimumAndMaximum
|
(
|
TInt
|
aMinimumValue,
|
|
TInt
|
aMaximumValue
|
|
)
|
|
Set minimum and maximum number to editor
Parameters
TInt
aMinimumValue
|
Minimum value
|
TInt
aMaximumValue
|
Maximum value
|
SetMinimumAndMaximum(const TReal &, const TReal &)
IMPORT_C void
|
SetMinimumAndMaximum
|
(
|
const
TReal
&
|
aMinimumValue,
|
|
const
TReal
&
|
aMaximumValue
|
|
)
|
|
Set minimum and maximum number to floating point editor
Parameters
const
TReal
& aMinimumValue
|
Minimum value
|
const
TReal
& aMaximumValue
|
Maximum value
|
SetNumberL(TInt)
IMPORT_C void
|
SetNumberL
|
(
|
TInt
|
aNumber
|
)
|
|
Set number to number editor
Parameters
TInt
aNumber
|
Number to editor
|
SetNumberOfEditorLines(TInt)
IMPORT_C void
|
SetNumberOfEditorLines
|
(
|
TInt
|
aNum
|
)
|
|
Set the number of lines in the editor.
Parameters
TInt
aNum
|
Number of lines in the editor
|
SetPromptL(const TDesC &)
IMPORT_C void
|
SetPromptL
|
(
|
const
TDesC
&
|
aDesC
|
)
|
[virtual]
|
Set prompt text for query. This call WrapToStringL.
Parameters
const
TDesC
& aDesC
|
Text for prompt
|
SetQueryControlObserver(MAknQueryControlObserver *)
Set observer for query control.
SetTextEntryLength(TInt)
IMPORT_C void
|
SetTextEntryLength
|
(
|
TInt
|
aLength
|
)
|
|
Set max length of text to text editor. This will override length from resource
Parameters
TInt
aLength
|
Max length of text in editor
|
SetTextL(const TDesC &)
IMPORT_C void
|
SetTextL
|
(
|
const
TDesC
&
|
aDesC
|
)
|
|
Set text to text and phonenumber editor.
Parameters
const
TDesC
& aDesC
|
Text for editor
|
SetTime(TTime &)
IMPORT_C void
|
SetTime
|
(
|
TTime
&
|
aTime
|
)
|
|
Set date of time to editor
Parameters
TTime
& aTime
|
Time or date to editor.
|
SizeChanged()
void
|
SizeChanged
|
(
|
)
|
[protected, 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.
StartAnimationL()
IMPORT_C void
|
StartAnimationL
|
(
|
)
|
|
starts animation if one present
StaticPictographCallBack(TAny *)
TInt
|
StaticPictographCallBack
|
(
|
TAny
*
|
aPtr
|
)
|
[private, static]
|
StopPinCodeTacticonTimer()
void
|
StopPinCodeTacticonTimer
|
(
|
)
|
[private]
|
Stops/removes the timer for pincode query tacticon playback.
WindowLayout(TAknWindowLineLayout &)
Return window layout depending on Layout Window layout is done by the dialog
Member Enumerations Documentation
Enum TLayoutMethod
Layout for queries can be done using the following methods. Each method is specified in a LAF section
Enumerators
EConfQueryLayoutM
|
|
EDataQueryLayoutM
|
|
ECodeQueryLayoutM
|
|
ETimeQueryLayoutM
|
|
EDateQueryLayoutM
|
|
ECombinedCodeDataQueryLayoutM
|
LAYOUT according to LAF specs for combined code and data queries
|
Enum TQueryControlFlagBitIndices
Enumeration for indexing into control flags, which determine the control behaviour relative to a number of things, e.g. emergency control handling, displaying of edit indicator, enabling of predictive text, etc
Enumerators
EEmergencyCallsEnabledByAPI
|
Query supports emergency calls.
|
EEmergencyCallsDisabledByAPI
|
Query doesn't support emergency calls.
|
EPredictiveTextEntryPermitted
|
Predictive text input is allowed in the query.
|
EEditorIndicatorOff
|
Editor indicators are not shown in the query.
|
EEmergencyCallsCBASupport
|
Additional support to ECS for CBA label change. Must be enabled for touch full screen query for the ECS to function properly.
|
Member Data Documentation
CAknBitmapAnimation * iAnimation
CAknBitmapAnimation *
|
iAnimation
|
[protected]
|
TInt
iControl
TInt
|
iControl
|
[protected]
|
CEikDateEditor * iDateEdwin
CAknButton * iDecreaseValueButton
CAknButton *
|
iDecreaseValueButton
|
[protected]
|
TSize
iDialogSize
TSize
|
iDialogSize
|
[protected]
|
CEikDurationEditor * iDurationEdwin
CAknEcsDetector * iEcsDetector
CAknEcsDetector *
|
iEcsDetector
|
[protected]
|
TAknQueryEcsObserver * iEcsObserver
TAknQueryEcsObserver *
|
iEcsObserver
|
[protected]
|
CAknQueryEditIndicator * iEditIndicator
CAknQueryEditIndicator *
|
iEditIndicator
|
[protected]
|
TAknLayoutRect
iEditorFrame
TAknLayoutRect
iEditorHorShadow
TAknLayoutRect
iEditorVerShadow
CAknQueryControlExtension * iExtension
CAknQueryControlExtension *
|
iExtension
|
[private]
|
CEikFloatingPointEditor * iFloatingPointEditor
TBool
iHasEditor
TBool
|
iHasEditor
|
[protected]
|
CAknButton * iIncreaseValueButton
CAknButton *
|
iIncreaseValueButton
|
[protected]
|
TAknLayoutRect
iLayoutMfne
CArrayFixFlat< TInt > * iLineWidths
CAknIntegerEdwin * iNumberEdwin
TInt
iNumberOfEditorLines
TInt
|
iNumberOfEditorLines
|
[protected]
|
CAknNumericSecretEditor * iPinEdwin
CAknTextControl * iPrompt
CAknTextControl *
|
iPrompt
|
[protected]
|
MAknQueryControlObserver * iQueryControlObserver
TInt
iQueryType
TInt
|
iQueryType
|
[protected]
|
CEikSecretEditor * iSecretEd
CEikTimeEditor * iTimeEdwin
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.