[ROOT] QtRoot

From: Peter Lipa (lipa@nsma.arizona.edu)
Date: Fri Jan 25 2002 - 21:56:29 MET


-----Original Message-----
From: Thane [mailto:thane@neuralynx.com]
Sent: Friday, January 25, 2002 10:45 AM
To: fine@bnl.gov
Cc: Peter Lipa
Subject: QtRoot


Hi Valeri,

I work with Peter Lipa on a project using (or trying to use) Root to analyze
neurological data.  He mentioned that you called him yesterday and wanted
feedback on your alpha release of libQt.dll.

First let me say thanks for a much needed addition to Root.  I worked for a
while with Bertrand Bellenot on his Root/Win/GDK problem.  I became
convinced that this was the wrong approach, and Peter and I both believe
that Qt is the best approach in terms of stability, performance, and the
event loop mess.  OK, here are a few problems that I found:

(I'm running Windows 2000 on a 600 Mhz Pentium 3.)
I opened Root and typed the following
TF1 f("asdf","sin(x)/x",-20,20); f.Draw()

1.  Root crashes when I click the "Save As" on the canvas menu.  Dialog box:
"Unhandled exception in root.exe (LibQt.dll).  Access violation."  The debug
call stack hit an Int 3 in QValueListPrivate().
2.  Clicking on the "Copy" command from the canvas menu caused Root to crash
with an identical error to that above.
3.  I can rescale the x-axis, but not the y-axis.
4.  When getting an event from the canvas, the y-scaling is off by a
constant.
For example:
{
// file: GetEvent.C
int iy = gPad->GetEventY();
cout << "py1=" << gPad->PixeltoY(iy) << endl;
}
TExec ex("ex",".x c:\\neurolab\\macros\\Samples\\GetEvent.C");
ex.Draw();

I think this last problem has nothing to do with your DLL, but I thought I'd
pass it on.

That's it for now.  Thanks again for your effort.  Peter and I would be glad
to help out in this project -- just let us know what you need.

Cheers,

--Thane

-----------------------------
Thane Plummer, Ph.D.
Neuralynx, Inc.
2434 N. Pantano Rd.
Tucson, AZ  85715
(520) 722-8144
(520) 722-8163 fax
-----------------------------


"The fishermen know the sea is dangerous
and the storm is terrible,
but they have never found these dangers
sufficient reason for remaining ashore."

Vincent Van Gogh



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:40 MET