Hi, I think extensions are one of the greatest new features in Scribus. The attached file shows how PyQt can extend the GUI.
The only problems are - PyQt thinks that qApp.mainWidget() is a QWidget instead of a QMainWindow - only the file-toolbar is recognized as a QToolBar, the other toolbars are casted to QDockWindow - the startup script cannot access qApp.mainWidget() because the splash screen is still shown (Even cooler would be to wrap the Scribus classes with sip.) BTW, is it possible to run an extension in a background thread while Scribus runs without blocking the GUI? I have written an XMLRPC-server which exports the Scripter API to control Scribus from outside and with other languages. Thanks again for your work :-) Greets Henning -------------- next part -------------- A non-text attachment was scrubbed... Name: qtextension.py Type: text/x-python Size: 2676 bytes Desc: not available Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20050214/62df9967/attachment.py
