summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in docs.Richard Moore2012-12-211-1/+1
| | | | | Change-Id: I608fbf5751bf1fa819d9fe10e159fa2a9c5e238d Reviewed-by: hjk <qthjk@ovi.com>
* Fix compilation of Open GL ES 2 examples when using a Qt-namespace.Friedemann Kleint2012-12-193-5/+2
| | | | | Change-Id: I174569a8c989ab53fb6b9bb700c110db2f93c2d5 Reviewed-by: hjk <qthjk@ovi.com>
* fix examples/gui/analogclock for MSVCJoerg Bornemann2012-12-191-0/+3
| | | | | | | | | | This example is hit by the infamous QTBUG-13496 issue. Task-number: QTBUG-28665 Change-Id: I9bcffe72d34b1eaa9f5beafc69a16913a597d17f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Qt Gui Examples: Fixed QDoc filesChristiaan Janssen2012-12-183-0/+0
| | | | | Change-Id: I160d8d186a1078f20f2b779bfbdae90459c27641 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fix building of the painting examples that use shared codehjk2012-12-181-16/+15
| | | | | | | | Task-number: QTCREATORBUG-8437 Change-Id: I66031184a009f3b26ad4af36b1975204e8fa80dc Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> (cherry picked from commit 2dc6ad8adf7f98d55aca5def8ee3f9c12934fb7b)
* clean up example project files, mostly wrt QT+=widgetsOswald Buddenhagen2012-12-17168-351/+324
| | | | | | | | | move QT+=widgets (and printsupport) statements before the install statements, and de-duplicate some cases. also move some TARGET assignments to a more conventional place. Change-Id: I6140d8611680f66c24490e5894e4eb90cae95635 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* remove QT+=widgets from SUBDIRS projectsOswald Buddenhagen2012-12-1728-50/+0
| | | | | | | it makes no sense whatsoever Change-Id: Ica7c764575079a12512ee2eb62a995ebbefa09a0 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* remove some unnecessary CONFIG additionsOswald Buddenhagen2012-12-177-8/+0
| | | | | | | | qt is already added by spec_pre.prf, warn_on and depend_includepath by default_pre.prf. Change-Id: Ic00e0ba496d698ed9659c476f2ca99fc0f86a093 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* OpenGL examples: Add error message about ANGLE on WindowsThomas Hartmann2012-12-177-0/+42
| | | | | | | | | | | | | | | | | | | These OpenGL examples require a Desktop OpenGL and will not build with OpenGL ES 2.0. This means those examples do not build on Windows with the default configuration using ANGLE. ANGLE is wrapping OpenGL ES 2.0 to DirectX and does not support the full Desktop OpenGL feature set. Since this is confusing for Windows users that do not know about ANGLE this patch adds an explicit error message describing the solution. (configuring Qt with -opengl desktop) Task-number: QTBUG-28590 Change-Id: I782e6830b9e282ddcc8a2ee0a47faf3579d36aab Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix mandlebrot and imagescaling example qdoc markup.hjk2012-12-172-7/+6
| | | | | Change-Id: I5c9802cab917203092d93fca73b166d2dfeb64bc Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* D-Bus Examples: added qdoc files and pathChristiaan Janssen2012-12-145-0/+155
| | | | | | Change-Id: I59b3db3f3c5d076b60a2e6f909d7919d5126a1e6 Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Entered hardcoded url to XaoS as a workaroundNico Vertriest2012-12-141-1/+1
| | | | | | | | | | Symbel from external-resource.qdoc not working, so replace it with the url. Corrected in mandelbrot.qdoc Task-number : QTBUG-27512 Change-Id: Ibf54bf707deb73f1cf22d347839dcd347382ecd9 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: Added documentation for dbus and touch examplesVenugopal Shivashankar2012-12-146-0/+112
| | | | | Change-Id: I68b6679e1f3454d93081136a77fc5462e434b61e Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Entered hardcoded url workaround QTBUG-28500Nico Vertriest2012-12-141-2/+2
| | | | | | | | Url for OpenGL Registry Url for Khronos OpenGL ES API Registry Change-Id: I682ddcedf1e06d589e5c44e364936c78fd9219a5 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* QtBase: Removed moved linguist examples.David Schulz2012-12-1420-982/+0
| | | | | | | Linguist examples are now in qttools. Change-Id: I8abfff50d81cda143a080711bf9583e7be777009 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* Doc: remove example docs that were moved to qttoolsLeena Miettinen2012-12-142-159/+0
| | | | | | | | | Remove docs and images for Multiple Inheritance and Text Finder examples that were moved to qttools/uitools. Change-Id: I29e8f76b2512e329c354a6d3676c9b2e09e35726 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: David Schulz <david.schulz@digia.com>
* Enhance example qtbase/examples/widgets/widgets/mousebuttonsRick Stockton2012-12-143-6/+55
| | | | | | | | | | | Add Display and QDebug() of Qt::MouseButtons values. (I.e., Buttons believed to be in 'Pressed' State by Qt.) Assists in platform plugin mouse software debug. Task-number: QTBUG-28603 Change-Id: I4a7a3ac44a8cc7eb1eceb9f348493b58b12dbd69 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Fix empty window title regression, add application display name to window titleDavid Faure2012-12-141-0/+1
| | | | | | | | | | | | | | | This increases consistency a lot: all windows and dialogs from a Qt application will show the app display name in the caption, on Windows and X11. This helps identifying which app a dialog belongs to, which is especially useful when the dialog is very generic and shows up unexpectedly. For compatibility reasons, the app name is added to the caption only if setApplicationDisplayName() was called -- or if the caption would be completely empty. The standard Qt4 case (setWindowTitle + no display name) is unchanged. Change-Id: Ib284c62c1f4c0bc923e5bc2d10247d95e9aa76c1 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Docs: Fix referencesChristian Stenger2012-12-131-1/+1
| | | | | Change-Id: I48173186afb874d307010f4f303d0e4f97ec0287 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Some fixes to the OpenGL docs in GUIGunnar Sletta2012-12-121-0/+0
| | | | | Change-Id: I6415ff16b1765a5814d50a4cd39db00495d43073 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* install a sane top-level examples.pro fileOswald Buddenhagen2012-12-112-0/+12
| | | | | | | | | | generally, don't install anything from the top-level examples dirs automatically. the global README and the aggregator examples.pro are installed explicitly. Change-Id: I5f6b8760f37d917b800fa85979896a471778cac0 Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Hardcoded url to RFC3174 QTBUG-28500Nico Vertriest2012-12-111-1/+1
| | | | | | | Corrected in torrent.qdoc Change-Id: Idb1bf1ed869c0db80e557832a61d6eb28585c77a Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: Added documentation for the examplesVenugopal Shivashankar2012-12-1151-60/+552
| | | | | | | | | | | - Moved documentation for the Qt XML, Qt Widgets, Qt Concurrent, and Qt Network examples from qtdoc. - Grouped the documentation pages under relevant groups - Fixed \snippet paths Task-number: QTBUG-27515 Change-Id: I43c22a679e2eefbb48e3cd5893aa2afd3d905863 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Mark \brief comments in thread examples.hjk2012-12-104-4/+4
| | | | | Change-Id: Ib496b1e500820774354c20003edb22748324cb5f Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fixed installation of gui examples' targetsOliver Wolff2012-12-103-0/+9
| | | | | Change-Id: Ie945ffac56ed83d2dc4605a073bcab4ef6f290ac Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* QtBase: Doc: Fix Links to designer manual.David Schulz2012-12-101-3/+2
| | | | | Change-Id: I87f68fb70aa773c44b90b58bd56fc5585a7e4107 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* Doc: Updated outdated docs to use new macroChristian Stenger2012-12-102-9/+18
| | | | | Change-Id: I9a3528112fba1db988592d9f4f470ec678e81e1a Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Removed requestOrientation() API from QWindow.Samuel Rødal2012-12-061-9/+7
| | | | | | | | | | | There are no proper implementations of this API, and as it stands it only acts to confuse anyone who stumbles across it. It will be better to revisit the full cross platform orientation API story for 5.1. Change-Id: Iff7054a32c6e5e4ad0cc0493a5e4ecc35a6ec4f3 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
* Fix compile with -DQT_NO_SYSTEMTRAYICONMontel Laurent2012-12-063-1/+34
| | | | | Change-Id: Icca0bef7efca77a841b30f40692144663e7ae913 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* doc: Add missing images in richtext example docsEskil Abrahamsen Blomfeldt2012-12-063-0/+0
| | | | | | | Copied from Qt 4.8 Change-Id: Ic98a5e87305dbf9bb0df7ae071c42bb42a803b10 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* doc: Fix Graphics View example docsEskil Abrahamsen Blomfeldt2012-12-069-2/+154
| | | | | | | | | | | Make the same layout of the new graphics view example documentation as we had before (except by using annotatedlist instead of hardcoding the links). I've also moved four examples from qtdoc to qtbase so that they can be included in this documentation. Change-Id: Ic2202ade119cadd98d036f1bd77e91dae49b5677 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Fix reference to example pathshjk2012-12-067-7/+7
| | | | | | | | This eliminates seven EXAMPLE PATH DOES NOT EXIST warnings. Change-Id: Iaa6267138a1799fb775f0034805d5691bfa40d7c Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fix compile with -DQT_NO_TRANSLATIONMontel Laurent2012-12-056-2/+12
| | | | | Change-Id: Ia6929f871485476e8b5bb14e7bf8117d0c562841 Reviewed-by: David Faure <david.faure@kdab.com>
* Doc: Added documentation for the collidingmice exampleVenugopal Shivashankar2012-12-052-0/+271
| | | | | | | Task-number: QTBUG-27515 Change-Id: I1bc11d381c0ea8f6ef7ea32093d7e981ca9db91e Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: Fix some more linksChristian Stenger2012-12-051-1/+1
| | | | | Change-Id: I94c853532cd3ed9bf18e6d471f99560e04131fdf Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fix compile with -DQT_NO_WHEELEVENTMontel Laurent2012-12-0510-0/+20
| | | | | Change-Id: Icc345e2a361fc233d7debfa88bef2a3a8375fa8f Reviewed-by: David Faure <david.faure@kdab.com>
* Fix compile with -DQT_NO_DRAGANDDROPMontel Laurent2012-12-053-0/+8
| | | | | Change-Id: Ic7b42ae164f913f270c8350c2de6ce35f0be8c2a Reviewed-by: David Faure <david.faure@kdab.com>
* Move Network Examples from qtdoc to qtbaseEskil Abrahamsen Blomfeldt2012-12-0414-0/+14
| | | | | | | | | Move the main example overview and use the \group tag convention to make the list update automatically. Change-Id: Ib2cc8cf7def9a7f3dce6b7ed6d4958771cbdf5cd Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Moved the mainwindow examples from qtdocGunnar Sletta2012-12-047-0/+7
| | | | | Change-Id: I5a11933e86c6c71f68a55e45c7bcfdfc702bf4e6 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Fix linking of itemviews and graphicsview examplesChristian Stenger2012-12-0428-25/+42
| | | | | Change-Id: I6905cc6945e2eb396108f9fb16da042e576e3afb Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Tag dialog examples and create dialog examples groupGunnar Sletta2012-12-038-0/+8
| | | | | Change-Id: I0049b841dd5aee806e8aed36af069b0507e3c9f1 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Threaded fortune server example: update the screenshotGiuseppe D'Angelo2012-12-011-0/+0
| | | | | | | | It didn't match the reality any more (now it shows an IP address as well as the chosen port). Change-Id: I7b942313ad5246a72186e3b9c93e54af8ab7a5ae Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Fix compile with -DQT_NO_WIZARDMontel Laurent2012-12-011-0/+1
| | | | | Change-Id: I6f7be895b8c4a1a65de43ee35d1fab25a30a25c6 Reviewed-by: David Faure <david.faure@kdab.com>
* Fix memory leak when error reportedMontel Laurent2012-12-011-0/+4
| | | | | Change-Id: I0c4c0baed8f2a734b3986b0d446cd58df705f7e4 Reviewed-by: David Faure <david.faure@kdab.com>
* QtBase: Remove Meamo part and fix link in documentationDavid Schulz2012-11-301-15/+1
| | | | | | | ... for Application Icon Example Change-Id: I2efa0b49a13889db8b706523d06bf317d35cad4f Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Docs: Moved layout example's image do correct locationOliver Wolff2012-11-302-0/+0
| | | | | Change-Id: I85c6812d8d172c92fc4322d4300721e0f45f34e7 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Doc: Grouped the SQL example pages under sql_examples groupVenugopal Shivashankar2012-11-308-0/+8
| | | | | Change-Id: I98b9cb2acafe82e89d9d170e0f66251180011caa Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Fix links for threading examplesPaul Olav Tvete2012-11-3013-0/+830
| | | | | Change-Id: I498936e91e3bbf5658ea9f3f0eb33cff271a1d62 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* QtBase: Docs: remove deprecated Q_EXPORT_PLUGIN2David Schulz2012-11-301-9/+4
| | | | | | | ... and add description for Q_PLUGIN_METADATA Change-Id: Ie389787df53d3cdfa27ba8fb0e77f32df1597c4f Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Fix example documentation for OpenGL module and (widget) Tools.Gunnar Sletta2012-11-3021-130/+21
| | | | | Change-Id: Id9dc39752bcae915f618e1a5696115a5e6923251 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>