summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Fix more warnings for mingwThierry Bastian2009-09-033-6/+5
|
* fix warnings in stickman demo on mingwThierry Bastian2009-09-036-37/+32
| | | | | We now also use the brand-new QGraphicsObject class We also make sure we have less memory leak or bad deallocation.
* Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-09-033-14/+32
|\
| * Added the install path for the gestures imageviewer example.Denis Dzyubenko2009-09-031-6/+6
| | | | | | | | Reviewed-by: trustme
| * FortuneServer/Client example: fix displayed IPPeter Hartmann2009-09-032-8/+26
| | | | | | | | | | | | | | | | fortune server: listen to the first non-local IPv4 address found, fortune client: display that address as default in the line edit. Reviewed-by: Prasanth Ullattil Reviewed-by: Aleksandar Sasha Babic
* | Saxbookmarks bookmarks folder fixed for Symbian.Miikka Heikkinen2009-09-031-1/+4
| | | | | | | | | | | | | | | | | | Changed Saxbookmarks to look for bookmarks from installation drive instead of current drive, as current drive will always be C:/ by default. Task-number: 260731 Reviewed-by: Janne Anttila
* | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-09-031-2/+4
|\ \ | |/
| * Added a property to QPinchGesture to specify what exactly changed.Denis Dzyubenko2009-09-031-2/+2
| | | | | | | | | | | | | | Added QPinchGesture::whatChanged() which specifies which property in the pinch gesture changed - the scale factor or rotation angle or both. Reviewed-by: Bradley T. Hughes
| * Improved the gesture api.Denis Dzyubenko2009-09-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Made properties in QPanGesture and QPinchGesture more consistent - all of them have value, lastValue and totalValue. Documented that totalValue means the value from the beginning of the gesture, while the 'value' - from the beginning of the current sequence. This is especially useful on Windows when you zoom with two fingers and then release one finger and touch again to continue zooming. Also added a workaround for native Rotate gesture on Windows which contain a 'bad' value in the first WM_GESTURE message in every gesture sequence. Reviewed-by: Bradley T. Hughes
* | Added missing TARGET.UID3 definitions to various components.Miikka Heikkinen2009-09-036-1/+28
|/ | | | | | | Every non-test binary built for Symbian needs explicitly assigned UID3, so added TARGET.UID3 for components that were missing it. Reviewed-by: Janne Anttila
* Stickman: increases the view size for making room for jumping & dyingLeonardo Sobral Cunha2009-09-021-1/+5
| | | | Reviewed-by: ogoffart
* Don't show example fullscreen on desktopOlivier Goffart2009-09-022-6/+5
| | | | Reviewed-by: Jason Barron
* Fix repainting artifacts in Stickman exampleEskil Abrahamsen Blomfeldt2009-09-021-0/+1
| | | | | | | | | Graphics view now requires that you set a flag to get notifications about geometry changes. We need these changes to make sure the bounding rectangle of the parent item is up-to-date. Reviewed-by: Leo Task number: 258495
* make the animations file in stickman demo be resourcesThierry Bastian2009-09-023-5/+14
| | | | | | | This helps the demo find the files more easily Task-number: 260628 Reviewed-by: eskil
* Merge branch '4.5' into 4.6Thiago Macieira2009-09-012-13/+10
|\ | | | | | | | | Conflicts: examples/qws/dbscreen/dbscreen.cpp
| * Fix misformatted license headers.Jason McDonald2009-09-013-37/+28
| | | | | | | | Reviewed-by: Trust Me
* | Cleanup examples/effects/lighting.Bjørn Erik Nilsen2009-09-015-149/+21
| | | | | | | | There's no need to re-implement QGraphicsDropShadowEffect anymore.
* | Fixes examples/animation/states, supposedly hidden element was appearingLeonardo Sobral Cunha2009-09-011-2/+2
| | | | | | | | Reviewed-by: trustme
* | Initialize the line coordinates in the tablet example.Benjamin Poulain2009-08-311-1/+3
| | | | | | | | | | For the first tablet events, polyLine contains null points. The first two line painted have an invalid origin.
* | Use system-wide proxy settingsDavid Faure2009-08-312-0/+6
| |
* | Don't show the pad navigator example full screen.Andreas Aardal Hanssen2009-08-311-1/+1
| | | | | | | | | | | | | | | | This reverts a change added by 6a3de1f5 by mistake (according to the S60 guys). The proper fix may be to add a -small-screen argument, or to run fullscreen on embedded only. Reviewed-by: jbarron
* | Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-31109-1417/+1417
| | | | | | | | Reviewed-by: Trust Me
* | Fixed custom shader example to correctly use premultiplied colors.Samuel Rødal2009-08-311-1/+1
| | | | | | | | Reviewed-by: Gunnar
* | Merge branch '4.5' into 4.6Thiago Macieira2009-08-311007-13091/+13091
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/boxes/glshaders.cpp demos/boxes/vector.h demos/embedded/fluidlauncher/pictureflow.cpp demos/embedded/fluidlauncher/pictureflow.h doc/src/desktop-integration.qdoc doc/src/distributingqt.qdoc doc/src/examples-overview.qdoc doc/src/examples.qdoc doc/src/frameworks-technologies/dbus-adaptors.qdoc doc/src/geometry.qdoc doc/src/groups.qdoc doc/src/objecttrees.qdoc doc/src/platform-notes.qdoc doc/src/plugins-howto.qdoc doc/src/qt3support.qdoc doc/src/qtdbus.qdoc doc/src/qtdesigner.qdoc doc/src/qtgui.qdoc doc/src/qtmain.qdoc doc/src/qtopengl.qdoc doc/src/qtsvg.qdoc doc/src/qtuiloader.qdoc doc/src/qundo.qdoc doc/src/richtext.qdoc doc/src/topics.qdoc src/corelib/tools/qdumper.cpp src/gui/embedded/qkbdpc101_qws.cpp src/gui/embedded/qkbdsl5000_qws.cpp src/gui/embedded/qkbdusb_qws.cpp src/gui/embedded/qkbdvr41xx_qws.cpp src/gui/embedded/qkbdyopy_qws.cpp src/gui/embedded/qmousebus_qws.cpp src/gui/embedded/qmousevr41xx_qws.cpp src/gui/embedded/qmouseyopy_qws.cpp src/gui/painting/qpaintengine_d3d.cpp src/gui/painting/qwindowsurface_d3d.cpp src/opengl/gl2paintengineex/glgc_shader_source.h src/opengl/gl2paintengineex/qglpexshadermanager.cpp src/opengl/gl2paintengineex/qglpexshadermanager_p.h src/opengl/gl2paintengineex/qglshader.cpp src/opengl/gl2paintengineex/qglshader_p.h src/opengl/util/fragmentprograms_p.h src/plugins/kbddrivers/linuxis/linuxiskbdhandler.cpp src/plugins/mousedrivers/linuxis/linuxismousehandler.cpp src/script/parser/qscript.g src/script/qscriptarray_p.h src/script/qscriptasm_p.h src/script/qscriptbuffer_p.h src/script/qscriptclass.cpp src/script/qscriptclassdata_p.h src/script/qscriptcompiler.cpp src/script/qscriptcompiler_p.h src/script/qscriptcontext.cpp src/script/qscriptcontext_p.cpp src/script/qscriptcontext_p.h src/script/qscriptcontextfwd_p.h src/script/qscriptecmaarray.cpp src/script/qscriptecmaarray_p.h src/script/qscriptecmaboolean.cpp src/script/qscriptecmacore.cpp src/script/qscriptecmadate.cpp src/script/qscriptecmadate_p.h src/script/qscriptecmaerror.cpp src/script/qscriptecmaerror_p.h src/script/qscriptecmafunction.cpp src/script/qscriptecmafunction_p.h src/script/qscriptecmaglobal.cpp src/script/qscriptecmaglobal_p.h src/script/qscriptecmamath.cpp src/script/qscriptecmamath_p.h src/script/qscriptecmanumber.cpp src/script/qscriptecmanumber_p.h src/script/qscriptecmaobject.cpp src/script/qscriptecmaobject_p.h src/script/qscriptecmaregexp.cpp src/script/qscriptecmaregexp_p.h src/script/qscriptecmastring.cpp src/script/qscriptecmastring_p.h src/script/qscriptengine.cpp src/script/qscriptengine_p.cpp src/script/qscriptengine_p.h src/script/qscriptenginefwd_p.h src/script/qscriptextenumeration.cpp src/script/qscriptextenumeration_p.h src/script/qscriptextqobject.cpp src/script/qscriptextqobject_p.h src/script/qscriptextvariant.cpp src/script/qscriptfunction.cpp src/script/qscriptfunction_p.h src/script/qscriptgc_p.h src/script/qscriptmember_p.h src/script/qscriptobject_p.h src/script/qscriptprettypretty.cpp src/script/qscriptprettypretty_p.h src/script/qscriptvalue.cpp src/script/qscriptvalueimpl.cpp src/script/qscriptvalueimpl_p.h src/script/qscriptvalueimplfwd_p.h src/script/qscriptvalueiteratorimpl.cpp src/script/qscriptxmlgenerator.cpp src/script/qscriptxmlgenerator_p.h tests/auto/linguist/lupdate/testdata/recursivescan/project.ui tests/auto/linguist/lupdate/testdata/recursivescan/sub/finddialog.cpp tests/auto/qkeyevent/tst_qkeyevent.cpp tools/linguist/shared/cpp.cpp
| * Update tech preview license header.Jason McDonald2009-08-31999-12987/+12987
| | | | | | | | Reviewed-by: Trust Me
* | Ensured that the framebufferobject example has a stencil buffer.Samuel Rødal2009-08-281-0/+1
| | | | | | | | | | | | The stencil buffer is used for rasterization in the GL 2 paint engine. Reviewed-by: Trond
* | Runtime warning about non existing "zRotation" property in examples/states.Gabriel de Dietrich2009-08-281-30/+30
| | | | | | | | | | | | | | Fixed by using the "rotation" property instead. Task-number: 260403 Reviewed-by: ogoffart
* | Merge branch '4.5' into 4.6Thiago Macieira2009-08-288-76/+396
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: config.tests/unix/opengles2/opengles2.cpp tests/auto/linguist/lupdate/testdata/recursivescan/bar.ts.result tests/auto/linguist/lupdate/testdata/recursivescan/foo.ts.result tests/auto/linguist/lupdate/testdata/recursivescan/project.ui tests/auto/linguist/lupdate/testdata/recursivescan/sub/finddialog.cpp tests/auto/windowsmobile/test/ddhelper.cpp tests/auto/windowsmobile/testQMenuBar/main.cpp tests/auto/xmlpatternsxqts/lib/ASTItem.cpp tests/auto/xmlpatternsxqts/lib/DebugExpressionFactory.cpp tests/auto/xmlpatternsxqts/lib/ErrorHandler.cpp tests/auto/xmlpatternsxqts/lib/ErrorItem.cpp tests/auto/xmlpatternsxqts/lib/ExpressionInfo.cpp tests/auto/xmlpatternsxqts/lib/ExpressionNamer.cpp tests/auto/xmlpatternsxqts/lib/ExternalSourceLoader.cpp tests/auto/xmlpatternsxqts/lib/Global.cpp tests/auto/xmlpatternsxqts/lib/ResultThreader.cpp tests/auto/xmlpatternsxqts/lib/TestBaseLine.cpp tests/auto/xmlpatternsxqts/lib/TestCase.cpp tests/auto/xmlpatternsxqts/lib/TestContainer.cpp tests/auto/xmlpatternsxqts/lib/TestGroup.cpp tests/auto/xmlpatternsxqts/lib/TestResult.cpp tests/auto/xmlpatternsxqts/lib/TestResultHandler.cpp tests/auto/xmlpatternsxqts/lib/TestSuite.cpp tests/auto/xmlpatternsxqts/lib/TestSuiteHandler.cpp tests/auto/xmlpatternsxqts/lib/TestSuiteResult.cpp tests/auto/xmlpatternsxqts/lib/TreeItem.cpp tests/auto/xmlpatternsxqts/lib/TreeModel.cpp tests/auto/xmlpatternsxqts/lib/Worker.cpp tests/auto/xmlpatternsxqts/lib/XMLWriter.cpp tests/auto/xmlpatternsxqts/lib/XQTSTestCase.cpp tests/auto/xmlpatternsxqts/lib/XSLTTestSuiteHandler.cpp tests/benchmarks/qgraphicswidget/tst_qgraphicswidget.cpp tools/linguist/tests/data/main.cpp tools/linguist/tests/tst_linguist.cpp tools/linguist/tests/tst_lupdate.cpp tools/linguist/tests/tst_simtexth.cpp util/qlalr/examples/dummy-xml/ll/dummy-xml-ll.cpp util/qlalr/examples/lambda/main.cpp util/qlalr/examples/qparser/qparser.cpp
| * Add missing license headers.Jason McDonald2009-08-284-38/+198
| | | | | | | | Reviewed-by: Trust Me
| * Add missing license headers.Jason McDonald2009-08-284-38/+198
| | | | | | | | Reviewed-by: Trust Me
| * Update URL for Qt FTP site.Jason McDonald2009-08-111-1/+1
| | | | | | | | Reviewed-by: Trust Me
| * Update URL for Qt Labs.Jason McDonald2009-08-111-1/+1
| | | | | | | | Reviewed-by: Trust Me
| * Update URL of online documentation.Jason McDonald2009-08-119-18/+18
| | | | | | | | Reviewed-by: Trust Me
| * Eliminate some mentions of Trolltech.Jason McDonald2009-08-1110-24/+23
| | | | | | | | Reviewed-by: Trust Me
| * Qt's domain name is now qt.nokia.com.Jason McDonald2009-08-116-15/+15
| | | | | | | | Reviewed-by: Trust Me
| * Update license headers.Jason McDonald2009-08-11991-991/+991
| | | | | | | | Reviewed-by: Trust Me
* | Merge branch 'inputPanelExample' into 4.6axis2009-08-289-0/+979
|\ \
| * | Doc: Updated project files and Qt Demo XML to include the example.David Boddie2009-08-282-0/+9
| | |
| * | Doc: First review of the input panel example.David Boddie2009-08-281-1/+4
| | |
| * | Added an example documenting how to make a software input panel.axis2009-08-288-0/+967
| | | | | | | | | | | | | | | | | | RevBy: David Boddie David's fixes are in the next two commits.
* | | Gestures: Implement swipe gestureRichard Moe Gustavsen2009-08-271-3/+12
| | | | | | | | | | | | Note: if this fails building on any platform, talk to Denis!
* | | Mac: Fix Imageviewer example, and bugfix gesturesRichard Moe Gustavsen2009-08-272-249/+78
| | | | | | | | | | | | Rev-By: denis
* | | Cocoa: Implement single touch panRichard Moe Gustavsen2009-08-272-5/+6
| | |
* | | Make it compile on Windows CE where min and max are predefined macros.Jan-Arve Sæther2009-08-271-11/+11
| | | | | | | | | | | | Reviewed-by: mauricek
* | | Fixed the bubbles.svg file after fixing some bugs in the SVG renderer.Trond Kjernåsen2009-08-263-29/+29
| | | | | | | | | | | | Reviewed-by: Kim
* | | Made the opengl/overpainting example work with the GL 2 engine.Trond Kjernåsen2009-08-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since the GL 2 engine can't set/unset every single GL state that a user might possibly change, we have to make a rule that if something is changed from its default state, it needs to be reset before the GL 2 engine can draw correctly. Reviewed-by: Samuel
* | | Improved QPainter API for allowing native painting in GL / VG.Samuel Rødal2009-08-262-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | Previously we were using QPaintEngine::syncState() which is not ideal naming-wise, since it actually prepares for native painting instead of syncing the painter's state to native state. Reviewed-by: Trond
* | | Added missing precision specifiers to custom shader effect.Samuel Rødal2009-08-261-1/+1
| | | | | | | | | | | | | | | | | | The precision specifiers need to be there on OpenGL ES 2.0. Reviewed-by: Tom
* | | Make the 'effects' examples compile when qreal == float.Jason Barron2009-08-262-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | All of the types supplied to qBound() must be the same and in the case where qreal is typedef'ed to a float, this is not the case because the outer 2 arguments are considered doubles. We explicitly cast them to qreal to guarantee they are all the same type. Reviewed-by: bnilsen
* | | Fixed documentation and use of incorrect entry point for custom shaders.Samuel Rødal2009-08-251-3/+1
|/ / | | | | | | | | | | | | The entry point has been changed to be customShader, taking source image and texture coordinates as parameters. Reviewed-by: Tom