summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-doc-team into 4.6David Boddie2009-11-032-1/+3
|\ | | | | | | | | | | Conflicts: src/gui/kernel/qevent.cpp src/network/ssl/qsslerror.cpp
| * Fixed main window closing when subwindows cancel their close events.David Boddie2009-11-021-1/+1
| | | | | | | | | | | | Reviewed-by: Trust Me Reported-here: http://lists.trolltech.com/pipermail/qt4-preview-feedback /2009-October/001023.html
| * Doc: i18n overhaul for QObject::tr() and the Qt Linguist manual.David Boddie2009-11-021-0/+2
| | | | | | | | Reviewed-by: Trust Me
* | Add QScriptString::toArrayIndex() functionKent Hansen2009-10-301-14/+3
|/ | | | | | | | | | Avoid hacking a custom toArrayIndex() in the example; instead provide an ECMA-compliant conversion that's as fast as possible (having to convert the QScriptString to a QString and then convert the result to a number is considerably slower than calling JSC's Identifier::toArrayIndex() function directly). Reviewed-by: Olivier Goffart
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6axis2009-10-273-8/+145
|\
| * Doc: Reviewed and revised QGraphicsAnchorLayout documentation.David Boddie2009-10-233-8/+145
| | | | | | | | Reviewed-by: Trust Me
* | Emulator IAP fix for SymbianJanne Koskinen2009-10-261-0/+4
|/ | | | | | | Don't display multiple useless IAP dialogs in the emulator environment. If you need specific IAP then you need to revert this commit. Reviewed-by: Aleksandar Babic
* Compile fix.Denis Dzyubenko2009-10-221-3/+3
| | | | | | | QPanGesture was changed to use QPointF instead of QSizeF, also need to change all usages of the pan gesture. Reviewed-by: trustme
* Fixed clock() function return values in audio class's.Kurt Korbatits2009-10-222-2/+2
| | | | | | | clock() function should return microseconds, fixed example, alsa backend and win32 backend. Reviewed-by:Justin McPherson
* Doc: Documentation for gesture features. Still a moving target.David Boddie2009-10-163-12/+13
| | | | Reviewed-by: Trust Me
* Doc: Moving the Image Gestures example.David Boddie2009-10-167-1/+1
| | | | Reviewed-by: Trust Me
* Doc: Gesture API documentation review and improvements.David Boddie2009-10-165-37/+133
| | | | Reviewed-by: Trust Me
* Move audio and video examples into the common multimedia directory.Andrew den Exter2009-10-1631-28/+27
| | | | | | | | | Brings the video examples into multimedia directory, and removes the audio sub-directory so the directory structure is in line with the other example categories. Task-number: QT-667 Reviewed-by: Kurt Korbatits
* compile fix with namepaceshjk2009-10-153-0/+6
|
* customshader won't work on OpenGL/ES 1.1 so disable for those platformsRhys Weatherley2009-10-151-1/+5
| | | | Reviewed-by: trustme
* Mac: implement gestures conforming to the new APIRichard Moe Gustavsen2009-10-131-4/+4
|
* Remove the ahigl example screen driver.Rhys Weatherley2009-10-126-1608/+0
| | | | | | | | This example is very old, doesn't work, and confuses anyone who reads about it into thinking that OpenGL compositing is possible with Qt/Embedded, which is not accurate. Reviewed-by: trustme
* Doc: Added an example to the list of Graphics View examples to build.David Boddie2009-10-121-0/+1
| | | | Reviewed-by: Trust Me
* Doc: Gesture API documentation review.David Boddie2009-10-121-0/+2
| | | | Reviewed-by: Trust Me
* Enable mouse cursor in drilldown exampleShane Kearns2009-10-121-0/+3
| | | | | | | This example is unusable with keypad navigation, virtual cursor makes it possible to use without touch screen Reviewed-by: TrustMe
* A new implementation of the Gesture API.Denis Dzyubenko2009-10-095-273/+64
| | | | | | | Implemented gestures using gesture events and separate QGesture/QGestureRecognizer classes. Reviewed-by: trustme
* Fix build on Symbian: make sure sym_iap_util.h can be found.Frans Englich2009-10-093-3/+3
| | | | | | | | Amend commit faef2f5101287ad8ce94cf8e7a4d574a7d6267fd, with this build fix. Task-number: QTBUG-4743 Reviewed-by: Shane Kearns
* Symbian fix: rename examples ftp and musicplayer to start with q.Frans Englich2009-10-0915-8/+8
| | | | | | | | | | | | | | | | Symbian already has the executables musicplayer.exe, mediaplayer.exe and ftp.exe, with the result that we overwrite them with Qt. We solve this by renaming the examples, and do it not only on Symbian, such that Qt remains consistent across platforms. This was previously partly done for mediaplayer. The folder name needs to be consistent with the executable, for qtdemo to work. Done jointly with Alessandro. Task-number: QTBUG-4743 Reviewed-by: Alessandro Portale Reviewed-by: Frans Englich
* hellogl now runs on QT_OPENGL_ES_1 (ie N95).Sarah Smith2009-10-097-6/+38
| | | | | | | effort to have examples show portable GL code continues. One #ifdef in whole example and it now runs on N95 and desktop. Reviewed-by: Rhys Weatherley
* Fixing some GCC warningsJoão Abecasis2009-10-071-2/+2
| | | | Reviewed-by: Markus Goetz
* Integrate the GuiPlatformPlugin interfaceOlivier Goffart2009-10-071-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This is an internal interface for plugins that can be provided by the platform to give platform-specific features by platforms built on top of Qt. We can easlily integrate Qt on Windows, Mac, Gnome, ... without any plugin because we can link to their respective library (dynamically if we don't want to depend on it). On Gnome, we can dynamically resolve Gtk+ symbols. This is however not possible for KDE or other platform built on top of Qt: we can't link against their library because they depend on us and we can't dynamically resolve the symbols because they are mangled (C++) So this plugin provides hooks inside Qt to be able to do things like native File or Color dialog, native icons, accurate reading of the config file, and so on. This is currently private API. Task-number: QT-406 Reviewed-by: Jens Bache-Wiig Reviewed-by: Oswald Buddenhagen
* Fix build error introduced in change ffeb6900.Jason McDonald2009-10-072-2/+2
| | | | | | Change ffeb6900 renamed a function but didn't rename all the calls. Reviewed-by: Trust Me
* Removed ICON for apps and demos except fluidlauncher and desktopservicesEspen Riskedal2009-10-061-2/+0
| | | | | | | | mifconv can't always handle absolute paths to the .svg specified, so for now we don't use absolute paths, and fix it later. Task-number: QTBUG-4693 Reviewed-by: Shane Kearns
* Fixed noisy looking textures in Basic Drawing example with GL2 engine.Kim Motoyoshi Kalland2009-10-051-3/+2
| | | | | | | | | | | When running the Basic Drawing example with the GL2 paint engine and antialiasing enabled, textures looked noisy. When antialiasing was enabled, the example translated the painter half a pixel to get sharp lines. This caused the textures to be sampled at texel corners. Without linear interpolation, sampling textures at texel corners is unpredictable. The fix is to not translate the painter. Reviewed-by: Gunnar
* Fix compilation on Solaris.Thiago Macieira2009-10-051-3/+3
| | | | | | No semi-colons allowed after Q_PROPERTY. Reviewed-by: Trust Me
* Silence moc warning.Volker Hilsheimer2009-10-031-0/+1
|
* Compile Rogue example again after state machchine event type rename.Volker Hilsheimer2009-10-031-1/+1
|
* Demos and applications have a nice Qt logo when installed on SymbianEspen Riskedal2009-10-0246-46/+48
| | | | | | | | | | Added a line to the symbianpkgrules.pri files which includes an ICON if the TARGET.UID3 is defined. We should fix the application_icon.prf to handle ICON without UID3 situations more gracefully, but for now I reordered existing UID3s to be specified before the symbianpkgrules.pri includes. Reviewed-by: Aleksandar Babic
* doc: Fixed numerous qdoc errors.Martin Smith2009-10-021-1/+1
|
* Added support for -small-screen argument for Context2d exampleMiikka Heikkinen2009-10-021-1/+12
| | | | | | | | To improve screen real-estate utilization in small screen devices, added -small-screen command line argument to the Context2d application. Task-number: QTBUG-3296 Reviewed-by: Janne Koskinen
* Threaded Fortune server example: fix displayed IPPeter Hartmann2009-10-012-3/+14
| | | | | | | listen to the first non-local IPv4 address found, as in commit 5e3775ae4c5263a25e63868e8a3f16244e4dde02 Reviewed-by: Aleksandar Babic
* Compile fix for pbuffers under LinuxRhys Weatherley2009-10-012-1/+2
| | | | Reviewed-by: Sarah Smith
* Remove display lists and refactor ready for ES/ES2 portSarah Smith2009-10-016-168/+649
| | | | | | | | | Display lists, and a few other features dont work in ES/ES2. Refaoctor to allow redo of lighting and other non-fixed-function pipeline features. Also use QAnimation* classes instead of timers, and correct a few minor bugs (flipped texture). Include new screenshot (old one manifested bug). Reviewed-by: Rhys Weatherley
* Simplify code of states exampleThierry Bastian2009-09-301-42/+40
| | | | We're not using QGraphicsWidget any more
* Avoid warnings in the states exampleThierry Bastian2009-09-301-72/+63
| | | | We now have the animations directly added to the transition
* Cleaning up usage of examples/{examplebase,symbianpkgrules}.priJoão Abecasis2009-09-3017-35/+1
| | | | | | | | | | examplebase.pri was renamed to symbianpkgrules, but some project files were not updated to reflect the change. Since it doesn't make sense to have this in non-portable examples, the include is removed in those cases. Reviewed-by: Espen Riskedal
* Google Chat example: always bail out if SSL not availablePeter Hartmann2009-09-301-5/+5
| | | | Reviewed-by: Simon Hausmann
* Revert "Google Chat example: state that SSL is required"Peter Hartmann2009-09-301-15/+0
| | | | | | | This reverts commit 59623e45ee31892c9ef210f8d7e396ccb0fe31a5. A fix for the same problem had been pushed by Simon shortly before that one.
* Google Chat example: state that SSL is requiredPeter Hartmann2009-09-301-0/+15
| | | | | | | bail out if SSL is not supported; before it only showed "service unavailable", which was somewhat confusing. Reviewed-by: Tor Arne Vestbø
* Fix googlechat example when Qt is lacking SSL support.Simon Hausmann2009-09-302-2/+9
| | | | | | | | | | | Don't build the googlechat example if QSslSocket isn't available. And even then also perform a run-time check and display an error page if SSL is not available. This is because the login into Google Chat works through an https website. Reviewed-by: Jesper
* Introduce state machine event priority, make it possible to cancel eventsKent Hansen2009-09-291-2/+2
| | | | | | | | | | | | The priority specifies whether the event should be posted to what the SCXML spec refers to as the "external" (NormalPriority) queue, or the "internal" (HighPriority) queue. Delayed events are now posted through a separate function, postDelayedEvent(). That function returns an id that can be passed to cancelDelayedEvent() to cancel it. Reviewed-by: Eskil Abrahamsen Blomfeldt
* Recorrect formextractor example build break after updating 3rdparty/webkitJocelyn Turcotte2009-09-291-7/+7
|
* Fixes compileBill King2009-09-291-7/+7
|
* Correct the formextractor which was using removed QWebElement APIJocelyn Turcotte2009-09-281-7/+7
| | | | Reviewed-by: Kent Hansen
* Animations: updateCurrentTime now receives the currentTime as paramaterThierry Bastian2009-09-281-3/+3
| | | | Reviewed-by: Leo