[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Qt designer & KDE
From:       "Daniel O'Connor" <darius () dons ! net ! au>
Date:       2008-01-28 10:18:00
Message-ID: 200801282036.09461.darius () dons ! net ! au
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

["signature.asc" (application/pgp-signature)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic