Obsolete Members for TouchPoint

以下成员源于类 TouchPoint 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

(obsolete) QRectF rect () const
(obsolete) QRectF sceneRect () const
(obsolete) QRectF screenRect () const

成员函数文档编制

QRectF TouchPoint:: rect () const

此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。

This function is deprecated since 5.9 because it returns the outer bounds of the touchpoint regardless of rotation, whereas a touchpoint is more correctly modeled as an ellipse at position pos () 采用 ellipseDiameters () which are independent of rotation ().

QRectF TouchPoint:: sceneRect () const

此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。

This function is deprecated since 5.9 because it returns the outer bounds of the touchpoint regardless of rotation, whereas a touchpoint is more correctly modeled as an ellipse at position scenePos () 采用 ellipseDiameters () which are independent of rotation ().

QRectF TouchPoint:: screenRect () const

此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。

This function is deprecated since 5.9 because it returns the outer bounds of the touchpoint regardless of rotation, whereas a touchpoint is more correctly modeled as an ellipse at position screenPos () 采用 ellipseDiameters () which are independent of rotation ().