[Qtwebengine] Handle frames and web forms with QWebEngine
NoRulez
norulez at me.com
Tue Feb 16 17:17:33 CET 2016
Since it isn't documented very well.
Could you please give me a small example.
Best regards
> Am 16.02.2016 um 00:17 schrieb NoRulez <norulez at me.com>:
>
> But i doesn't have access to modify the html site, I have only an url.
>
> I don't know how to work with QWebChannel, since I'm not familiar with JavaScript and I doesn't find out which function I can use from the qwebchannel.js
>
> Could you please help me?
> Sorry but it was much easier with WebKit. :-(
>
> Best Regards
>
>>> Am 15.02.2016 um 22:10 schrieb Allan Sandfeld Jensen <allan.jensen at theqtcompany.com>:
>>>
>>> On Thursday 04 February 2016, NoRulez wrote:
>>> Hello,
>>>
>>> what is the preferred way to handle web forms (iterate over it like
>>> QWebCollection does in QWebKit), search for frames by name and get
>>> notified when a frame is created? (Was a signal in QWebKit)
>>>
>>> Thanks in advance
>> I would suggest handling web-forms it in JavaScript. To get a signal from
>> JavaScript, you should check out QtWebChannel, with that you can install
>> QObjects in DOM then call any function from an event listener.
>>
>> Best regards
>> `Allan
>> --
>>
>> The Qt Company
>> Rudower Chausse 13, 12489 D-Berlin
>>
>> The Qt Company is a group company of Digia Plc,
>> Valimotie 21, FI-00380 Helsinki Finland
> _______________________________________________
> QtWebEngine mailing list
> QtWebEngine at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qtwebengine
More information about the QtWebEngine
mailing list