mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-10 12:37:18 +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
|
||||
AWidget := TQtWidget(AForm.Handle).Widget;
|
||||
{$IFDEF DARWIN}
|
||||
QWidget_setParent(AWidget, QApplication_activeWindow());
|
||||
QWidget_setWindowFlags(Widget.Widget, QtSheet or
|
||||
GetQtBorderIcons(TCustomForm(AWinControl).BorderStyle,
|
||||
TCustomForm(AWinControl).BorderIcons));
|
||||
{$ELSE}
|
||||
QWidget_setParent(AWidget, QApplication_desktop());
|
||||
{$IFDEF MSWINDOWS}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user