summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation with Sun CC: no semi-colon after Q_PROPERTYThiago Macieira2009-11-251-1/+1
| | | | | Reviewed-By: Peter Hartmann (cherry picked from commit e6d6d3830e86202d4f32cd5695f37d4568710562)
* Enabled Qt icon in Symbian also for demos/examples without UID3.Janne Anttila2009-11-201-1/+1
| | | | | | | | | ICON keyword can be used without UID, since .mif filename is generated based on target instead of UID3 nowadays Task-number: QTBUG-4677 Reviewed-by: Miikka Heikkinen (cherry picked from commit 05e956d5c7d5c39bee332972ce54fea71c15d24b)
* Added default Qt icon back for Qt demos/examples in Symbian.Janne Anttila2009-11-201-0/+2
| | | | | | | | | | This commit basically reverts fa35247d31bd35d72c307f4a6a231400aade0c0. It can be reverted now since mifconv invoking is changed to use relative paths instead of absolute one. Task-number: QTBUG-4745 Reviewed-by: TrustMe (cherry picked from commit 4e4a800574a28a441858f95021d9092aa3001491)
* Revert "Doc: Added an example to demonstrate the QWebElement class."Jason McDonald2009-11-206-284/+1
| | | | | | | | This reverts commit 19d63f4d932ae16d0e1c69892681ecd1fabeb44c. Conflicts: doc/src/qt4-intro.qdoc
* Doc: Added an example to demonstrate the QWebElement class.David Boddie2009-11-206-1/+284
| | | | | Reviewed-by: Trust Me (cherry picked from commit d46b4208147ec01aba19c703f21954f068b4dc06)
* Use a lowercase name for the binary of the Form Extractor exampleBenjamin Poulain2009-11-191-1/+1
| | | | | | | | The name of the other examples are lowercase. The XML file of Qt Demo reference a lowercase name. Reviewed-by: Olivier Goffart (cherry picked from commit 34044853d4315309920a481a585f96ba7b3fb140)
* fancybrowser example: make sure that images are rotated for loaded pagesJocelyn Turcotte2009-11-192-4/+7
| | | | | | | See QTBUG-5532. Reviewed-by: Jedrzej Nowacki (cherry picked from commit 9f5dea393da4428685f1a1fd26b0e27f90dca340)
* Fix build breakage in 1b14c3d33dea0fe4814f2749c49cf916ca13e012Jason McDonald2009-11-191-6/+0
| | | | | Reviewed-by: Bradley T. Hughes (cherry picked from commit bf01b2fada207ee171224386771445487054d42b)
* Remove examples/effects/customshader which uses private APIJason McDonald2009-11-1919-572/+0
| | | | | | | | | | | | | | | | | | | Commit 3f109fd85cbdc49dc3ef1c14066073079f4e34bf made QGraphicsShaderEffect private API, however the example showing how to use it was kept. This patch just removes that example. Reviewed-by: Samuel (cherry picked from commit 1b14c3d33dea0fe4814f2749c49cf916ca13e012) Conflicts: examples/effects/customshader/blureffect.cpp examples/effects/customshader/blureffect.h examples/effects/customshader/blurpicker.cpp examples/effects/customshader/blurpicker.h examples/effects/customshader/customshadereffect.cpp examples/effects/customshader/customshadereffect.h examples/effects/customshader/main.cpp
* Make the layout not grow in filndfiles example whne one clicks findThierry Bastian2009-11-191-1/+1
| | | | | | Task-number: QTBUG-5528 Reviewed-by: Gabriel (cherry picked from commit f7a030d62ef9fc7725716951b87ec52f6a0d4c2e)
* Update license headers to release version.Jason McDonald2009-11-191118-14534/+14534
| | | | Reviewed-by: Trust Me
* xmlpatterns filetree example: make app a bundle on MacPeter Hartmann2009-11-181-1/+0
| | | | | | | | ... like all the other examples. Reviewed-by: Gabriel Task-number: QTBUG-5533 (cherry picked from commit dbdebbc68e42fb7d3f114f0765e2bf75a3fe19c0)
* Make pbuffers example compile under OpenGL/ES 1.1Rhys Weatherley2009-11-171-0/+8
| | | | | Reviewed-by: Sarah Smith (cherry picked from commit b2d5f886b36b4f4d317024db7cfd6668e2895cd4)
* Use a non-cosmetic 1-width pen in example to match graphicsview specsGunnar Sletta2009-11-161-1/+1
| | | | | Reviewed-by: Samuel (cherry picked from commit e35d08343032ca366541de2a892f36dfc266b0da)
* Compile fix Solaris: "sun" is defined to 1 on Solaris :)Jan-Arve Sæther2009-11-161-9/+9
| | | | (cherry picked from commit f79ecb7db2f26078541de6c31661fba76e12c9c0)
* Make the new examples for effects use the Qt Animation FrameworkThierry Bastian2009-11-136-69/+84
| | | | | | Task-number: QTBUG-5640 Reviewed-by: Leo (cherry picked from commit 6d4acbe94c71f7c0049cd08944855c23a716bee3)
* fademessage example: don't use a fixed width for the rect under the textJoerg Bornemann2009-11-131-3/+7
| | | | | | | Its using QFontMetrics::width now. Reviewed-by: thartman (cherry picked from commit 4e37815e7e3c68ff561ead147cb06898a2db9c75)
* fademessage example: deploy jpeg plugin on Windows CEJoerg Bornemann2009-11-131-0/+3
| | | | | Reviewed-by: thartman (cherry picked from commit a9576bacae07eb2b8465191a3e537a5659145914)
* Pinchzoom example zooms more smoothDenis Dzyubenko2009-11-132-5/+18
| | | | | | | | Remember the scale factor so it won't reset each time a new touch sequence starts. Reviewed-by: Bradley T. Hughes (cherry picked from commit 791c4035c28257e5a8426e6519866546faaf5286)
* Fixed opening files in the findfile example.Denis Dzyubenko2009-11-131-1/+1
| | | | | | | QDesktopServices::openUrl expects a proper url, not just a filename. Reviewed-by: Jedrzej Nowacki (cherry picked from commit 64946cdc9a5e934132f5c21cbd85e4c21bb5e161)
* Improvements to graphics effects API after review round.Samuel Rødal2009-11-104-6/+6
| | | | | | | | | | | | * Get rid of QGraphicsEffectSource from the public API, instead add convenience functions in QGraphicsEffect. This way we commit to less API, and are free to introduce a customizable QGraphicsEffectSource in a future release. * Move PixmapPadMode into QGraphicsEffect and tweak the names of the enum values. * Make QGraphicsBlurEffect::BlurHint into a bit flag, for extensibility. Reviewed-by: Bjørn Erik Nilsen
* Changes to low-level audio API.Kurt Korbatits2009-11-103-12/+12
| | | | | | | | | | | | | QAudioFormat::isNull() -> QAudioFormat::isValid() (inverse logic) QAudio::SuspendState -> QAudio::SuspendedState QAudio::StopState -> QAudio::StoppedState QAudioDeviceInfo::deviceList() -> QAudioDeviceInfo::availableDevices() clock() -> elapsedUSecs() totalTime() -> processedUSecs() QIODevice* start(QIODevice*) -> void start(QIODevice*), QIODevice* start() Reviewed-by:Justin McPherson
* Changes to low-level audio API.Kurt Korbatits2009-11-103-12/+12
| | | | | | | | | | | | | | | QAudioFormat::isNull() -> QAudioFormat::isValid() (inverse logic) QAudio::SuspendState -> QAudio::SuspendedState QAudio::StopState -> QAudio::StoppedState QAudioDeviceInfo::deviceList() -> QAudioDeviceInfo::availableDevices() clock() -> elapsedUSecs() totalTime() -> processedUSecs() QIODevice* start(QIODevice*) -> void start(QIODevice*), QIODevice* start() Reviewed-by:Justin McPherson
* Merge branch '4.6' of ../qt into 4.6Kurt Korbatits2009-11-1026-67/+424
|\
| * Merge commit 'qtwebkit/qtwebkit-4.6' into 4.6Jocelyn Turcotte2009-11-091-4/+3
| |\
| | * Corrects bug in fancybrowser example where image rotation did not work.Jocelyn Turcotte2009-11-061-4/+3
| | | | | | | | | | | | | | | | | | | | | This is actually only a workaround of what seems to be a QtWebKit bug. See QTBUG-4649. Reviewed-by: Jedrzej Nowacki
| * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Morten Engvoldsen2009-11-091-2/+2
| |\ \
| | * \ Merge branch '4.6-api-review' into 4.6Marius Storm-Olsen2009-11-091-2/+2
| | |\ \
| | | * | API review: QRegExp::numCaptures() -> QRegExp::captureCount()Marius Storm-Olsen2009-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QRegExp::numCaptures() is marked as obsolete. Replaced all usage in Qt and test-cases. Reviewed-by: Andreas Aardal Hanssen
| * | | | ÿþdMorten Engvoldsen2009-11-094-27/+46
| |/ / /
| * | | Merge commit 'origin/4.6' into 4.6Olivier Goffart2009-11-0610-33/+72
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: dist/changes-4.6.0
| | * \ \ Merge branch '4.6-s60' into 4.6axis2009-11-066-3/+27
| | |\ \ \ | | | |/ / | | |/| |
| | | * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6-s60axis2009-11-052-15/+0
| | | |\ \ | | | | |/
| | | * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6-s60axis2009-11-0410-32/+28
| | | |\ \
| | | * | | Added UIDs to projects lacking themMiikka Heikkinen2009-11-046-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added symbianpkgrules.pri include to some examples Reviewed-by: Janne Koskinen
| | * | | | Merge remote branch 'qt-official/4.6' into 4.6Morten Johan Sørvig2009-11-062-17/+25
| | |\ \ \ \
| | | * | | | Modify QGLShader and QGLShaderProgram in response to API reviewRhys Weatherley2009-11-052-17/+25
| | | | |_|/ | | | |/| | | | | | | | | | | | | | Reviewed-by: Sarah Smith
| | * | | | Fixed pinching in the imagegestures example.Denis Dzyubenko2009-11-051-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the gesture finishes it might not necessery set the ScaleFactorChanged flag. Also fixed the touch-event based pinch gesture. Reviewed-by: trustme
| | * | | | Small improvement in the imagegesture example.Denis Dzyubenko2009-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't actually need to fill the backgroup in the example as it will be done by Qt. And when double-clicked we need to reset the scale factor properly. Reviewed-by: trustme
| | * | | | Implemented QSwipeGesture recognizer using touch events.Denis Dzyubenko2009-11-051-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Bradley T. Hughes
| | * | | | Merge remote branch 'qt-official/4.6' into 4.6Morten Johan Sørvig2009-11-0511-41/+15
| | |\ \ \ \ | | | |/ / /
| | * | | | Mac: pinch gesture scales to fast and event below zeroRichard Moe Gustavsen2009-11-042-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the math correct. Plus, update the imagegesture example. Rev-By: denis
| * | | | | Pro file fixes wrt anchor layout examples.Jan-Arve Sæther2009-11-062-4/+3
| | | | | |
| * | | | | Make sure the pixmap is properly initialized.Jan-Arve Sæther2009-11-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: sroedal
| * | | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-widget-team into 4.6Jan-Arve Sæther2009-11-054-35/+16
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| * | | | | Merge branch 'fixes' of git://gitorious.org/~morphbr/qt/morphbrs-clone into ↵Jan-Arve Sæther2009-11-059-0/+300
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | morpheuz-fixes
| | * | | | | Weather Anchor Layout exampleArtur Duque de Souza2009-11-059-0/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a design that was not possible before with the other layouts. To do this, the developer would need to hardcode all the positions and resize would not work. Besides the fact that we use "pixmap widgets" no it's not totally usefull widgets, it shows how anchors can help developers an designers with to create applications with new layouts. Signed-off-by: Artur Duque de Souza <artur.souza@openbossa.org>
* | | | | | | Changes to low-level audio API.Kurt Korbatits2009-11-053-12/+12
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QAudioFormat::isNull() -> QAudioFormat::isValid() (inverse logic) QAudio::SuspendState -> QAudio::SuspendedState QAudio::StopState -> QAudio::StoppedState QAudioDeviceInfo::deviceList() -> QAudioDeviceInfo::availableDevices() clock() -> elapsedUSecs() totalTime() -> processedUSecs() QIODevice* start(QIODevice*) -> void start(QIODevice*), QIODevice* start() Reviewed-by:Justin McPherson
* | | | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Eskil Abrahamsen Blomfeldt2009-11-047-29/+23
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Merge commit '51c9b68' into 4.6Morten Johan Sørvig2009-11-042-20/+16
| |\ \ \ \ \ | | |/ / / / | |/| | / / | | | |/ / | | |/| | | | | | | Conflicts: dist/changes-4.6.0 src/gui/kernel/qevent.h