Qt: TQtCustomControl should pass arrow keys to lcl.

git-svn-id: trunk@37241 -
This commit is contained in:
zeljko 2012-05-10 13:21:09 +00:00
parent 1e3ca58978
commit ddd0657787

View File

@ -449,6 +449,7 @@ type
FViewPortWidget: TQtViewPort;
protected
function CreateWidget(const AParams: TCreateParams):QWidgetH; override;
function ProcessArrowKeys: Boolean; override;
public
destructor Destroy; override;
function EventFilter(Sender: QObjectH; Event: QEventH): Boolean; cdecl; override;
@ -14611,6 +14612,11 @@ begin
QWidget_setAttribute(Result, QtWA_InputMethodEnabled);
end;
function TQtCustomControl.ProcessArrowKeys: Boolean;
begin
Result := True;
end;
{------------------------------------------------------------------------------
Function: TQtCustomControl.Destroy
Params: None