Home

Scripting Example

This example demonstrates the combination of Javascript and a trivial plugin, and the use of a plugin in combination with a form.

If the browser supports scripting plugins, and everything is set up correctly, the plugin below should react to mouse clicks and drags by changing its text. The About... button should pop up an About Qt dialog. The second plugin instance, below the horizontal line, should display the word QtBrowserPlugin, and pressing the Go! button should navigate the browser to a search for this word at trolltech.com.


Implementation:

    /****************************************************************************
    **
    ** Copyright (C) 2007 QCake. All rights reserved.
    **
    ****************************************************************************/


Copyright © 2007 QCake Dokumentation
Qt Solutions