Using Qt WebKit
I want to create a C++ app with a HTML page attached to it. I was succesfull in creating the project and add a HTML page and was able to run it. I can now see my HTML page with buttons and text in it.
Now i want to be able to recieve the HTML button click events in the C++ code. How can i do that?
I am new to Qt and WebKit. So please help. I looked at the FormExtractor example in Qt web, but that doesn't talk about how to recive HTML button click events in C++ code.
Thanks in advance.
Hello. Take a look at this:
Then you could do:
@<button onclick="my_object.buttonPressed()">The button</button>@
Yes. See my first post.