QDesignerActionEditorInterface¶
The QDesignerActionEditorInterface
class allows you to change the focus of Qt Designer’s action editor. More…
Detailed Description¶
The QDesignerActionEditorInterface
class is not intended to be instantiated directly. You can retrieve an interface to Qt Designer's action editor using the actionEditor()
function.
You can control which actions that are available in the action editor’s window using the manageAction()
and unmanageAction()
functions. An action that is managed by Qt Designer is available in the action editor while an unmanaged action is ignored.
QDesignerActionEditorInterface
also provides the core()
function that you can use to retrieve a pointer to Qt Designer's current QDesignerFormEditorInterface
object, and the setFormWindow()
function that enables you to change the currently selected form window.
- class PySide6.QtDesigner.QDesignerActionEditorInterface(parent[, flags={}])¶
- Parameters
flags –
WindowFlags
parent –
PySide6.QtWidgets.QWidget
Constructs an action editor interface with the given parent
and the specified window flags
.
- PySide6.QtDesigner.QDesignerActionEditorInterface.core()¶
- Return type
Returns a pointer to Qt Designer's current QDesignerFormEditorInterface
object.
- PySide6.QtDesigner.QDesignerActionEditorInterface.manageAction(action)¶
- Parameters
action –
PySide6.QtGui.QAction
Instructs Qt Designer to manage the specified action
. An action that is managed by Qt Designer is available in the action editor.
See also
- PySide6.QtDesigner.QDesignerActionEditorInterface.setFormWindow(formWindow)¶
- Parameters
formWindow –
PySide6.QtDesigner.QDesignerFormWindowInterface
Sets the currently selected form window to formWindow
.
- PySide6.QtDesigner.QDesignerActionEditorInterface.unmanageAction(action)¶
- Parameters
action –
PySide6.QtGui.QAction
Instructs Qt Designer to ignore the specified action
. An unmanaged action is not available in the action editor.
See also
© 2022 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.