En esta página

QWhatsThisClickedEvent Class

La clase QWhatsThisClickedEvent proporciona un evento que se puede utilizar para gestionar los hipervínculos en un texto del tipo «¿Qué es esto?». Más información...

Encabezado: #include <QWhatsThisClickedEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Heredado de: QEvent

Funciones públicas

QWhatsThisClickedEvent(const QString &href)
QString href() const

Funciones protegidas

QWhatsThisClickedEvent(QWhatsThisClickedEvent &&)
QWhatsThisClickedEvent &operator=(QWhatsThisClickedEvent &&)
QWhatsThisClickedEvent &operator=(const QWhatsThisClickedEvent &other)

Descripción detallada

Véase también QWhatsThis, QHelpEvent y QStatusTipEvent.

Documentación de las funciones de miembro

[explicit] QWhatsThisClickedEvent::QWhatsThisClickedEvent(const QString &href)

Crea un evento que contiene la URL especificada en href cuando se hace clic en un enlace dentro de un mensaje de «¿Qué es esto?».

Véase también href().

[protected delete] QWhatsThisClickedEvent::QWhatsThisClickedEvent(QWhatsThisClickedEvent &&)

Crea una instancia de ` QWhatsThisClickedEvent`. Esta función ha sido eliminada.

QString QWhatsThisClickedEvent::href() const

Devuelve la URL en la que el usuario ha hecho clic en el texto «¿Qué es esto?».

[protected delete] QWhatsThisClickedEvent &QWhatsThisClickedEvent::operator=(QWhatsThisClickedEvent &&)

Asigna mediante «move» other a esta instancia de QWhatsThisClickedEvent. Esta función se elimina.

[noexcept protected default] QWhatsThisClickedEvent &QWhatsThisClickedEvent::operator=(const QWhatsThisClickedEvent &other)

Asigna por copia « other » a esta instancia de « QWhatsThisClickedEvent ».

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