Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/kernel/qevent.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    19711971  Z-axis, pass zero here.
    19721972
    1973   The \a tangentialPressure paramater contins the tangential pressure of an air
     1973  The \a tangentialPressure parameter contins the tangential pressure of an air
    19741974  brush. If the device does not support tangential pressure, pass 0 here.
    19751975
     
    34223422        dbg.nospace() << "QChildEvent(" << n << ", " << (static_cast<const QChildEvent*>(e))->child();
    34233423        return dbg.space();
     3424#ifndef QT_NO_GESTURES
    34243425    case QEvent::Gesture:
    34253426        n = "Gesture";
    34263427        break;
     3428#endif
    34273429    default:
    34283430        dbg.nospace() << "QEvent(" << (const void *)e << ", type = " << e->type() << ')';
     
    36263628    \since 4.6
    36273629    \ingroup events
    3628     \ingroup multitouch
     3630    \ingroup touch
    36293631
    36303632    \section1 Enabling Touch Events
     
    36403642    Similarly to QMouseEvent, Qt automatically grabs each touch point on the first press inside a
    36413643    widget, and the widget will receive all updates for the touch point until it is released.
    3642     Note that it is possible for a widget to receive events for multiple touch points, and that
     3644    Note that it is possible for a widget to receive events for numerous touch points, and that
    36433645    multiple widgets may be receiving touch events at the same time.
    36443646
     
    37163718    \i As mentioned above, enabling touch events means multiple widgets can be receiving touch
    37173719    events simultaneously. Combined with the default QWidget::event() handling for QTouchEvents,
    3718     this gives you great flexibility in designing multi-touch user interfaces. Be aware of the
     3720    this gives you great flexibility in designing touch user interfaces. Be aware of the
    37193721    implications. For example, it is possible that the user is moving a QSlider with one finger and
    37203722    pressing a QPushButton with another. The signals emitted by these widgets will be
     
    37283730    \i QTouchEvents are not affected by a \l{QWidget::grabMouse()}{mouse grab} or an
    37293731    \l{QApplication::activePopupWidget()}{active pop-up widget}. The behavior of QTouchEvents is
    3730     undefined when opening a pop-up or grabbing the mouse while there are multiple active touch
     3732    undefined when opening a pop-up or grabbing the mouse while there are more than one active touch
    37313733    points.
    37323734
     
    42554257}
    42564258
     4259#ifndef QT_NO_GESTURES
    42574260/*!
    42584261    \class QGestureEvent
     
    42784281    QGestureEvent::accept() for each of them, or an event filter consumes the
    42794282    event.
     4283
     4284    \section1 Further Reading
     4285
     4286    For an overview of gesture handling in Qt and information on using gestures
     4287    in your applications, see the \l{Gestures Programming} document.
    42804288
    42814289    \sa QGesture, QGestureRecognizer,
     
    45594567#endif
    45604568
     4569#endif // QT_NO_GESTURES
     4570
    45614571QT_END_NAMESPACE
Note: See TracChangeset for help on using the changeset viewer.