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() override |
| 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는 또한 core() 함수를 제공하여 Qt Widgets Designer 의 현재 QDesignerFormEditorInterface 객체에 대한 포인터를 가져올 수 있게 하며, setFormWindow() 함수를 통해 현재 선택된 폼 창을 변경할 수 있게 합니다.
QDesignerFormEditorInterface 및 QDesignerFormWindowInterface도 참조하십시오 .
멤버 함수 설명서
[explicit] QDesignerActionEditorInterface::QDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags = {})
지정된 작업 편집기( parent )와 지정된 창 flags 을 사용하여 작업 편집기 인터페이스를 생성합니다.
[override 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)
Qt Widgets Designer 가 지정된 action 를 무시하도록 지시합니다. 관리되지 않는 작업은 작업 편집기에서 사용할 수 없습니다.
manageAction()도 참조하십시오 .
© 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.