以下成員源於類 TouchPoint 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
QRectF
|
rect () const |
(obsolete)
QRectF
|
sceneRect () const |
(obsolete)
QRectF
|
screenRect () const |
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns the rect for this touch point, relative to the widget or QGraphicsItem that received the event. The rect is centered around the point returned by pos ().
注意: This function returns an empty rect if the device does not report touch point sizes.
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 ().
另請參閱 scenePos () 和 ellipseDiameters ().
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns the rect for this touch point in scene coordinates.
注意: This function returns an empty rect if the device does not report touch point sizes.
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 ().
另請參閱 scenePos () 和 ellipseDiameters ().
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns the rect for this touch point in screen coordinates.
注意: This function returns an empty rect if the device does not report touch point sizes.
touchpoint regardless of rotation, whereas a touchpoint is more correctly modeled as an ellipse at position screenPos () 采用 ellipseDiameters () which are independent of rotation ().
另請參閱 screenPos () 和 ellipseDiameters ().