| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
external event generators
This introduces QEvent::RawTouch event type, which should be used by the low-level
translator. This raw QTouchEvent can be sent to either QApplication or to a window,
and Qt will do the rest to dispatch the touch points to the correct place.
|
|
|
|
|
|
|
|
| |
widgets/items
Instead, build the list of touchPoints per event. This solves the problem when encountering
releases early in the active/current list while there are still touch points in move/stationary
states (which effectively caused the code to "forget" about the released point).
|
|
|
|
|
| |
For now the api is in the autotest itself, though in the QTest
namespace.
|
|
|
|
|
|
| |
screenPos
Reviewed-By: Bradley T. Hughes
|
|
|
|
| |
Reviewed-By: Bradley T. Hughes
|
|
|
|
| |
Reviewed-By: Bradley T. Hughes
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This new function returns a bitwise OR of all the touch point states for
the event. This makes it easy to see if a certain type of state is present
or not without the need to loop over all touch points.
QApplication and QGraphicsScene need to build this state when dispatching
the touch points. This also fixes the ASSERT bug that Denis found when
trying to send multiple touch presses in a touch begin event.
|
|
|
|
|
|
| |
We'll use the \internal functions to modify it instead. This should make it easier
for people to implement support for touch events outside of Qt itself (still need to
somehow expose the logic for dispatching the touch points to the correct widgets though).
|
|
|
|
| |
Only do it when a widget has actually set the Qt::WA_AcceptTouchEvents attribute
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/corelib/kernel/qcoreevent.h
src/gui/graphicsview/qgraphicsitem_p.h
|
| | |
|
| |
| |
| |
| |
| |
| | |
It seems GLint is typedefed to long on 10.4.
Reviewed-By: Rhys Weatherley
|
| |
| |
| |
| |
| | |
Use the same pattern for protecting the dump function as
qmap.h and qhash.h employ.
|
| | |
|
| | |
|
| |
| |
| |
| | |
sneak in white space change :)
|
| |
| |
| |
| | |
Reviewed-by:TrustMe
|
| |
| |
| |
| |
| |
| |
| | |
Also makes QDomDocument::toString() consistent with QXmlStreamWriter and
xmlTextWriter from libxml2.
Reviewed-by: Thiago Macieira
|
| | |
|
| |
| |
| |
| | |
...hopefully
|
| |
| |
| |
| | |
Reviewed-by: Martin Smith
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Now you can opt it out to save disk space (for embedded).
Also tested it and fixed code in state machine.
|
| |
| |
| |
| | |
simply added Q_UNUSED for parameters that weren't used in a function
|
| |
| |
| |
| |
| |
| |
| | |
Wherever I found that we were using a string instead of a single char
I fixed the code.
Reviewed-by: olivier
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a buffer swap leaves the back buffer intact we don't have to use
an FBO or PB, but can render directly to the window's back buffer,
yielding higher performance and depending less on extensions such as
multisample FBOs and FBO blitting.
Reviewed-by: Trond
|
| |
| |
| |
| |
| |
| | |
The brush transform needs to include the rect position.
Reviewed-by: Trond
|
| |
| |
| |
| |
| |
| |
| | |
When not setting filtering mode to GL_NEAREST/GL_LINEAR copying back
from FBO to texture fails for some reason.
Reviewed-by: Trond
|
| |
| |
| |
| |
| |
| | |
Override systemStateChanged() to get the system clip updates.
Reviewed-by: Trond
|
| |
| |
| |
| |
| |
| |
| | |
We need to use both qt_defaultDpiX and qt_defaultDpiY, and round
the resulting metric values.
Reviewed-by: Trond
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QMessageBox::question() has the wrong default value for
one of its arguments, but fixing it may break existing code,
and the workaround is trivial (just specify an explicit
value for the default argument).
Reviewed-by: TrustMe
Task-number: 254131
|
| | |
| | |
| | |
| | | |
Reviewed-by: TrustMe
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
compilation breakage introduced in 6c1d7e57.
The fix in fc7a43cce did fix the failure, but created another one
because qhostinfo_win.cpp also had a copy of qt_sockaddr_in6
Reviewed-by: Jason McDonald
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This restore the KDE3's behaviour.
Do not disable it on Windows as we are aware of customer using the
QPlastiqueStyle on Windows that might rely on this (for behaviour
consistancy with others Windows applications)
Reviewed-by: jbache
Task-number: 254210
|
| | |\ \
| | | |/
| | | |
| | | |
| | | | |
Conflicts:
src/corelib/kernel/qsharedmemory_unix.cpp
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
newline
Do the same special case as for QTextEdit
(yes, this is a pitty that we have special cases like that
Reviewed-by: Thierry
Task-number: 252532
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On Windows, QT_NO_IPV6 isn't defined, but the necessary includes were
missing. So #include winsock2.h and also use our own structures.
Reviewed-By: Trust Me
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-By: TrustMe
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-By: Oswald Buddenhagen
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The problem was that we installed an eventfilter regardless if the
gtk symbols were defined or not. Instead we now initialize and
check for the symbols before we install the filter.
Task-number: 254342
Reviewed-by: ogoffart
|
| | | |\ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Task-number: 254333
Reviewed-by: Andy Shaw <qt-info@nokia.com>
|