From kfm-devel Thu May 19 21:50:33 2005 From: David Faure Date: Thu, 19 May 2005 21:50:33 +0000 To: kfm-devel Subject: Re: (not) Adding a statusbar widget Message-Id: <200505192350.34320.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kfm-devel&m=111653944032719 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).