[PyQt] Qt designer & KDE

Daniel O'Connor darius at dons.net.au
Mon Jan 28 10:06:00 GMT 2008

On Mon, 28 Jan 2008, Andreas Pakulat wrote:
> On 28.01.08 14:59:42, Daniel O'Connor wrote:
> > This might be OT but any answers would be greatly appreciated..
> >
> > What is the canonical way to build a KDE application using a GUI
> > designer? I've tried both Qt designer and kdevdesigner but they
> > both generate QMainWindow classes and I can't see how to change
> > this (baring editing the code pyuic generates which seems like a
> > kludge)
> Use Qt4/KDE4 or rewrite the .ui file with an editor. In Qt4/KDE4 you
> can apply the .ui file to a KMainWindow instead of a QMainWindow.

Hmm the Qt4 version does look much nicer :)
No KDE4 in FreeBSD yet though :(

> I don't know how good that works currently, but I did have a
> KMainWindow template created from an empty QMainWindow template. Just
> put it under $HOME/.designer/templates and it will show up.

OK I'll try that - I did try and create a template but it said it 
couldn't (great non specific error message :-/ )

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080128/dc99131f/attachment.bin

More information about the PyQt mailing list