1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
---|
2 | <!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/activeqt/examples/wrapper/wrapper.doc:1 -->
|
---|
3 | <html>
|
---|
4 | <head>
|
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
---|
6 | <title>Standard Qt widgets in an HTML page</title>
|
---|
7 | <style type="text/css"><!--
|
---|
8 | fn { margin-left: 1cm; text-indent: -1cm; }
|
---|
9 | a:link { color: #004faf; text-decoration: none }
|
---|
10 | a:visited { color: #672967; text-decoration: none }
|
---|
11 | body { background: #ffffff; color: black; }
|
---|
12 | --></style>
|
---|
13 | </head>
|
---|
14 | <body>
|
---|
15 |
|
---|
16 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
17 | <tr bgcolor="#E5E5E5">
|
---|
18 | <td valign=center>
|
---|
19 | <a href="index.html">
|
---|
20 | <font color="#004faf">Home</font></a>
|
---|
21 | | <a href="classes.html">
|
---|
22 | <font color="#004faf">All Classes</font></a>
|
---|
23 | | <a href="mainclasses.html">
|
---|
24 | <font color="#004faf">Main Classes</font></a>
|
---|
25 | | <a href="annotated.html">
|
---|
26 | <font color="#004faf">Annotated</font></a>
|
---|
27 | | <a href="groups.html">
|
---|
28 | <font color="#004faf">Grouped Classes</font></a>
|
---|
29 | | <a href="functions.html">
|
---|
30 | <font color="#004faf">Functions</font></a>
|
---|
31 | </td>
|
---|
32 | <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Standard Qt widgets in an HTML page</h1>
|
---|
33 |
|
---|
34 |
|
---|
35 | <p>
|
---|
36 | <SCRIPT LANGUAGE=VBScript>
|
---|
37 | Sub ToolButton_Clicked()
|
---|
38 | RadioButton.text = InputBox( "Enter something", "Wrapper Demo" )
|
---|
39 | End Sub
|
---|
40 |
|
---|
41 | Sub PushButton_clicked()
|
---|
42 | MsgBox( "Thank you!" )
|
---|
43 | End Sub
|
---|
44 |
|
---|
45 | Sub CheckBox_toggled( state )
|
---|
46 | if state = 0 then
|
---|
47 | CheckBox.text = "Check me!"
|
---|
48 | else
|
---|
49 | CheckBox.text = "Uncheck me!"
|
---|
50 | end if
|
---|
51 | End Sub
|
---|
52 | </SCRIPT>
|
---|
53 | <p>
|
---|
54 | A QPushButton:<br>
|
---|
55 | <object ID="PushButton" CLASSID="CLSID:2B262458-A4B6-468B-B7D4-CF5FEE0A7092"
|
---|
56 | CODEBASE=http://www.trolltech.com/demos/wrapperax.cab>
|
---|
57 | <PARAM NAME="text" VALUE="Click me!">
|
---|
58 | [Object not available! Did you forget to build and register the server?]
|
---|
59 | </object><br>
|
---|
60 |
|
---|
61 | <p>
|
---|
62 | A QCheckBox:<br>
|
---|
63 | <object ID="CheckBox" CLASSID="CLSID:6E795de9-872d-43cf-a831-496ef9d86c68"
|
---|
64 | CODEBASE=http://www.trolltech.com/demos/wrapperax.cab>
|
---|
65 | <PARAM NAME="text" VALUE="Check me!">
|
---|
66 | [Object not available! Did you forget to build and register the server?]
|
---|
67 | </object><br>
|
---|
68 |
|
---|
69 | <p>
|
---|
70 | A QToolButton:<br>
|
---|
71 | <object ID="ToolButton" CLASSID="CLSID:7c0ffe7a-60c3-4666-bde2-5cf2b54390a1"
|
---|
72 | CODEBASE=http://www.trolltech.com/demos/wrapperax.cab>
|
---|
73 | [Object not available! Did you forget to build and register the server?]
|
---|
74 | </object><br>
|
---|
75 |
|
---|
76 | <p>
|
---|
77 | A QRadioButton:<br>
|
---|
78 | <object ID="RadioButton" CLASSID="CLSID:afcf78c8-446c-409a-93b3-ba2959039189"
|
---|
79 | CODEBASE=http://www.trolltech.com/demos/wrapperax.cab>
|
---|
80 | <PARAM NAME="text" VALUE="Tune me!">
|
---|
81 | [Object not available! Did you forget to build and register the server?]
|
---|
82 | </object><br>
|
---|
83 |
|
---|
84 |
|
---|
85 | <!-- eof -->
|
---|
86 | <p><address><hr><div align=center>
|
---|
87 | <table width=100% cellspacing=0 border=0><tr>
|
---|
88 | <td>Copyright © 2007
|
---|
89 | <a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
---|
90 | <td align=right><div align=right>Qt 3.3.8</div>
|
---|
91 | </table></div></address></body>
|
---|
92 | </html>
|
---|