QDesignerActionEditorInterface Class

QDesignerActionEditorInterface 클래스를 사용하면 Qt Widgets Designer 의 액션 에디터의 포커스를 변경할 수 있습니다. 더 보기...

헤더: #include <QDesignerActionEditorInterface>
CMake: find_package(Qt6 REQUIRED COMPONENTS Designer)
target_link_libraries(mytarget PRIVATE Qt6::Designer)
qmake: QT += designer
상속합니다: QWidget

공용 함수

QDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags = {})
virtual ~QDesignerActionEditorInterface()
virtual QDesignerFormEditorInterface *core() const
virtual void manageAction(QAction *action) = 0
virtual void unmanageAction(QAction *action) = 0

공용 슬롯

virtual void setFormWindow(QDesignerFormWindowInterface *formWindow) = 0

상세 설명

QDesignerActionEditorInterface 클래스는 직접 인스턴스화할 수 없습니다. QDesignerFormEditorInterface::actionEditor () 함수를 사용하여 Qt Widgets Designer 의 액션 편집기에 대한 인터페이스를 검색할 수 있습니다.

manageAction() 및 unmanageAction() 함수를 사용하여 액션 편집기 창에서 사용할 수 있는 액션을 제어할 수 있습니다. Qt Widgets Designer 에서 관리되는 액션은 액션 편집기에서 사용할 수 있지만 관리되지 않는 액션은 무시됩니다.

QDesignerActionEditorInterface는 Qt Widgets Designer 의 현재 QDesignerFormEditorInterface 객체에 대한 포인터를 검색하는 데 사용할 수 있는 core() 함수와 현재 선택된 양식 창을 변경할 수 있는 setFormWindow() 함수도 제공합니다.

QDesignerFormEditorInterfaceQDesignerFormWindowInterface참조하세요 .

멤버 함수 문서

[explicit] QDesignerActionEditorInterface::QDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags = {})

지정된 parent 및 지정된 창 flags 으로 액션 에디터 인터페이스를 구성합니다.

[virtual noexcept] QDesignerActionEditorInterface::~QDesignerActionEditorInterface()

액션 에디터 인터페이스를 삭제합니다.

[virtual] QDesignerFormEditorInterface *QDesignerActionEditorInterface::core() const

Qt Widgets Designer 의 현재 QDesignerFormEditorInterface 객체에 대한 포인터를 반환합니다.

[pure virtual] void QDesignerActionEditorInterface::manageAction(QAction *action)

Qt Widgets Designer 에 지정된 action 을 관리하도록 지시합니다. Qt Widgets Designer 에서 관리하는 작업은 작업 편집기에서 사용할 수 있습니다.

unmanageAction()도 참조하세요 .

[pure virtual slot] void QDesignerActionEditorInterface::setFormWindow(QDesignerFormWindowInterface *formWindow)

현재 선택된 양식 창을 formWindow 로 설정합니다.

[pure virtual] void QDesignerActionEditorInterface::unmanageAction(QAction *action)

지정된 action 을 무시하도록 Qt Widgets Designer 지시합니다. 관리되지 않는 액션은 액션 편집기에서 사용할 수 없습니다.

manageAction()도 참조하세요 .

© 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.