I'm trying to write a simple log viewer using Qt4's WebKit port/implementation. My HTML code looks like this:  http://pastie.org/613296  More specifically, I'm trying to find out how to call the add_message() function which is defined in...
With QtWebkit it is possible to expose C++ objects to Javascript via QWebFrame::addToJavaScriptWindowObject as described in https://stackoverflow.com/a/20685002/595937    Can the same thing be accomplished in Qt 5.4 using QtWebEngine?...
I have implemented the HTML-JS, this calls the C++ method from the JS using QtWebkit. I am able to do it successfully. Now, I want to send a callback to JavaScript window from the C++ method. How can I do so?  Here is my code.  #include <QtGui/QAp...
I need to make a loop of 3 times and 2 seconds in between each iteration. I tried these 3 options:  Option 1  var casper = require('casper').create({     verbose: false,     logLevel: 'debug' });  casper.start("http://google.com&#...
In my web app, I have a large collection of thumbnails, the user is able to select a thumbnail and client side recrop from the original image to recreate a new thumbnail.  That's fine, in my app, I just set the newly created image instantly to th...
Using QtWebkit's javascript bridge, I have created a class to interface the data in my web frame with the rest of my Qt code. it recognises the object, but none of its methods.  //executed with main window constructor void MainWindow::initJavascr...
I am trying to fill a html form using python and PyQt and QtWebkit. I already found various posts on how to execute javascript and do something similar however my problem is I never get to see the results... the input field simply won't display w...
My objective is to evaluate a JavaScript function in a QWebFrame, passing it references to multiple QWebElements.  I am already able to evaluate JavaScript in the frame with reference to a single QWebElement:  QWebElement element1; element1.evaluateJ...
Greeting  I have a problem with playing audio in qt webkit via a script tag or html 5 aduio in windows xp. I'm using visual studio 2013 and qt 5.5.1.  The following code in index.hpp not working in windows xp.  <script type="text/javascrip...
I have a question about extending browser based on QtWebkit. I would like to add custom elements tag. I googled and there was only one way mentioned - using JavaScript registerElement function.  Apart from it I could modify browser to support new tag...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.