[ROOT] Qt ROOT

From: Yuriy (yuriypro@mail.ru)
Date: Fri Oct 19 2001 - 19:05:10 MEST


Dear ROOTers, I am trying to combine Qt widgets with ROOT histograms.
I wrote the attachet code. If I use only one widget everithing is
fine, but when I added the second (please, see source code) one ROOT
told me the following:

--------------------
Error in <RootX11ErrorHandler>: BadWindow (invalid Window parameter) (XID: 25165830)
Error in <RootX11ErrorHandler>: BadWindow (invalid Window parameter) (XID: 25165830)
Error in <RootX11ErrorHandler>: BadDrawable (invalid Pixmap or Window parameter)
      (XID: 25165830)
Error in <RootX11ErrorHandler>: BadWindow (invalid Window parameter) (XID: 25165830)
--------------------

I get WID via winId() method of the QWidget. Why it is OK with one
window, but if there are several widgets ROOT starts show an error?

Thank you.

Regards,
Yuriy Prokazov.




This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:03 MET