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 ().