Spec-Zone.ru › Qt

TooltipRequest QML Type

A request for showing a tooltip to the user. More...

Import Statement: import QtWebEngine
Since: QtWebEngine 1.10
  • List of all members, including inherited members

Properties

  • accepted : bool
  • text : bool
  • type : enumeration
  • x : int
  • y : int

Detailed Description

Property Documentation

accepted : bool

Indicates whether the tooltip request has been accepted by the signal handler.

If the property is false after any signal handlers for WebEngineView::tooltipRequested have been executed, a default tooltip will be shown. To prevent this, set request.accepted to true.

The default is false.

[read-only] text : bool

The text of the tooltip. It contains an empty string when the tooltip should be hidden.

[read-only] type : enumeration

The type of the tooltip request.

Constant Description
TooltipRequest.Show The tooltip should be shown.
TooltipRequest.Hide The tooltip should be hidden.

[read-only] x : int

The x coordinate of the top-left corner of the requested tooltip.

[read-only] y : int

The y coordinate of the top-left corner of the requested tooltip.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qtwebengine-tooltiprequest.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API