summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/index.html
blob: bed4b78752189aa6275f81df6c50a9a5ff01da9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!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 KHTMLPart.</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 QObject 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 QPixmap values.</td></tr>
<tr><td><a href="netaccess">netaccess</a></td>
<td>Illustrates the bindings to KIO::NetAccess.</td></tr>
<tr><td><a href="listview">listview</a></td>
<td>Creates a simple KListView.</td></tr>
<tr><td><a href="frame">frame</a></td>
<td>Shows off QFrame support and the use of enums.</td></tr>
<tr><td><a href="timer">timer</a></td>
<td>Creates a flashing LED using QTimer.</td></tr>
<tr><td><a href="actions">Actions</a></td>
<td>A simple KAction 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">QComboBox</a></td>
<td>A simple demo of QComboBox.</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>