summaryrefslogtreecommitdiffstats
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* Add qtbynokia Twitter account into demo browser bookmarksMarkus Goetz2009-08-171-0/+3
| | | | Reviewed-by: TrustMe
* Use LIBS_PRIVATE on Mac and X11.Thiago Macieira2009-08-171-1/+1
| | | | | | | | | | | | | | | | On the Mac, it means "-framework ApplicationServices -framework Carbon -framework AppKit" are no longer part of the default LIBS in Qt applications. This required a lot of fixes where we used Mac-specific code in Qt. On X11, it was very straightforward, because we apparently use very little of X11 outside QtGui. I haven't changed the Windows-specific LIBS paths, because I don't know how Windows behaves. Windows has DLLs, but it links to static "import" libraries. So is it static linking or dynamic linking? Reviewed-By: Marius Storm-Olsen
* Fix compiler warningPrasanth Ullattil2009-08-131-2/+4
| | | | | | We need to remove Zm200 from compiler flags before adding Zm1200 Reviewed-by: Marius Storm-Olsen
* QGraphicsRotation and QGraphicsRotation3D are now merged into 1 classThierry Bastian2009-08-123-6/+5
| | | | | | | | You can now also set the axis following hte Qt::Axis enum Note: I'm not 100% sure about the maths in QGraphicsRotation::applyTo Feel free to fix it. Reviewed-by: ogoffart
* Replace some mentions of Trolltech with more appropriate terms.Jason McDonald2009-08-127-307/+303
| | | | Reviewed-by: Trust Me
* Update obsolete URL's in code and docs.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Update references to online documentation.Jason McDonald2009-08-121-2/+2
| | | | Reviewed-by: Trust Me
* Update URL's to use new domain.Jason McDonald2009-08-123-3/+3
| | | | Reviewed-by: Trust Me
* Update contact URL in license headers.Jason McDonald2009-08-12230-230/+230
| | | | Reviewed-by: Trust Me
* Introducing icon theme supportJens Bache-Wiig2009-08-101-25/+40
| | | | | | | | | | | | Added some static functions to QIcon to support desktop themes based on the freedesktop spec. It is not intended to replace KIcon and the intention is to use it when available to share icon cache between applications. Applications currently using icon themes are Assistant, Designer and the textedit demo. Reviewed-by: ogoffart
* Doc: Integrated the Rogue (state machine) example.Geir Vattekar2009-08-071-0/+1
| | | | Reviewed-by: Kent Hansen
* Merge AudioServices into mainline.Justin McPherson2009-08-051-0/+5
|
* Fix compilation and warningAlexis Menard2009-08-032-3/+5
| | | | Reviewed-by: TrustMe
* Add XML schema example to qtdemoPeter Hartmann2009-07-291-0/+1
| | | | Reviewed-by: Frans Englich
* Fix compilation errors in examples and demos on VxWorks and QNX.Robert Griebl2009-07-291-2/+3
| | | | Reviewed-by: Harald Fernengel
* Implement new transformation handling for graphics items.Lars Knoll2009-07-293-4/+15
| | | | | | | | | | | | | | | | | | The idea of having separate rotationX/Y/Z, shearX/Y, etc. methods in QGraphicsItem turned out to be not giving us the flexibility we need and wanted. The new code now implements a different scheme, where we keep simple rotate (around z-axis), scale and transformOriginPoint methods, but remove the other ones. Instead we now have an additional list of QGraphicsTransform object. QGraphicsTransform is an abstract class that inherits QObject. Several specializations are provided and can be used to transform (and through property bindings animate) the item. Reviewed-By: Andreas
* Move sub-attaq from examples to demos because sub-attaq is a bitAlexis Menard2009-07-2873-2/+6549
| | | | too "advanced".
* Fix: Qt::ToolButtonSystemDefault replaced with Qt::ToolButtonFollowStyleGuido Seifert2009-07-191-1/+1
| | | | Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Fix compileJens Bache-Wiig2009-07-171-1/+1
|
* Add priority property to QActionJens Bache-Wiig2009-07-171-0/+14
| | | | | | | | | | | We need this to support the behavior in Gtk+ where, when Qt::ToolButtonTextBesideIcon is used, only text labels for important actions are shown. It will also enable us to prioritize actions in the future when for instance collapsing a toolbar. Task-number: 258290 Reviewed-by: thierry
* Allow picking up tool button style from the systemJens Bache-Wiig2009-07-162-0/+2
| | | | | | | | | | | | KDE and GNOME has the concept of a default tool button style that can be set system-wide. Qt currently allways default to IconOnly. I have added an optional Qt::ToolButtonSystemDefault value so you can opt-in to respect the system setting. We did not change the default because a lot of apps will look odd when for instance text is beside icons and the descriptive text is too long. Task-number: 237864 Reviewed-by: ogoffart
* Added a version information to our executables.Denis Dzyubenko2009-07-151-0/+30
| | | | | | | | On Windows, the FileDescription part of the version information is used as a caption for the grouped taskbar button. Task-number: 253065 Reviewed-by: Prasanth Ullattil
* Added QTextListFormat::ListUpperRoman and QTextListFormat::ListLowerRoman ↵Nils Jeisecke2009-07-131-0/+8
| | | | | | | for roman numbering of lists as supported by HTML/ODF Reviewed-by: Olivier Goffart Merge-request: 681
* Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-07-131-0/+1
|\
| * Fix initialization of the HTML 5 offline storage.Simon Hausmann2009-07-131-0/+1
| | | | | | | | | | | | Place the databases into the normal data location. Reviewed-by: Ariya
* | Merge license header changes from 4.5Volker Hilsheimer2009-06-16204-406/+406
|\ \ | |/
| * Cleanup our usage of the term "Qt Software".Jason McDonald2009-06-162-2/+2
| | | | | | | | Reviewed-by: Trust Me
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-16206-410/+410
| | | | | | | | Reviewed-by: Trust Me
* | Merge commit 'origin/4.5'Bjørn Erik Nilsen2009-06-125-6/+14
|\ \ | |/ | | | | | | | | | | | | | | | | 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
| * Fixed a compile failure on Solaris, really :)Trond Kjernåsen2009-06-101-9/+9
| | | | | | | | | | | | You can't static_cast from a signed to an unsigned type and vice versa. Reviewed-by: Kim
| * Fixed non-working animations under X11 with the raster graphicssystem.Trond Kjernåsen2009-06-101-1/+1
| | | | | | | | Reviewed-by: jbache
| * BT: QtDemo works far to sluggish on macRichard Moe Gustavsen2009-06-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Basically we need to revert more of Oliviers change. The reason is that we just cannot run the demo on mac without timer based updates (as opposed to graphics view itself tries to figure out when to update). The reason is that the demo uses QItemAnimations extensivelly, which again uses QTimelines, wich again uses separate timers. And on mac, because of coalesced updated, each item animation will result in an individual redrawing of the scene. Task-number: 255751 Reviewed-by: Olivier
| * BT: Fixes building qtdemo in the installed tree of sources.Thomas Zander2009-06-101-1/+3
| | | | | | | | | | | | | | The QT_BUILD_TREE variable only works in the source or build dir, but fails in the demo which *install* the sources that should be buildable too. Reviewed-by: Marius Storm-Olsen
| * BT: Fix missing animation in the Qt Demo BrowserJens Bache-Wiig2009-06-091-2/+6
| | | | | | | | | | | | | | | | Change 259b65c2f5d736dd7f6d81b6390f54464dd5f183 prevents the animation from running on Windows. This is a partial revert that still preserves most of the performance fixes. Reviewed-by: ogoffart
| * BT: Fix the installed browser source tree to compile.Thomas Zander2009-06-091-1/+1
| |
| * BT: Make the spreadsheet demo install its header files so it will compile ↵Thomas Zander2009-06-091-1/+1
| | | | | | | | after installing
| * Fixed a compile issue on Solaris.Trond Kjernåsen2009-06-091-10/+10
| | | | | | | | | | | | GLchar is defined to be unsigned on Solaris for some reason. Reviewed-by: Tom
* | Removed background caching in embeddeddialogs demo.Samuel Rødal2009-06-091-1/+0
| | | | | | | | | | | | | | | | No point in caching a background that is already a pixmap. When maximizing the window this pixmap gets huge, and it doesn't help performance either. Reviewed-by: Trond
* | Merge commit 'origin/4.5'Olivier Goffart2009-06-042-12/+3
|\ \ | |/
| * BT: qt demo takes 100% of the cpu on X11Olivier Goffart2009-06-032-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The tick timer is always active, even if the moving gree Qt logo is not visible. But the code that is supposed to pause it when the app loose the focus doesn't works if the moving Qt logo is not visible. Also the call to syncX makes Xorg takes lot of cpu. It doesn't fix the fact that the timer is still running while the green logo is not visible, but at least doesn't take the cpu anymore if qtdemo loose the focus. Task-number: 255020 Reviewed-by: Richard Moe Gustavsen
* | compile fix with namespaceshjk2009-06-042-0/+5
| |
* | Improvements to shader API in response to API reviewRhys Weatherley2009-06-041-1/+1
| | | | | | | | | | Task-number: QT-80 Reviewed-by: Ian Walters
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-05-271-3/+3
|\ \ | |/ | | | | | | Conflicts: tests/auto/qtreeview/tst_qtreeview.cpp
| * BT: opening datetimepicker in a cell in spreadsheet demo resets the dateOlivier Goffart2009-05-261-3/+3
| | | | | | | | | | | | That was a bug in the exemple. Reviewed-by: Kavindra Palaraja
* | Merge branch 'master' into graphics-masterTom Cooksey2009-05-251-0/+15
|\ \
| * \ Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Thierry Bastian2009-05-228-72/+80
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | kinetic-animations Conflicts: src/corelib/kernel/kernel.pri src/corelib/kernel/qvariant_p.h src/corelib/tools/tools.pri src/gui/graphicsview/qgraphicsitem.cpp src/gui/graphicsview/qgraphicsitem.h src/gui/graphicsview/qgraphicswidget.h src/gui/gui.pro
| * | | add animation and state machine examples to qtdemoKent Hansen2009-05-201-0/+15
| | | |
* | | | Merge commit 'qt/master'Samuel Rødal2009-05-203-11/+15
|\ \ \ \ | | |/ / | |/| |
| * | | Merge commit 'origin/4.5'Samuel Rødal2009-05-201-2/+5
| |\ \ \ | | | |/ | | |/|
| | * | Compile on Solaris with broken GL headers.Trond Kjernåsen2009-05-201-2/+5
| | | | | | | | | | | | | | | | Reviewed-by: Samuel