このページでは

QWhatsThisClickedEvent Class

QWhatsThisClickedEvent クラスは、「What's This?」テキスト内のハイパーリンクを処理するために使用できるイベントを提供します。詳細...

ヘッダー: #include <QWhatsThisClickedEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
継承元: QEvent

パブリック関数

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

プロテクトされた関数

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

詳細説明

QWhatsThis 、QHelpEvent 、およびQStatusTipEventも参照してください 。

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

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

「What's This?」メッセージ内のリンクがクリックされた際、href で指定された URL を含むイベントを作成します。

href()も参照してください 。

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

QWhatsThisClickedEvent のインスタンスをMoveコンストラクタで生成します。この関数は削除されています。

QString QWhatsThisClickedEvent::href() const

「これは何?」というテキスト内で、ユーザーがクリックしたURLを返します。

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

other をこのQWhatsThisClickedEvent インスタンスに割り当てます。この関数は削除されます。

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

other をこの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.