[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Cervisia KPart troubles
From: Simon Hausmann <hausmann () kde ! org>
Date: 2001-06-27 6:56:27
[Download RAW message or body]
On Tue, Jun 26, 2001 at 08:11:53PM +0200, David Faure wrote:
> On Tuesday 26 June 2001 21:10, Richard Moore wrote:
> > I'm having some problems figuring out how to get the Cervisia part to work
> > properly. As you can see in the screenshot at
> > http://www.ipso-facto.demon.co.uk/development/konq-cervisia.png I have it
> > embedding in Konq - unfortunately none of the actions are visible. Looking at
> > the debug output tells me that createGUI is being called with 0L for some
> > reason. At the moment the code only defines the KParts/ReadOnly part service
> > type, I tried using Browser/View but then I got nothing at all. Has anyone
> > for any idea what's going on?
>
> I think so. You get no GUI with a plain readonlypart because... indeed Konqueror
> calls createGUI(0L) instead of createGUI(part) (see KonqMainWindow::slotPartActivated).
> I discussed this with Simon some time ago, and we both couldn't remember why it
> was done this way (except the fact that a part without a browser extension hasn't
> been thought for embedding into konq, so it may have too much or not enough GUI).
> Hmm, for instance koffice parts used to not have a browser extension, and we didn't want
> the full GUI to be built. But this is fixed in koffice now, maybe it's ok to go for
> createGUI( part ) in konqueror. Simon ?
Let's give it a try ;-)
(IMHO)
Bye,
Simon
P.S.: For all non-BE-exporting parts we crash with 2.1 anyway (d'oh!) :-(
Yes, it's fixed in HEAD and in the beta :)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic