mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 10:19:36 +02:00
Qt: added TQtWidget.testAttribute() function
git-svn-id: trunk@36908 -
This commit is contained in:
parent
e848cfc909
commit
8d4671b52a
@ -302,6 +302,7 @@ type
|
||||
procedure setUpdatesEnabled(const AEnabled: Boolean);
|
||||
procedure setWindowState(AState: QtWindowStates);
|
||||
procedure sizeHint(size: PSize);
|
||||
function testAttribute(const AAttribute: QtWidgetAttribute): boolean;
|
||||
function windowFlags: QtWindowFlags;
|
||||
function windowModality: QtWindowModality;
|
||||
property ChildOfComplexWidget: TChildOfComplexWidget read FChildOfComplexWidget write FChildOfComplexWidget;
|
||||
@ -4449,6 +4450,11 @@ begin
|
||||
QWidget_sizeHint(Widget, size);
|
||||
end;
|
||||
|
||||
function TQtWidget.testAttribute(const AAttribute: QtWidgetAttribute): boolean;
|
||||
begin
|
||||
Result := QWidget_testAttribute(Widget, AAttribute);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Function: TQtWidget.QtKeyToLCLKey
|
||||
Params: None
|
||||
|
Loading…
Reference in New Issue
Block a user