[Qt] new qt patches
zeljko
zeljko at holobit.net
Sat Nov 4 21:39:48 CET 2006
On Saturday 04 November 2006 20:09, Felipe Monteiro de Carvalho wrote:
> Thanks, I am having trouble applying your patch. How did you create
> it? The prefered methods are "svn diff > myqtpatch.patch" or using
> Create Patch command from TortoiseSVN .
I'm always using diff -Nau originalcode newcode > diff.patch
you can patch it (if you are in qt sources directory) with
patch -p1 < newpatch.patch
>
> This e-mail only arrived 8 hours because it was sent due to some
> problems on the mailling list.
>
> The following comments you put on the code:
>
> + // Sets it´ s initial properties ... do we really need it here ?
> + QWidget_setGeometry(Widget, AWinControl.Left, AWinControl.Top,
> + AWinControl.Width, AWinControl.Height);
>
> Without this the initial position and size of the control will not be
> set. Where else would you put this code?
>
> +class procedure TQtWSScrollBar.SetParams(const AScrollBar:
> TCustomScrollBar); +var
> + QtScrollBar: TQtScrollBar;
> +begin
> + QtScrollBar := TQtScrollBar(AScrollBar.Handle);
> +// TODO: Check HeightForWidth() set here or we have lazarus bug ?
> +// AScrollBar.Width;
>
> I did not understand this comment. I also don´t know what
> HeightForWidth is suppose to do =)
More information about the Qt
mailing list