QDesignerActionEditorInterface Class

QDesignerActionEditorInterface クラスを使用すると、Qt Widgets Designer のアクション エディタのフォーカスを変更できます。詳細...

ヘッダー #include <QDesignerActionEditorInterface>
CMake.QDesignerActionEditorInterfaceクラス 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() 関数もあります。

QDesignerFormEditorInterface およびQDesignerFormWindowInterfaceも参照して ください。

メンバ関数のドキュメント

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