mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-11 05:40:45 +01:00
Qt: implemented nonmodal over modal form as sheet under macosx.
git-svn-id: trunk@35928 -
This commit is contained in:
parent
19dd891ca7
commit
83122b7533
@ -384,6 +384,10 @@ var
|
|||||||
begin
|
begin
|
||||||
AWidget := TQtWidget(AForm.Handle).Widget;
|
AWidget := TQtWidget(AForm.Handle).Widget;
|
||||||
{$IFDEF DARWIN}
|
{$IFDEF DARWIN}
|
||||||
|
QWidget_setParent(AWidget, QApplication_activeWindow());
|
||||||
|
QWidget_setWindowFlags(Widget.Widget, QtSheet or
|
||||||
|
GetQtBorderIcons(TCustomForm(AWinControl).BorderStyle,
|
||||||
|
TCustomForm(AWinControl).BorderIcons));
|
||||||
{$ELSE}
|
{$ELSE}
|
||||||
QWidget_setParent(AWidget, QApplication_desktop());
|
QWidget_setParent(AWidget, QApplication_desktop());
|
||||||
{$IFDEF MSWINDOWS}
|
{$IFDEF MSWINDOWS}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user