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...
I am trying to create an HTML GUI for an application using Qt's WebKit... so far everything is going smooth with a minor problem, I don't want people to be able to drag and drop images from my GUI. I have disabled text selection using a small...
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&#...
I have a Qt application that launches Webviews using QWebChannel.  In these views, I have the JavaScript doing some stuff in order to position/resize the window depending on the screen size. The screen object is supposed to give this kind of informat...
Is there a programmatic (since i want to do it automatically at runtime) way to see how much memory a webpage uses when running it through PhantomJs?  I am also using casperjs if that could be helpful. I have searched a lot but haven't found any...
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...
I was trying to get browser description using JavaScript, and got strange result:  productSub: 20100101 # When I open it with my Mozila FF browser productSub: 20030107 # when I open it with PyQt4  vendorSub: # nothing in here with my Mozila FF vendor...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.