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

List:       kfm-devel
Subject:    Re: (not) Adding a statusbar widget
From:       David Faure <faure () kde ! org>
Date:       2005-05-19 21:50:33
Message-ID: 200505192350.34320.faure () kde ! org
[Download RAW message or body]

On Thursday 19 May 2005 23:32, Koos Vriezen wrote:
> Hi,
> 
> I was wondering if from a kpart embedded in khtml, it would be possible
> to add a widget to konqueror's statusbar.
> For what I tried, everything seems to be ok(*), only the widget doesn't
> show up. It does work however, if the part is embeded by konqueror
> itself. Is this how it suppose to be?

KHTMLPart doesn't care for the StatusbarExtension of its child parts...
I think it should look for one, and call setStatusBar in it, to propagate the
statusbar that was set by konqueror into KHTMLPart's StatusbarExtension.
Hopefully konq will set it before KHTMLPart gets child parts...

> I get a valid statusbar
> pointer (according the code this is from the toplevel window)
... which is wrong for konqueror, since in konqueror there's a statusbar per view
(think of splitted views), instead of the kmainwindow-constructed statusbar.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

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