mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 04:19:09 +02:00
Qt: fixed bug where TQtAbstractScrollArea descendants cannot be focused in any way if TabStop=False
git-svn-id: trunk@23692 -
This commit is contained in:
parent
db764f04ed
commit
2cc6b63564
@ -339,6 +339,7 @@ type
|
||||
public
|
||||
function horizontalScrollBar: TQtScrollBar;
|
||||
function verticalScrollBar: TQtScrollBar;
|
||||
procedure setFocusPolicy(const APolicy: QtFocusPolicy); override;
|
||||
procedure setHorizontalScrollBar(AScrollBar: TQtScrollBar);
|
||||
procedure setVerticalScrollBar(AScrollBar: TQtScrollBar);
|
||||
procedure setScrollStyle(AScrollStyle: TScrollStyle);
|
||||
@ -8979,6 +8980,11 @@ begin
|
||||
Result := FVScrollBar;
|
||||
end;
|
||||
|
||||
procedure TQtAbstractScrollArea.setFocusPolicy(const APolicy: QtFocusPolicy);
|
||||
begin
|
||||
QWidget_setFocusPolicy(Widget, APolicy);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Function: TQtAbstractScrollArea.setHorizontalScrollbar
|
||||
Params: None
|
||||
|
Loading…
Reference in New Issue
Block a user