Home · Overviews · Examples 


QAxContainer Module

The QAxContainer module is a Windows-only extension for accessing ActiveX controls and COM objects. The QAxContainer module is part of the ActiveQt framework. It provides a library implementing a QWidget subclass, QAxWidget, that acts as a container for ActiveX controls, and a QObject subclass, QAxObject, that can be used to easily access non-visual COM objects. Scripting COM objects embedded using these classes is possible through the QAxScript, QAxScriptManager and QAxScriptEngine classes, and a set of tools makes it easy to access COM objects programmatically.

The module consists of six classes

  1. QAxBase is an abstract class that provides an API to initialize and access a COM object or ActiveX control.
  2. QAxObject provides a QObject that wraps a COM object.
  3. QAxWidget is a QWidget that wraps an ActiveX control.
  4. QAxScriptManager, QAxScript and QAxScriptEngine provide an interface to the Windows Script Host.
Some example applications that use standard ActiveX controls to provide high-level user interface functionality are provided.

The QAxContainer module is part of the Qt Desktop Edition for Windows. It is not part of the Qt Open Source Edition.

Topics: