Obsolete Members for Text

The following members of QML type Text 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

方法

方法文档编制

forceLayout ()

Triggers a re-layout of the displayed text.

This method was introduced in Qt 5.9.

linkAt ( real x , real y )

Returns the link string at point x , y in content coordinates, or an empty string if no link exists at that point.

This method was introduced in Qt 5.3.

另请参阅 hoveredLink .