mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 21:55:56 +02:00
Qt: small code formatting
git-svn-id: trunk@12185 -
This commit is contained in:
parent
430c74310a
commit
5e21b95eac
@ -188,8 +188,11 @@ end;
|
||||
}
|
||||
|
||||
procedure TQtWidgetSet.AppSetTitle(const ATitle: string);
|
||||
var
|
||||
W: WideString;
|
||||
begin
|
||||
// TODO
|
||||
W := GetUtf8String(ATitle);
|
||||
QCoreApplication_setApplicationName(@W);
|
||||
end;
|
||||
|
||||
procedure TQtWidgetSet.AttachMenuToWindow(AMenuObject: TComponent);
|
||||
@ -210,6 +213,7 @@ begin
|
||||
R1.Right := R.Right;
|
||||
QtMenuBar.setGeometry(R1);
|
||||
QtMainWindow.setMenuBar(QMenuBarH(QtMenuBar.Widget));
|
||||
QtMainWindow.setVisible(True);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
@ -294,7 +298,7 @@ end;
|
||||
|
||||
procedure TQtWidgetSet.DCRedraw(CanvasHandle: HDC);
|
||||
begin
|
||||
|
||||
// TODO: implement me
|
||||
end;
|
||||
|
||||
procedure TQtWidgetSet.SetDesigning(AComponent: TComponent);
|
||||
|
Loading…
Reference in New Issue
Block a user