이 페이지에서

QAxSelect Class

QAxSelect 클래스는 등록된 COM 구성 요소에 대한 선택 대화 상자를 제공합니다. 더 보기...

헤더: #include <qaxselect.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS AxContainer)
target_link_libraries(mytarget PRIVATE Qt6::AxContainer)
qmake: QT += axcontainer
상속: QDialog

공개 타입

enum SandboxingLevel { SandboxingNone, SandboxingProcess, SandboxingLowIntegrity, SandboxingAppContainer }

공개 함수

QAxSelect(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags())
virtual ~QAxSelect() override
QString clsid() const
QAxSelect::SandboxingLevel sandboxingLevel() const

상세 설명

QAxSelect 대화 상자는 사용자가 시스템에 등록된 COM 구성 요소를 탐색하고 하나를 선택할 수 있는 방법을 제공합니다. 또한 원하는 샌드박스 수준을 선택할 수 있는 콤보 박스도 제공합니다. 선택된 구성 요소의 CLSID는 애플리케이션에서, 예를 들어 QAxWidget 를 초기화하는 데 사용할 수 있습니다:

QAxSelect select;
if (select.exec()) {
    QAxWidget *container = new QAxWidget;
    container->setControl(select.clsid());
    container->show();
}

QAxWidget 및 ActiveQt Framework도 참조하십시오 .

멤버 유형 문서

enum QAxSelect::SandboxingLevel

SandboxingLevel 열거형은 ActiveX 샌드박싱의 목표 수준을 정의합니다.

상수값설명
QAxSelect::SandboxingNone0특정 샌드박싱을 원하지 않음
QAxSelect::SandboxingProcess1ActiveX 컨트롤을 별도의 프로세스에서 실행
QAxSelect::SandboxingLowIntegrity2ActiveX 컨트롤을 별도의 낮은 무결성 프로세스에서 실행
QAxSelect::SandboxingAppContainer (since Qt 6.5)3ActiveX 컨트롤을 별도의 AppContainer로 격리된 프로세스에서 실행

샌드박싱을 사용하려면 ActiveX가 EXE로 빌드되거나 AppID "DllSurrogate"가 활성화된 DLL로 빌드되어야 합니다.

멤버 함수 문서

[explicit] QAxSelect::QAxSelect(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags())

QAxSelect 객체를 생성합니다. 대화 상자의 상위 위젯 및 창 플래그는 각각 ` parent ` 및 ` flags ` 매개변수를 사용하여 선택적으로 지정할 수 있습니다.

[override virtual noexcept] QAxSelect::~QAxSelect()

QAxSelect 객체를 삭제합니다.

QString QAxSelect::clsid() const

선택된 COM 구성 요소의 CLSID를 반환합니다.

QAxSelect::SandboxingLevel QAxSelect::sandboxingLevel() const

ActiveX 컨트롤에 대해 원하는 샌드박싱 수준을 반환합니다.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.