[webkit-qt] Fwd: Get the picture from a QWebElement?

Richard Moore rich at kde.org
Wed Apr 21 06:23:29 PDT 2010


On Wed, Apr 21, 2010 at 2:20 PM, Sylvain Pointeau
<sylvain.pointeau at gmail.com> wrote:
> I would prefer to not download it separately (imagine a protection that need
> to enter a user and password),

If you use the same QNetworkAccessManager as the QtWebPage does then
that will work fine. It will also most likely come from the cache if
you do that.

Rich.

> is it possible to access all those informations through QWebkit?
>
> Best regards,
> Sylvain
> On Wed, Apr 21, 2010 at 3:14 PM, Richard Moore <rich at kde.org> wrote:
>>
>> ---------- Forwarded message ----------
>> From: Richard Moore <richmoore44 at gmail.com>
>> Date: Wed, Apr 21, 2010 at 2:03 PM
>> Subject: Re: [webkit-qt] Get the picture from a QWebElement?
>> To: webkit-qt at lists.webkit.org
>>
>>
>> On Wed, Apr 21, 2010 at 1:45 PM, Sylvain Pointeau
>> <sylvain.pointeau at gmail.com> wrote:
>> > Hi,
>> > Do you know if we can get the picture and all informations (size in px,
>> > size
>> > in KB etc) from a QWebElement?
>> > (supposing that this QWebElement is a <img ...>)
>>
>> You can easily query the src attribute using QWebElement and get those
>> yourself.
>>
>> Regards
>>
>> Rich.
>> _______________________________________________
>> webkit-qt mailing list
>> webkit-qt at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>
>
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>
>


More information about the webkit-qt mailing list