~oif-team/+junk/gesturearea

« back to all changes in this revision

Viewing changes to gesturearea.h

  • Committer: Chase Douglas
  • Date: 2011-07-16 00:49:55 UTC
  • Revision ID: git-v1:67ba7d3a0c8e94d5deb6be3cd01214c6935da6d9
Note focus and centroid coordinate mappings in the documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    /**
91
91
     * This property holds the position of the centroid of the touches
92
92
     * comprising the gesture.
 
93
     *
 
94
     * For TouchScreen devices, the centroid is mapped to item coordinates. For
 
95
     * all other devices, the centroid is left in device coordinates.
93
96
     */
94
97
    Q_PROPERTY(GestureProperty *centroid READ getCentroid CONSTANT)
95
98
 
96
99
    /**
97
100
     * This property holds the focus point of the gesture.
98
101
     *
99
 
 
100
102
     * For TouchScreen devices, the focus point is the centroid of the touches
101
103
     * when the gesture begins. For other devices, the focus point is the
102
104
     * location of the pointer when the gesture begins.
 
105
     *
 
106
     * The focus point is always mapped to item coordinates.
103
107
     */
104
108
    Q_PROPERTY(QPointF focus READ getFocus NOTIFY focusChanged)
105
109