[556] | 1 | /****************************************************************************
|
---|
| 2 | **
|
---|
[846] | 3 | ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
---|
[556] | 4 | ** All rights reserved.
|
---|
| 5 | ** Contact: Nokia Corporation (qt-info@nokia.com)
|
---|
| 6 | **
|
---|
| 7 | ** This file is part of the documentation of the Qt Toolkit.
|
---|
| 8 | **
|
---|
[846] | 9 | ** $QT_BEGIN_LICENSE:FDL$
|
---|
[556] | 10 | ** Commercial Usage
|
---|
| 11 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
---|
| 12 | ** accordance with the Qt Commercial License Agreement provided with the
|
---|
[846] | 13 | ** Software or, alternatively, in accordance with the terms contained in a
|
---|
| 14 | ** written agreement between you and Nokia.
|
---|
[556] | 15 | **
|
---|
[846] | 16 | ** GNU Free Documentation License
|
---|
| 17 | ** Alternatively, this file may be used under the terms of the GNU Free
|
---|
| 18 | ** Documentation License version 1.3 as published by the Free Software
|
---|
| 19 | ** Foundation and appearing in the file included in the packaging of this
|
---|
| 20 | ** file.
|
---|
[556] | 21 | **
|
---|
| 22 | ** If you have questions regarding the use of this file, please contact
|
---|
| 23 | ** Nokia at qt-info@nokia.com.
|
---|
| 24 | ** $QT_END_LICENSE$
|
---|
| 25 | **
|
---|
| 26 | ****************************************************************************/
|
---|
| 27 |
|
---|
| 28 | /*!
|
---|
| 29 | \page activeqt-testcon.html
|
---|
| 30 | \title testcon - An ActiveX Test Container (ActiveQt)
|
---|
| 31 |
|
---|
| 32 | \ingroup activeqt-tools
|
---|
| 33 |
|
---|
| 34 | \keyword testcon
|
---|
| 35 |
|
---|
| 36 | This application implements a generic test container for ActiveX
|
---|
| 37 | controls. You can insert ActiveX controls installed on your
|
---|
| 38 | system, and execute methods and modify properties. The container
|
---|
| 39 | will log information about events and property changes as well
|
---|
| 40 | as debug output in the log window.
|
---|
| 41 |
|
---|
| 42 | Parts of the code use internals of the Qt meta object and ActiveQt
|
---|
| 43 | framework and are not recommended to be used in application code.
|
---|
| 44 |
|
---|
| 45 | Use the application to view the slots, signals and porperties
|
---|
| 46 | available through the QAxWidget class when instantiated with a
|
---|
| 47 | certain ActiveX, and to test ActiveX controls you implement or
|
---|
| 48 | want to use in your Qt application.
|
---|
| 49 |
|
---|
| 50 | The application can load and execute script files in JavaScript,
|
---|
| 51 | VBScript, Perl and Python (if installed) to automate the controls
|
---|
| 52 | loaded. Example script files using the QAxWidget2 class are available
|
---|
| 53 | in the \c scripts subdirectory.
|
---|
| 54 |
|
---|
| 55 | Note that the qmake project of this example includes a resource file
|
---|
| 56 | \c testcon.rc with a version resource. This is required by some
|
---|
| 57 | ActiveX controls (ie. Shockwave ActiveX Controls), which might crash
|
---|
| 58 | or misbehave otherwise if such version information is missing.
|
---|
| 59 |
|
---|
| 60 | To build the tool you must first build the QAxContainer and the
|
---|
| 61 | QAxServer libraries. Then run your make tool in \c tools/testcon
|
---|
| 62 | and run the resulting \c testcon.exe.
|
---|
| 63 | */
|
---|