Quantcast
Channel: Qt DevNet forums: Qt WebKit
Viewing all articles
Browse latest Browse all 542

Sending external events to QtWebView components

$
0
0
All, Here is my requirement. 1. My Qt WebKit applictaion loads the html page which has Html Buttons and javascript. 2. An external event [comes from different process via sockets] should be captured and sent to this QtWebkit html page. Those events [JSON format] will be processed through Javascript and action will be taken in the html flow. Will it be possible using in QT? If so what is the approach [ classes i should look into]? And the screen display is controlled by different process and and user inputs [button clicks] will not be available to Qt webview directly. But they can be available to [x,y] coordinate to Qt application. If so, how these clicks can be processed inside the application. Please guide me the approach. Inotially i though of using Node.JS with websockets support where the external events [JSON] will be given to html loaded through QT. Unfortunately Node.JS and websockets support is not available, so i have do find different approach to receive the events from various processes.

Viewing all articles
Browse latest Browse all 542

Trending Articles