QAxSelect Class
The QAxSelect class provides a selection dialog for registered COM components. More...
Header: | #include <QAxSelect> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS AxContainer) target_link_libraries(mytarget PRIVATE Qt6::AxContainer) |
qmake: | QT += axcontainer |
Detailed Description
QAxSelect dialog can be used to provide users with a way to browse the registered COM components of the system and select one. It also provides a combo box for selecting desired sandboxing level. The CLSID of the selected component can then be used in the application to e.g. initialize a QAxWidget:
QAxSelect select; if (select.exec()) { QAxWidget *container = new QAxWidget; container->setControl(select.clsid()); container->show(); }
See also QAxWidget and ActiveQt Framework.