[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] KPDF KPart
From: David Boddie <david () boddie ! org ! uk>
Date: 2005-09-23 22:10:49
Message-ID: 200509240010.49777.david () boddie ! org ! uk
[Download RAW message or body]
On Wed, 21 Sep 2005 19:22:52, Rajeev J Sebastian wrote:
> On Wednesday 21 September 2005 7:14 pm, İsmail Dönmez wrote:
> > > On the other hand, I did have to use KApplication instead of
> > > QApplication. I guess this was why my code was segfaulting. I didn't
> > > have to change my KPart loading code after noticing David Boddie's
> > > (great!) tip to use KApplication.
> >
> > You need KApplication for almost all KDE classes ( except some parts of
> > KDEUI classes ).
>
> Thanks ! :):)
>
> OK ... so how do I load and show the standard toolbar/menubar for the KPDF
> Part ?
Uncomment the line in the source code I posted:
window.createGUI(part)
This should show the menus, but I can't guarantee that they'll appear in
the correct order. For some reason, the Help menu appeared at the left hand
end of the menu bar when I tried this.
David
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic