Qt: small code formatting

git-svn-id: trunk@12185 -
This commit is contained in:
paul 2007-09-26 07:57:45 +00:00
parent 430c74310a
commit 5e21b95eac

View File

@ -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);