mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 11:30:28 +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
|
public
|
||||||
function horizontalScrollBar: TQtScrollBar;
|
function horizontalScrollBar: TQtScrollBar;
|
||||||
function verticalScrollBar: TQtScrollBar;
|
function verticalScrollBar: TQtScrollBar;
|
||||||
|
procedure setFocusPolicy(const APolicy: QtFocusPolicy); override;
|
||||||
procedure setHorizontalScrollBar(AScrollBar: TQtScrollBar);
|
procedure setHorizontalScrollBar(AScrollBar: TQtScrollBar);
|
||||||
procedure setVerticalScrollBar(AScrollBar: TQtScrollBar);
|
procedure setVerticalScrollBar(AScrollBar: TQtScrollBar);
|
||||||
procedure setScrollStyle(AScrollStyle: TScrollStyle);
|
procedure setScrollStyle(AScrollStyle: TScrollStyle);
|
||||||
@ -8979,6 +8980,11 @@ begin
|
|||||||
Result := FVScrollBar;
|
Result := FVScrollBar;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TQtAbstractScrollArea.setFocusPolicy(const APolicy: QtFocusPolicy);
|
||||||
|
begin
|
||||||
|
QWidget_setFocusPolicy(Widget, APolicy);
|
||||||
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
Function: TQtAbstractScrollArea.setHorizontalScrollbar
|
Function: TQtAbstractScrollArea.setHorizontalScrollbar
|
||||||
Params: None
|
Params: None
|
||||||
|
Loading…
Reference in New Issue
Block a user