[PyQt] PyQt4 feature request
david at boddie.org.uk
Thu May 17 20:30:00 BST 2007
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
> 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
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
More information about the PyQt