summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/README
blob: ce89dc9e108eef9622bb7f9d5f7ac22375fa87c1 (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
KJSEmbed Examples

This directory contains a number of example files that illustrate the various
features of KJSEmbed.

Demos

This section contains examples that show how the features of KJSEmbed can be
combined to create useful tools.

ButtonMaker   An application for creating buttons for web sites.               
EnvelopeMaker An application for creating printed envelopes.                   
xmlgui        Creates a complete KDE GUI shell using XMLGUI and KStdAction.    
readonlypart  A simple web browser that embeds KHTMLPart.                      
readwritepart Shows how to embed a read-write KPart.                           
calc          A simple calculator application.                                 
grepdialog    Loads .ui files to provide a GUI for grep.                       
docviewer     KJSEmbed documentation browser.                                  
SAX           Demos that show how to use the SAX API from JS.                  
DCOP          Using DCOP from scripts.                                         
Command Line  An interactive command-line prompt for KJSEmbed implemented as a 
              script.                                                          
                                                                               
Advanced Demos

This section contains examples that illustrate some of the more advanced
features of KJSEmbed.

htmlinfo      Reports information about an HTML file.                          
imageinfo     Various scripts using the Image builtin object.                  
html2text     Uses the KParts::Plugin to extend KWrite.                        
eventhandling Two demos that show off event handling, including the standard   
              scribble demo.                                                   
SQL Support   Accessing SQL databases.                                         
                                                                               
Examples

This section contains examples that illustrate particular KJSEmbed facilities.

customwidget       Creates a simple form directly from Javascript.             
treeview           Two examples that create a graphical tree. One from a JS    
                   data structure, the other from the widget tree of a ui file.
qobject-dom        Illustrates the TQObject DOM API.                            
connect-cpp        Connects a signal to slot.                                  
connect            Connects signals of various types to JS methods.            
imageviewer        Illustrates the use of TQPixmap values.                      
netaccess          Illustrates the bindings to KIO::NetAccess.                 
listview           Creates a simple KListView.                                 
frame              Shows off TQFrame support and the use of enums.              
timer              Creates a flashing LED using TQTimer.                        
Actions            A simple KAction demo.                                      
Built-In Messages  Demonstrates the built-in message dialogs.                  
Image Tweak        Tweaking images.                                            
Image Fun          More fun with images                                        
Space Invaders     A space invaders game.                                      
JS UIC             An easy way to deal with UI files.                          
Multi-file Scripts Multi-file Scripts.                                         
Opaque Values      Opaque types.                                               
Standard Icons     Loading standard icons.                                     
TQComboBox          A simple demo of TQComboBox.                                 
Embedding several  Shows how to embed multiple parts in the same script.       
KParts                                                                         
Writing data       Shows how to send data directly to a part, rather than      
directly to a      viewing a file.                                             
KPart                                                                          
                                                                               
-------------------------------------------------------------------------------