summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* general wording change for some file type namesFrederik Schwarzer2009-07-061-1/+1
| | | | | | | | | | | - .ts file -> TS file - .qm file -> QM file - .ui file -> UI file + a handfull of typos I stumbled over Merge-request: 802 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Refactored gesture apiDenis Dzyubenko2009-07-0282-14645/+59
| | | | | | | | | | | | | | | | Rewritten the api almost from scratch, making it simplier and more flexible at the same time. The current implementation will not have complex gseturemanager class inside Qt, but the QGesture base class, which represents both a gesture recognizer and a gesture itself with a set of properties. A set of common gestures that can use used in third-party applications (and in Qt itself internally) is supposed to be found in qstandardgestures.h, and a base class for user-defined gestures is in qgesture.h Gesture implementation for Pan on Windows7 has also been added as a reference implementation for platform gestures.
* These files don't have to have CRLF line-termination.Thiago Macieira2009-07-023-16/+14
| | | | The other files here don't, so I see no reason why these should
* Animation: fixed a NOTIFY signal name that was wrongThierry Bastian2009-07-011-6/+6
| | | | Also slightly updated a demo
* Made QPainter / OpenGL intermixing in hellogl_es2 work properly again.Samuel Rødal2009-07-011-0/+3
| | | | | | | Need to call syncState() to let the paint engine set depth clipping state parameters back to their OpenGL defaults. Reviewed-by: Trond
* examples: QString::fromUtf16() -> QString::fromWCharArray()Marius Storm-Olsen2009-07-011-1/+1
| | | | | Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* Doc: Documented the Move Blocks example.Geir Vattekar2009-06-291-4/+32
| | | | Reviewed-by: Andreas Aardal Hanssen
* Fix license headers after multitouch+gestures merge.Jason McDonald2009-06-2961-305/+305
| | | | | | | Commercial license headers belong in source packages only. The repo must have the pre-release license headers. Reviewed-by: Trust Me
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtJason McDonald2009-06-291-2/+1
|\
| * Make compile when -no-webkit is passed to configureBill King2009-06-291-2/+1
| |
* | Fix old/missing license headers from multitouch+gestures merge.Jason McDonald2009-06-2969-193/+398
|/ | | | Reviewed-by: Trust Me
* Cleanup includes in public headers.Bradley T. Hughes2009-06-261-0/+1
| | | | We don't want to pull in too much if we can avoid it.
* Don't build the pannablewebview example if webkit is disabledBradley T. Hughes2009-06-261-1/+4
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-247-0/+372
|\ | | | | | | | | Conflicts: src/gui/kernel/qapplication_x11.cpp
| * Merge commit 'origin/4.5'Oswald Buddenhagen2009-06-237-0/+372
| |\ | | | | | | | | | | | | Conflicts: src/sql/drivers/psql/qsql_psql.cpp
| | * Doc - Adding the new Frozen Column Example by Pierre Rossi into our list ofKavindra Devi Palaraja2009-06-231-0/+1
| | | | | | | | | | | | | | | | | | examples Reviewed-By: TrustMe
| | * Doc - Adding Pierre Rossi's frozen column exampleKavindra Devi Palaraja2009-06-236-0/+371
| | | | | | | | | | | | Reviewed-By: TrustMe
* | | Don't build the gesture browser "example" if webkit or svg are disabledBradley T. Hughes2009-06-231-1/+2
| | |
* | | Don't crash in the fingerpaint example if the touch id gets too largeBradley T. Hughes2009-06-221-1/+1
| | | | | | | | | | | | | | | Some touch devices don't recycle touch id's, so for longer sequences we could easily see ids that become larger than the color list size. Make sure we constrain the index we use.
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-221-14/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | Conflicts: doc/src/qnamespace.qdoc src/corelib/global/qnamespace.h src/gui/graphicsview/qgraphicsscene.cpp
| * | Demo: fixed colors in the calendar when May 1st is a FridayThierry Bastian2009-06-181-14/+14
| | | | | | | | | | | | Task-number: 255114
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-183-0/+3
|\ \ \ | |/ / | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem_p.h
| * | Use the unified toolbar on Mac.Morten Sørvig2009-06-183-0/+3
| | |
* | | update examples now that we get both touch and mouse events at the same timeBradley T. Hughes2009-06-185-7/+100
| | | | | | | | | | | | | | | added a new example to show how to enable touch for an existing widget (QDial in this case), and that the mouse event emulation of QWidget does the Right Thing (tm)
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-171075-2159/+2159
|\ \ \ | |/ / | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsscene_p.h
| * | Update license headers in files that are new in 4.6.Jason McDonald2009-06-1785-170/+170
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Merge license header changes from 4.5Volker Hilsheimer2009-06-16990-1989/+1989
| |\ \ | | |/
| | * Cleanup our usage of the term "Qt Software".Jason McDonald2009-06-164-9/+9
| | | | | | | | | | | | Reviewed-by: Trust Me
| | * Update license headers as requested by the marketing department.Jason McDonald2009-06-16988-1976/+1976
| | | | | | | | | | | | Reviewed-by: Trust Me
| | * Make the codeeditor example compile on Windows.Jason McDonald2009-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | Local includes should use the double-quote form of #include rather than the angle-bracket form. Reviewed-by: Trust Me
| * | Ported the FormExtractor example to use the new QWebElementSimon Hausmann2009-06-153-32/+25
| | | | | | | | | | | | Reviewed-by: Tor Arne
| * | Merge commit 'origin/4.5'Bjørn Erik Nilsen2009-06-127-21/+6
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/boxes/glshaders.cpp src/gui/graphicsview/qgraphicsitem.cpp tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp tools/linguist/shared/cpp.cpp translations/linguist_ja.qm translations/qt_ru.qm
| | * Trafficinfo example: One more asynchronous callMarkus Goetz2009-06-111-1/+1
| | | | | | | | | | | | Task-number: 254455
| | * Trafficinfo example: Asynchronous call to webservice at launchMarkus Goetz2009-06-111-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | This makes the main window shown immediatly even when the webservice of traffikanten.no cannot be reached. Does not properly fix the associated task yet, e.g. display an error message. Task-number: 254455
| | * Doc - fixed another typoKavindra Devi Palaraja2009-06-081-1/+1
| | | | | | | | | | | | Reviewed-By: TrustMe
| | * Doc - removing redundant return statementsKavindra Devi Palaraja2009-06-085-14/+0
| | | | | | | | | | | | Reviewed-By: Ariya Hidayat <ariya.hidayat@nokia.com>
* | | Merge of masterBradley T. Hughes2009-06-1510-53/+31
| | |
* | | enable touch events on all views if an item has touch enabledBradley T. Hughes2009-06-111-1/+0
| | |
* | | remove duplicated code and API (merge QTouchEvent and QGraphicsSceneTouchEvent)Bradley T. Hughes2009-06-111-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | the API for these 2 classes is identical, the implementation is almost identical, they share the same data structures, so bite the bullet and merge them. this means we go back to using screenPos() instead of globalPos() again
* | | another API review round: change Q*TouchEvent size() functions to return ↵Bradley T. Hughes2009-06-111-8/+5
| | | | | | | | | | | | | | | | | | rects instead these are more useful, as already shown in the fingerpaint example
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-101-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem.cpp src/gui/graphicsview/qgraphicsitem_p.h src/gui/graphicsview/qgraphicsscene_p.h
| * | Merge commit 'qt-mainline/master' into master-recursivepaintAndreas Aardal Hanssen2009-06-101-3/+2
| |\ \
| * | | Add ItemSendsGeometryChanges, replacing itemChangeEnabled().Andreas Aardal Hanssen2009-06-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This flag toggles whether we should send notifications for setPos, setMatrix, and setTransform. It's off by default. Docs have been updated. All autotests pass. This change also cleans up a bit so that we both have readable code, and keeping the optimized path for when we need to send the notifications. By enabling this flag by default we are going to trigger regressions in end-user code. Reviewed-by: bnilsen
* | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-101-3/+2
|\ \ \ \ | | |/ / | |/| |
| * | | WinCE doesn't have time() function, use QTimeKent Hansen2009-06-091-3/+2
| |/ /
* | | add gesture examples to the examples.pro SUBDIRSBradley T. Hughes2009-06-101-1/+2
| | |
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-087-29/+29
|\ \ \ | |/ /
| * | Sync the French tutorial with the English versionBenjamin Poulain2009-06-085-15/+1
| | | | | | | | | | | | Reviewed-by: Pierre
| * | Make sure we draw the complete curve.Jan-Arve Sæther2009-06-081-1/+1
| | |
| * | Use a QPainterPath instead to draw the graph.Jan-Arve Sæther2009-06-081-5/+5
| | | | | | | | | | | | | | | | | | This enables the antialiazing to be done on the graph as a whole, and not on every tiny line segment. The result is that the curve is painter prettier.