On Thu May 17 18:04:52 BST 2007, Andreas Pakulat wrote: > On 17.05.07 15:35:00, Detlev Offenbach wrote:
> > I'd like to integrate Qt-Designer into eric4 for version 4.1. In order to > > do that I would need the class 'QDesignerComponents' to be wrapped, > > although it is not documented in the Qt help pages. Do you think, that > > could be done? > > I guess just wrapping QDesignerComponents is not enough, at least in C++ > you need the shared_global_p.h from lib/shared (in designer src) and > qdesigner_integration_p.h from the same dir. Maybe these don't need to be wrapped at all. There's probably no need to do everything in Python. Having said that, I'm not sure why you need shared_global.h. I only have the faintest idea of what QDesignerIntegration does, so I couldn't say whether you could avoid using it. I just don't know how all the pieces interact. > Then the setup is done like this: [...] > Then all one needs to do is create a formwindow, set its contents and > filename, create a QMdiArea and add the formwindow as subwindow. [...] > PS: The setup-stuff was originally written by Roberto Raggi, the author > of the Qt4 designer. Especially the new qdesigner_internal-line is > important. Unlike the Qt 3 version, Qt Designer in Qt 4 was supposed to be designed so that it could be integrated into other environments, so I'm slightly surprised that you still require private headers to get it working with KDevelop. :-( David _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
