summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qgl.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-11-11 15:59:37 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-11-16 15:23:48 (GMT)
commit80b0d855c1fcb477f7937bd6ce4a63dda257ed92 (patch)
treea9203933fd0544673c4d5b83f46d43fb9c1a2ef8 /doc/src/snippets/code/src_opengl_qgl.cpp
parent48c7ac801fb0ffe8a7b050af7f60524ea6abba44 (diff)
downloadQt-80b0d855c1fcb477f7937bd6ce4a63dda257ed92.zip
Qt-80b0d855c1fcb477f7937bd6ce4a63dda257ed92.tar.gz
Qt-80b0d855c1fcb477f7937bd6ce4a63dda257ed92.tar.bz2
Add option to ingore unused navigation events in QTextControl
QFxTextEdit, as well as systems with keypad navigation, needs the text control to ignore navigation events that have no effect (like hitting the right navigation key at the end of the text.) Previously, we would only support this for keypad navigation. This patch introduces a flag that you can set to tell the QTextControl to ignore these events. If the flag is not explicitly set, behavior should remain as before. The if-test has been refactored to make it more readable. Done-with: Alan Alpert Reviewed-by: Samuel (cherry picked from commit fab1ce65da8bacfce92b1df7656780e729d31b74)
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qgl.cpp')
0 files changed, 0 insertions, 0 deletions