summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Remove the 'script' sub-directory from the symbian scope.Jason Barron2009-08-251-1/+0
| | | | | | | | | | | | | | | | Now that QtScript is an optional module there is a chance that it is not built so don't try to explicitly force it to compile these examples. Reviewed-by: Aleksandar Babic
* | Integrate QAbstractVideoSurface API.Andrew den Exter2009-08-2416-1/+1377
| | | | | | | | | | | | | | | | | | | | This introduces a QAbstractVideoSurface interface for implementing arbitrary video outputs, and a QVideoFrame type. Also included is the QVideoSurfaceFormat class which is used to configure the input to a video surface, and the QAbstractVideoBuffer class which allows QVideoFrames to be constructed from non-native frame types. Reviewed-by: Dmytro Poplavskiy
* | Examples: Warn about usage of QHttpMarkus Goetz2009-08-243-0/+3
| | | | | | | | | | | | | | This is an intermediate solution until the examples have been ported to using QNetworkAccessManager. Reviewed-by: TrustMe
* | Fix double to float truncation warning.Alessandro Portale2009-08-241-1/+1
| |
* | Make context2d compile with QT_NO_SCRIPTTOOLS.Jason Barron2009-08-241-2/+4
| | | | | | | | | | | | These two member variables should be ifdef'ed. Reviewed-by: Kent Hansen
* | Fix warning about unreferenced element.Alessandro Portale2009-08-211-3/+1
| | | | | | | | StationQuery::query is static. No need for StationQuery instance.
* | Fix warning about unreferenced element.Alessandro Portale2009-08-211-2/+1
| | | | | | | | TimeQuery::query is static. No need for TimeQuery instance.
* | Fix double to float truncation warning.Alessandro Portale2009-08-211-1/+1
| |
* | Add missing license headers and header guards.Jason McDonald2009-08-211-0/+41
| | | | | | | | Reviewed-by: Trust Me
* | Fix obsolete license headers.Jason McDonald2009-08-2117-34/+34
| | | | | | | | Reviewed-by: Trust Me
* | renamed examplebase.pri to symbianpkgrules.priEspen Riskedal2009-08-21241-326/+357
| | | | | | | | | | | | | | | | examplesbase.pri sounded to generic and it was not obvious that this was only for Symbian. Also merged the different symbian rules if they were spread around in the .pro file. Reviewed-by: Aleksandar Sasha Babic
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into master-s60axis2009-08-2144-0/+1401
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem.cpp src/gui/kernel/qwidget.cpp src/gui/kernel/qwidget_p.h
| * | Only compile shader effect example when having OpenGL.Bjørn Erik Nilsen2009-08-212-3/+3
| | |
| * | Move shader effect example from examples/graphicsview to examples/effectsBjørn Erik Nilsen2009-08-2120-4/+10
| | |