mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-26 10:10:34 +01:00
qt: misc
git-svn-id: trunk@11629 -
This commit is contained in:
parent
b68e63919d
commit
9f4c0ddb00
@ -1524,11 +1524,11 @@ begin
|
||||
Msg.Msg := LM_SIZE;
|
||||
|
||||
case QWidget_windowState(Widget) of
|
||||
QtWindowMinimized: Msg.SizeType := SIZEICONIC;
|
||||
QtWindowMaximized: Msg.SizeType := SIZEFULLSCREEN;
|
||||
QtWindowFullScreen: Msg.SizeType := SIZEFULLSCREEN;
|
||||
QtWindowMinimized: Msg.SizeType := SIZEICONIC;
|
||||
QtWindowMaximized: Msg.SizeType := SIZEFULLSCREEN;
|
||||
QtWindowFullScreen: Msg.SizeType := SIZEFULLSCREEN;
|
||||
else
|
||||
Msg.SizeType := SIZENORMAL;
|
||||
Msg.SizeType := SIZENORMAL;
|
||||
end;
|
||||
|
||||
Msg.SizeType := Msg.SizeType or Size_SourceIsInterface;
|
||||
|
||||
@ -286,7 +286,13 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
class procedure TQtWSCustomForm.ShowModal(const ACustomForm: TCustomForm);
|
||||
begin
|
||||
|
||||
{
|
||||
Setting modal flags is done in TQtWSCustomControl.ShowHide
|
||||
Since that flags has effect only when Widget is not visible
|
||||
|
||||
We can ofcource hide widget, set flags here and then show it, but we dont
|
||||
want window flickering :)
|
||||
}
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user