|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<html>
|
|
|
|
<head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
|
|
<title>KJSEmbed Examples</title>
|
|
|
|
<link href="../kjsembed.css" rel="stylesheet" type="text/css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>KJSEmbed Examples</h1>
|
|
|
|
This directory contains a number of example files that illustrate the
|
|
|
|
various features of KJSEmbed.
|
|
|
|
|
|
|
|
<h3>Demos</h3>
|
|
|
|
<p>
|
|
|
|
This section contains examples that show how the features of KJSEmbed
|
|
|
|
can be combined to create useful tools.
|
|
|
|
</p>
|
|
|
|
<center>
|
|
|
|
<table>
|
|
|
|
<tr><td><a href="buttonmaker">ButtonMaker</a></td>
|
|
|
|
<td>An application for creating buttons for web sites.</td></tr>
|
|
|
|
<tr><td><a href="envelopemaker">EnvelopeMaker</a></td>
|
|
|
|
<td>An application for creating printed envelopes.</td></tr>
|
|
|
|
<tr><td><a href="xmlgui">xmlgui</a></td>
|
|
|
|
<td>Creates a complete KDE GUI shell using XMLGUI and KStdAction.</td></tr>
|
|
|
|
<tr><td><a href="readonlypart">readonlypart</a></td>
|
|
|
|
<td>A simple web browser that embeds TDEHTMLPart.</td></tr>
|
|
|
|
<tr><td><a href="readwritepart">readwritepart</a></td>
|
|
|
|
<td>Shows how to embed a read-write KPart.</td></tr>
|
|
|
|
<tr><td><a href="calc">calc</a></td>
|
|
|
|
<td>A simple calculator application.</td></tr>
|
|
|
|
<tr><td><a href="grepdialog">grepdialog</a></td>
|
|
|
|
<td>Loads .ui files to provide a GUI for grep.</td></tr>
|
|
|
|
<tr><td><a href="docviewer">docviewer</a></td>
|
|
|
|
<td>KJSEmbed documentation browser.</td></tr>
|
|
|
|
<tr><td><a href="sax">SAX</a></td>
|
|
|
|
<td>Demos that show how to use the SAX API from JS.</td></tr>
|
|
|
|
<tr><td><a href="dcop">DCOP</a></td>
|
|
|
|
<td>Using DCOP from scripts.</td></tr>
|
|
|
|
<tr><td><a href="cmdline">Command Line</a></td>
|
|
|
|
<td>An interactive command-line prompt for KJSEmbed implemented as a script.</td></tr>
|
|
|
|
</table>
|
|
|
|
</center>
|
|
|
|
|
|
|
|
<h3>Advanced Demos</h3>
|
|
|
|
<p>
|
|
|
|
This section contains examples that illustrate some of the more
|
|
|
|
advanced features of KJSEmbed.
|
|
|
|
</p>
|
|
|
|
<center>
|
|
|
|
<table>
|
|
|
|
<tr><td><a href="htmlinfo">htmlinfo</a></td>
|
|
|
|
<td>Reports information about an HTML file.</td></tr>
|
|
|
|
<tr><td><a href="imageinfo">imageinfo</a></td>
|
|
|
|
<td>Various scripts using the Image builtin object.</td></tr>
|
|
|
|
<tr><td><a href="html2text">html2text</a></td>
|
|
|
|
<td>Uses the KParts::Plugin to extend KWrite.</td></tr>
|
|
|
|
<tr><td><a href="eventhandling">eventhandling</a></td>
|
|
|
|
<td>Two demos that show off event handling, including
|
|
|
|
the standard scribble demo.</td></tr>
|
|
|
|
<tr><td><a href="sql">SQL Support</a></td>
|
|
|
|
<td>Accessing SQL databases.</td></tr>
|
|
|
|
</table>
|
|
|
|
</center>
|
|
|
|
|
|
|
|
<h3>Examples</h3>
|
|
|
|
<p>
|
|
|
|
This section contains examples that illustrate particular KJSEmbed
|
|
|
|
facilities.
|
|
|
|
</p>
|
|
|
|
<center>
|
|
|
|
<table>
|
|
|
|
<tr><td><a href="customwidget">customwidget</a></td>
|
|
|
|
<td>Creates a simple form directly from Javascript.</td></tr>
|
|
|
|
<tr><td><a href="treeview">treeview</a></td>
|
|
|
|
<td>Two examples that create a graphical tree. One
|
|
|
|
from a JS data structure, the other from the widget tree of a ui file.</td></tr>
|
|
|
|
<tr><td><a href="qobject-dom">qobject-dom</a></td>
|
|
|
|
<td>Illustrates the TQObject DOM API.</td></tr>
|
|
|
|
<tr><td><a href="connect-cpp">connect-cpp</a></td>
|
|
|
|
<td>Connects a signal to slot.</td></tr>
|
|
|
|
<tr><td><a href="connect">connect</a></td>
|
|
|
|
<td>Connects signals of various types to JS methods.</td></tr>
|
|
|
|
<tr><td><a href="imageviewer">imageviewer</a></td>
|
|
|
|
<td>Illustrates the use of TQPixmap values.</td></tr>
|
|
|
|
<tr><td><a href="netaccess">netaccess</a></td>
|
|
|
|
<td>Illustrates the bindings to TDEIO::NetAccess.</td></tr>
|
|
|
|
<tr><td><a href="listview">listview</a></td>
|
|
|
|
<td>Creates a simple TDEListView.</td></tr>
|
|
|
|
<tr><td><a href="frame">frame</a></td>
|
|
|
|
<td>Shows off TQFrame support and the use of enums.</td></tr>
|
|
|
|
<tr><td><a href="timer">timer</a></td>
|
|
|
|
<td>Creates a flashing LED using TQTimer.</td></tr>
|
|
|
|
<tr><td><a href="actions">Actions</a></td>
|
|
|
|
<td>A simple TDEAction demo.</td></tr>
|
|
|
|
<tr><td><a href="builtins">Built-In Messages</a></td>
|
|
|
|
<td>Demonstrates the built-in message dialogs.</td></tr>
|
|
|
|
<tr><td><a href="imagetweak">Image Tweak</a></td>
|
|
|
|
<td>Tweaking images.</td></tr>
|
|
|
|
<tr><td><a href="imagefun">Image Fun</a></td>
|
|
|
|
<td>More fun with images</td></tr>
|
|
|
|
<tr><td><a href="invaders">Space Invaders</a></td>
|
|
|
|
<td>A space invaders game.</td></tr>
|
|
|
|
<tr><td><a href="kjsuic">JS UIC</a></td>
|
|
|
|
<td>An easy way to deal with UI files.</td></tr>
|
|
|
|
<tr><td><a href="multifile">Multi-file Scripts</a></td>
|
|
|
|
<td>Multi-file Scripts.</td></tr>
|
|
|
|
<tr><td><a href="opaquevalues">Opaque Values</a></td>
|
|
|
|
<td>Opaque types.</td></tr>
|
|
|
|
<tr><td><a href="stdicons">Standard Icons</a></td>
|
|
|
|
<td>Loading standard icons.</td></tr>
|
|
|
|
<tr><td><a href="combobox">TQComboBox</a></td>
|
|
|
|
<td>A simple demo of TQComboBox.</td></tr>
|
|
|
|
<tr><td><a href="multipart">Embedding several KParts</a></td>
|
|
|
|
<td>Shows how to embed multiple parts in the same script.</td></tr>
|
|
|
|
<tr><td><a href="livedata">Writing data directly to a KPart</a></td>
|
|
|
|
<td>Shows how to send data directly to a part, rather than viewing a file.</td></tr>
|
|
|
|
</table>
|
|
|
|
</center>
|
|
|
|
<hr>
|
|
|
|
</body>
|
|
|
|
</html>
|