QAxSelect Class
QAxSelect 클래스는 등록된 COM 컴포넌트에 대한 선택 대화 상자를 제공합니다. 더 보기...
Header: | #include <QAxSelect> |
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 을 초기화할 수 있습니다:
QAxWidget 및 ActiveQt 프레임워크도참조하세요 .
멤버 유형 문서
enum QAxSelect::SandboxingLevel
샌드박싱 수준 열거형은 원하는 ActiveX 샌드박싱 수준을 정의합니다.
Constant | 값 | 설명 |
---|---|---|
QAxSelect::SandboxingNone | 0 | 특정 샌드박싱을 원하지 않음 |
QAxSelect::SandboxingProcess | 1 | 별도의 프로세스에서 ActiveX 컨트롤 실행 |
QAxSelect::SandboxingLowIntegrity | 2 | 무결성이 낮은 별도의 프로세스에서 ActiveX 컨트롤 실행 |
QAxSelect::SandboxingAppContainer | 3 | [6.5 이후] 별도의 앱 컨테이너 격리 프로세스에서 ActiveX 컨트롤 실행 |
샌드박싱을 사용하려면 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 컨트롤에 대해 원하는 샌드박싱 수준을 반환합니다.
© 2025 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.