このページでは

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には、Qt Widgets Designer'の現在のQDesignerFormEditorInterface オブジェクトへのポインタを取得するために使用できるcore() 関数と、現在選択されているフォームウィンドウを変更できる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)

指定されたaction の管理をQt Widgets Designer に指示します。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()も参照してください

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