QDesignerActionEditorInterface Class
La clase QDesignerActionEditorInterface permite cambiar el foco del editor de acciones de Qt Widgets Designer. Más...
| Cabecera: | #include <QDesignerActionEditorInterface> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Designer)target_link_libraries(mytarget PRIVATE Qt6::Designer) |
| qmake: | QT += designer |
| Hereda: | QWidget |
Funciones Públicas
| 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 |
Ranuras Públicas
| virtual void | setFormWindow(QDesignerFormWindowInterface *formWindow) = 0 |
Descripción Detallada
La clase QDesignerActionEditorInterface no está pensada para ser instanciada directamente. Puede recuperar una interfaz para el editor de acciones de Qt Widgets Designer utilizando la función QDesignerFormEditorInterface::actionEditor().
Puede controlar qué acciones están disponibles en la ventana del editor de acciones mediante las funciones manageAction() y unmanageAction(). Una acción gestionada por Qt Widgets Designer está disponible en el editor de acciones, mientras que una acción no gestionada se ignora.
QDesignerActionEditorInterface también proporciona la función core() que puede utilizar para recuperar un puntero al objeto QDesignerFormEditorInterface actual de Qt Widgets Designer, y la función setFormWindow() que le permite cambiar la ventana de formulario seleccionada actualmente.
Ver también QDesignerFormEditorInterface y QDesignerFormWindowInterface.
Documentación de funciones miembro
[explicit] QDesignerActionEditorInterface::QDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags = {})
Construye una interfaz de editor de acciones con el parent dado y la ventana especificada flags.
[override virtual noexcept] QDesignerActionEditorInterface::~QDesignerActionEditorInterface()
Destruye la interfaz del editor de acciones.
[virtual] QDesignerFormEditorInterface *QDesignerActionEditorInterface::core() const
Devuelve un puntero al objeto QDesignerFormEditorInterface actual de Qt Widgets Designer.
[pure virtual] void QDesignerActionEditorInterface::manageAction(QAction *action)
Ordena a Qt Widgets Designer que gestione la acción especificada action. Una acción gestionada por Qt Widgets Designer está disponible en el editor de acciones.
Véase también unmanageAction().
[pure virtual slot] void QDesignerActionEditorInterface::setFormWindow(QDesignerFormWindowInterface *formWindow)
Establece la ventana de formulario actualmente seleccionada en formWindow.
[pure virtual] void QDesignerActionEditorInterface::unmanageAction(QAction *action)
Indica a Qt Widgets Designer que ignore la dirección action especificada. Una acción no gestionada no está disponible en el editor de acciones.
Véase también 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.