PySide6.QtDesigner.QDesignerActionEditorInterface¶
- class QDesignerActionEditorInterface¶
The
QDesignerActionEditorInterface
class allows you to change the focus of Qt Widgets Designer’s action editor. More…Synopsis¶
Methods¶
def
__init__()
Virtual methods¶
def
core()
def
manageAction()
def
setFormWindow()
def
unmanageAction()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
The
QDesignerActionEditorInterface
class is not intended to be instantiated directly. You can retrieve an interface to Qt Widgets Designer’s action editor using theactionEditor()
function.You can control which actions that are available in the action editor’s window using the
manageAction()
andunmanageAction()
functions. An action that is managed by Qt Widgets Designer is available in the action editor while an unmanaged action is ignored.QDesignerActionEditorInterface
also provides thecore()
function that you can use to retrieve a pointer to Qt Widgets Designer’s currentQDesignerFormEditorInterface
object, and thesetFormWindow()
function that enables you to change the currently selected form window.- __init__(parent[, flags={}])¶
- Parameters:
parent –
QWidget
flags – Combination of
WindowType
Constructs an action editor interface with the given
parent
and the specified windowflags
.- core()¶
- Return type:
Returns a pointer to Qt Widgets Designer’s current
QDesignerFormEditorInterface
object.Instructs Qt Widgets Designer to manage the specified
action
. An action that is managed by Qt Widgets Designer is available in the action editor.See also
- abstract setFormWindow(formWindow)¶
- Parameters:
formWindow –
QDesignerFormWindowInterface
Sets the currently selected form window to
formWindow
.Instructs Qt Widgets Designer to ignore the specified
action
. An unmanaged action is not available in the action editor.See also