> Hi
>
> Two questions :
>
> 1. Is it possible to use an import command in a qt3 designer code ? (I
> know
> that it is possible to write python inside the braces -- but is it
> possible
> to use an import command for some rather large libraries I wrote that I
> need to access ?).

You can include import statements in Designer's comment dialog by
prefixing them with "Python: ". This is covered in the PyQt documentation.

> 2. In the same vein, how does one embed a runtime plot in a qt3 UI ? It
> will
> need to be a python solution since I am using python libraries to acquire
> the data.

Have a look at PyQwt which is a set of Python bindings for the Qt-based
Qwt plotting library.

Phil

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to