Web view is a widget.
Data / event passing between Qt and JS works in a simple example.

See http://qt-project.org/doc/qt-4.8/qtwebkit-bridge.html for more info.