mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 06:58:17 +02:00
Qt: TQtCustomControl should pass arrow keys to lcl.
git-svn-id: trunk@37241 -
This commit is contained in:
parent
1e3ca58978
commit
ddd0657787
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user