EQL5/examples/M-modules/webkit
2017-02-21 10:06:50 +01:00
..
Examples-Browser for MinGW: change "Q_OS_WIN" to "Q_CC_MSVC" (otherwise MinGW won't link plugins) 2017-02-21 10:06:50 +01:00
lib for MinGW: change "Q_OS_WIN" to "Q_CC_MSVC" (otherwise MinGW won't link plugins) 2017-02-21 10:06:50 +01:00
Tic-Tac-Toe for MinGW: change "Q_OS_WIN" to "Q_CC_MSVC" (otherwise MinGW won't link plugins) 2017-02-21 10:06:50 +01:00
ui add (port of Qt) example "camera" (multimedia widgets); lots of minor revisions; 2016-12-08 01:23:14 +01:00
dom.lisp add example "video-graphics-item"; add QIdentityProxyModel, QItemEditorCreatorBase; various revisions; 2016-12-20 16:40:05 +01:00
inspector.lisp port of EQL/Qt4 to Qt5 2016-11-25 23:30:38 +01:00
plugin-widget.htm port of EQL/Qt4 to Qt5 2016-11-25 23:30:38 +01:00
plugin-widget.lisp add example "video-graphics-item"; add QIdentityProxyModel, QItemEditorCreatorBase; various revisions; 2016-12-20 16:40:05 +01:00
qt.lisp port of EQL/Qt4 to Qt5 2016-11-25 23:30:38 +01:00
README-GLUE-CODE.txt port of EQL/Qt4 to Qt5 2016-11-25 23:30:38 +01:00
README.txt add 'search class' to "gui.lisp"; small revesions; 2017-01-03 14:27:34 +01:00
strip-html.lisp add example "video-graphics-item"; add QIdentityProxyModel, QItemEditorCreatorBase; various revisions; 2016-12-20 16:40:05 +01:00
webkit-bridge.htm port of EQL/Qt4 to Qt5 2016-11-25 23:30:38 +01:00
webkit-bridge.lisp add example "video-graphics-item"; add QIdentityProxyModel, QItemEditorCreatorBase; various revisions; 2016-12-20 16:40:05 +01:00

EQL WebKit examples
===================


This enables any application to embed web content, which can be fully
controlled from Lisp.

Or, if you already know Common Lisp, and have some basic knowledge of
Html/JavaScript, you can easily create a GUI, without learning much of
Qt, and without relying on a web-server.

A list of features:

1) full Lisp access to QtWebKit, see e.g. QWebElement in Qt Assistant;
   a simple example:

       document.getElementById("x")        // JavaScript
       (|findFirstElement| (frame) "#x") ;  Lisp

   (passing QWebElements between JavaScript and Lisp is just native)

2) JavaScript / Lisp bridge: call Lisp functions directly from Html/JS;
   see QWebInspector [Scripts] and [Console] for debugging and executing JS;
   (test your Lisp functions by directly calling them from the QWebInspector
   console)

3) embed your own custom QWidgets in Html (see "plugin-widget" example),
   as they integrate natively here (either written in EQL or Qt/C++,
   see QLOAD-C++)


"Html Utils"
============

See directory "Tic-Tac-Toe/" for an example of a plain WebKit application,
using only some simple convenience utility functions, defined in
"Tic-Tac-Toe/h-utils.lisp".