equal
deleted
inserted
replaced
27 { |
27 { |
28 // Subscribe this widget to tap and pinch gestures. |
28 // Subscribe this widget to tap and pinch gestures. |
29 grabGesture(Qt::TapGesture); |
29 grabGesture(Qt::TapGesture); |
30 grabGesture(Qt::PinchGesture); |
30 grabGesture(Qt::PinchGesture); |
31 // Prevent this widget from accepting focus. |
31 // Prevent this widget from accepting focus. |
32 setFocusPolicy(Qt::NoFocus); |
32 setFocusPolicy(Qt::NoFocus); |
33 } |
33 } |
34 |
34 |
35 /*! |
35 /*! |
36 Destructor. |
36 Destructor. |
37 */ |
37 */ |