Matt,
That sounds frustrating.
Jeremy,
Is there some reason we can't add:
import veusz.setting.stylesheet
to the top of
veusz.application
and avoid this sort of problem?
Bryan
--
Bryan Harris
Research Engineer
Structures and Materials Evaluation Group
brywilharris+...@gmail.com
http://www.udri.udayton.edu/
(937) 229-5561
On Thursday 27 August 2009 14:20:27 Matt McCormick wrote:
Matt McCormick m...@... writes:
I am trying to build a PyQt4 application that uses veusz, but I am having
difficulties. I am a relative newbie to PyQt4 and Veusz, but here is a
Hello World that shows what I am trying to do.
#!/usr/bin/env python
# A hello world example of using veusz in a PyQt4 app.
OK, finally figured it out.
...
app = QtGui.QApplication(sys.argv)
...
Turns out that doesn't work. Veusz need some initialization functions.
The following is needed instead. Note stylesheet has to be imported before
Application.
import veusz.setting.stylesheet
from veusz.application import Application
app = Application(sys.argv)
___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss
___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss