|
|
|||
Location:
QikKeyboardControl.h
Link against: qikkeyb.lib
class CQikKeyboardControl : public CCoeControl, public MQikChangeKeytopObserver;
Keyboard control.
The keyboard control displays an on-screen keyboard, from which users can select characters/symbols for entry into an application. The control can display different keyboard configurations, known as keytops. Users can toggle between the keytops using the selection keys provided. Note that most applications do not need to use this class directly. Controls should normally implement InputCapabilities() to return their text input capabilities, then the system takes care of displaying the virtual keyboard.
Note that the events generated when the user presses an on-screen key are not handled by this control, but rather by the keyboard observer. This is set using the SetObserver() method, which should be called immediately after the keyboard control is created.
MQikChangeKeytopObserver - No description.MObjectProvider - An interface that allows an object to be part of a network of object providersCBase - Base class for all classes to be instantiated on the heapCCoeControl - Control base class from which all other controls are derivedCQikKeyboardControl - Keyboard controlDefined in CQikKeyboardControl:
CurrentKeytopType(), EAlphabetic, EDefault, ENumerical, NewL(), ResetCapsAndShift(), SetCurrentKeytopTypeL(), SetLayoutL(), SetObserver(), SupportedLayoutsLC(), TKeytopType
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CCoeControl:
AccumulatedZoom(),
ActivateGc(),
ActivateL(),
BackedUpWindow(),
Background(),
CapturesPointer(),
ClaimPointerGrab(),
CloseWindow(),
ComponentControl(),
Components(),
ConstructFromResourceL(),
ControlContext(),
ControlEnv(),
CopyControlContextFrom(),
CountComponentControls(),
CreateBackedUpWindowL(),
CreateWindowL(),
DeactivateGc(),
DrawBackground(),
DrawDeferred(),
DrawForeground(),
DrawNow(),
DrawableWindow(),
EAbsoluteZoom,
ERelativeZoom,
EnableDragEvents(),
FindBackground(),
FindFontProvider(),
FocusChanged(),
GetColor(),
GetColorUseListL(),
GetGc(),
GetHelpContext(),
GrabbingComponent(),
HandleComponentControlsResourceChange(),
HandleControlArrayEventL(),
HandlePointerBufferReadyL(),
HandlePointerEventL(),
HandleRedrawEvent(),
HandleResourceChange(),
HasBorder(),
HitTest(),
IgnoreEventsUntilNextPointerUp(),
Index(),
InitComponentArrayL(),
InputCapabilities(),
IsActivated(),
IsBackedUp(),
IsBeingDestroyed(),
IsBlank(),
IsDimmed(),
IsFocused(),
IsNonFocusing(),
IsReadyToDraw(),
IsVisible(),
LayoutManager(),
MakeVisible(),
MaximumWidth(),
MinimumSize(),
MopSupplyObject(),
Observer(),
OfferKeyEventL(),
OverrideColorL(),
OwnsWindow(),
Parent(),
Position(),
PositionChanged(),
PositionRelativeToScreen(),
PrepareForFocusGainL(),
PrepareForFocusLossL(),
Rect(),
RecursivelyMergedInputCapabilities(),
ReportEventL(),
RequestRelayout(),
Reserved_CCoeControl_10(),
Reserved_CCoeControl_11(),
Reserved_CCoeControl_12(),
Reserved_CCoeControl_13(),
ResetGc(),
ScreenFont(),
SetAdjacent(),
SetAllowStrayPointers(),
SetBackground(),
SetBlank(),
SetCanDrawOutsideRect(),
SetComponentsToInheritVisibility(),
SetContainerWindowL(),
SetControlContext(),
SetCornerAndSize(),
SetDimmed(),
SetExtent(),
SetExtentToWholeScreen(),
SetFocus(),
SetFocusing(),
SetFontProviderL(),
SetGc(),
SetGloballyCapturing(),
SetHitTest(),
SetLayoutManagerL(),
SetMaximumWidth(),
SetMopParent(),
SetNeighbor(),
SetNonFocusing(),
SetParent(),
SetPointerCapture(),
SetPosition(),
SetRect(),
SetSize(),
SetSizeWithoutNotification(),
SetTextBaselineSpacing(),
SetUniqueHandle(),
SetZoomFactorL(),
Size(),
SizeChanged(),
SystemGc(),
TZoomType,
TextBaselineOffset(),
TextDrawer(),
UniqueHandle(),
Window(),
WriteInternalStateL(),
ZoomWithType(),
iCoeEnv,
iContext,
iPosition,
iSize
Inherited from MObjectProvider:
MopGetObject(),
MopGetObjectNoChaining()
CQikKeytopControlstatic IMPORT_C CQikKeyboardControl *NewL(const CCoeControl &aContainer, TKeytopType aVisibleAtStart=EDefault, TBool aPreAllocMemory=EFalse);
Allocates and constructs a new keyboard control.
|
|
IMPORT_C void SetObserver(MQikKeyboardObserver *aObserver);
Sets the keyboard observer.
The keyboard observer handles key events and size changes. This function should be called immediately after creating the control. It is necessary to return the Keyevent, for handling the change of size etc. If no observer is set, other functions will panic, since there will be no mechanism to consume the key events.
|
IMPORT_C void ResetCapsAndShift();
Resets the CapsLock, Shift, Alt, and Ctrl key for all keytops.
IMPORT_C TKeytopType CurrentKeytopType() const;
Gets which type of keytop is active at the moment.
|
IMPORT_C TBool SetCurrentKeytopTypeL(TKeytopType aType);
Sets the type of keytop to use on the keyboard.
|
|