mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 05:19:31 +02:00
Qt: implemented TQtWidgetSet.RadialPie()
git-svn-id: trunk@32264 -
This commit is contained in:
parent
0c3b1a74a1
commit
5740e98493
@ -445,6 +445,14 @@ begin
|
||||
end;
|
||||
end; {TQtWidgetSet.PromptUser}
|
||||
|
||||
function TQtWidgetSet.RadialPie(DC: HDC; x1, y1, x2, y2, Angle1, Angle2: Integer
|
||||
): Boolean;
|
||||
begin
|
||||
Result := IsValidDC(DC);
|
||||
if Result then
|
||||
QPainter_drawPie(TQtDeviceContext(DC).Widget, x1, y1, x2, y2, Angle1, Angle2);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Function: RawImage_CreateBitmaps
|
||||
Params: ARawImage:
|
||||
|
@ -65,7 +65,7 @@ function PromptUser(const DialogCaption : string;
|
||||
DefaultIndex : LongInt;
|
||||
EscapeResult : LongInt) : LongInt; override;
|
||||
|
||||
|
||||
function RadialPie(DC: HDC; x1, y1, x2, y2, Angle1, Angle2: Integer): Boolean; override;
|
||||
function RawImage_CreateBitmaps(const ARawImage: TRawImage; out ABitmap, AMask: HBitmap; ASkipMask: Boolean = False): Boolean; override;
|
||||
|
||||
function RawImage_DescriptionFromBitmap(ABitmap: HBITMAP; out ADesc: TRawImageDescription): Boolean; override;
|
||||
|
Loading…
Reference in New Issue
Block a user