summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Doc: corrected syntax link object_cast()Nico Vertriest2015-10-293-3/+3
| | | | | | Change-Id: If0be3c8681902c3ecd5945eb9c99b532b369232c Task-number: QTBUG-43810 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.5' into 5.6Liang Qi2015-08-282-43/+1
|\ | | | | | | Change-Id: Ic1c578187b99013c40fe686f98fc85d5917240fe
| * Merge remote-tracking branch 'origin/5.4' into 5.5Liang Qi2015-08-191-42/+0
| |\ | | | | | | | | | | | | | | | | | | Conflicts: examples/designer/doc/src/arthurplugin.qdoc Change-Id: I5c0118a90111b51db04d2ea2eb6b3c47f1fb761f
| | * Doc: Removed the qdoc page for Arthur Plugin example5.4Venugopal Shivashankar2015-05-291-42/+0
| | | | | | | | | | | | | | | | | | | | | | | | The example was removed in 2d750edc Task-number: QTBUG-41996 Change-Id: I778ef5d3af53be73bba37d99498960d2f766a53f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
| * | Doc: replaced Mac OS X with OS XNico Vertriest2015-08-171-1/+1
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-40759 Change-Id: I3dd691ec1f17ae3217cb85e6f3e6330114ab7aa3 Reviewed-by: Martin Smith <martin.smith@digia.com>
* | | Qt Designer: Add customizable property tooltips.Friedemann Kleint2015-07-291-0/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Introduce tag propertytooltip to property specifications in the ui XML snippet returned by QDesignerCustomWidgetInterface::domXml() - Pass the text to the property editor and set as description tooltip on the property. - As an added benefit, show the type in the normal tooltip. - Demonstrate using TicTacToe example. [ChangeLog][Qt Designer] Added customizable property tooltips. Task-number: QTBUG-45442 Change-Id: I371bbbb3a6f2bc0f433193b5eb45658211ca67de Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* | Update Qt Designer documentation.Friedemann Kleint2015-05-134-75/+33
| | | | | | | | | | | | | | | | | | | | - Document new QUiPlugin module. - Fix example documentation to reflect the changes in the qmake variables (QT/CONFIG). Task-number: QTBUG-44724 Change-Id: Idd85d601295af25d634c3186e993abc7090fe002 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* | move ui loader interfaces to own moduleOswald Buddenhagen2015-05-1110-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it's backwards to declare the interface as part of the designer library itself, as that obviously pulls in half of designer itself into custom widget plugins which should be perfectly usable from the stand-alone ui loader in uitools. also, designer isn't built for embedded systems, so the bundling needlessly limited the availability of widget plugins. so move the relevant headers into a separate include-only module. the designer module retains forwarding headers, as the old includes obviously need to continue working. [ChangeLog][UiTools] Custom widget plugins should now use QT+=uiplugin instead of QT+=designer. This makes them usable on embedded systems. Task-number: QTBUG-44724 Change-Id: I5535b10d2f095b257eeda9681f60b2f8c699f7d7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* | Qt Designer Examples: Fix code around constructors.Friedemann Kleint2015-04-1020-35/+31
| | | | | | | | | | | | | | | | Make constructors explicit, use constructor initialization for member variables, remove unused variables. Change-Id: I84273400d66ef061376bd0ec4948ab1a0fd45f30 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* | Qt Designer Examples: Fix includes.Friedemann Kleint2015-04-107-19/+25
| | | | | | | | | | | | | | Replace module includes by per-class includes and reorder. Change-Id: Id8273865c0110e6d834d9c40a123e3d72bfc4b87 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* | Qt Designer Examples: Introduce Qt 5 connect syntax.Friedemann Kleint2015-04-106-13/+19
| | | | | | | | | | Change-Id: I6f0f1fad45412ab3dd7b5ff82f9cab789b805080 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* | Qt Designer Examples: Introduce Q_DECL_OVERRIDE.Friedemann Kleint2015-04-1012-63/+63
| | | | | | | | | | Change-Id: I08b4227e4609caef74576ea4e05d33c7142f2665 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* | Update copyright headersAntti Kokko2015-02-1489-388/+388
|/ | | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I7f14f408e04c5c4f73a913fae153adcffbebe38f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Remove the Qt Designer arthurplugin example.Friedemann Kleint2014-10-276-354/+0
| | | | | | | | The example accesses code from the qtbase, which does not work. Task-number: QTBUG-28147 Change-Id: I842080eee5b0ea5ed1da6a4e08ae3d6e9f9ead5f Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Update license headers and add new license filesAntti Kokko2014-09-251-19/+11
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 - Removed LICENSE.GPL Change-Id: I23ef9591f4d9054e0b6a252ba7767baf4189aeab Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Qt Designer QDesignerContainerExtension example: Fix page title.Friedemann Kleint2014-09-222-1/+12
| | | | | | | | | | | Tie the setting of the combo title to QQWidget::windowTitleChanged(). The call to retranslateUi() happens after adding the pages; so the titles are lost in uic-generated code. Change-Id: Ia88dd694a7ab5fe1bd62a849feeb7768a2ba6f16 Task-number: QTBUG-24916 Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
* WinRT: Disable some examplesMaurice Kalinowski2014-07-091-0/+1
| | | | | | | | assistant uses IPC, which is not supported. Using the designer library is completely disabled for WinRT. Change-Id: I7f569fe975c16dd3f3ce8744d1ed5c06a84d8da6 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* whitespace fixesOswald Buddenhagen2014-01-2024-80/+80
| | | | | | | | remove trailing spaces & expand tabs Change-Id: If9909c94b52d9dacb7c8735470525d18a1c97d6b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Doc: Rename doc directory of Context Sensitive Help exampleTopi Reinio2013-10-3013-8/+8
| | | | | | | | | | | | | | During packaging, the doc/ directories are removed from examples when they are copied to Qt examples install directory. This example has a doc/ directory with contents required to run it. This change renames it so that he packaging doesn't break it. Task-number: QTBUG-33848 Change-Id: I7b4e29d7b3c2c2ff9429c1a81bd32fb809d0cdb3 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: Fix qthelp URL used in Remotecontrol examplev5.1.1Topi Reinio2013-08-081-1/+1
| | | | | | Task-number: QTBUG-32877 Change-Id: Iecd50007e5790f0c938febe4e98e36275fe35a80 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* adjust to new "configure -nomake tools" semanticsOswald Buddenhagen2013-05-031-0/+8
| | | | | Change-Id: I953ce0215e67ee4dd8fa4fc0db2c1903946e3132 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Remove all Trolltech references.kh12013-01-148-10/+10
| | | | | Change-Id: Idad55a5e6d87ea5703681e3ef11fc35ce9ff84eb Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1090-90/+90
| | | | | | | Change-Id: I9b11dc8309c9739955e3acea12b564d6ad608f59 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fix examples "make install", missing the doc files.kh12013-01-102-2/+8
| | | | | Change-Id: Ifcfc888782e2087476f6f65388db5cda753e0ee7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* make use of qtHaveModule()Oswald Buddenhagen2013-01-082-2/+2
| | | | | | Change-Id: I494ad22447fe54be405698f2dfd79e4941019bdc Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* fix install pathOswald Buddenhagen2012-12-301-1/+1
| | | | | Change-Id: I6a56cff510011e3ffd516d24d9659f75baca14b2 Reviewed-by: hjk <qthjk@ovi.com>
* Fix help URLs in tools.Friedemann Kleint2012-12-181-2/+2
| | | | | | | Task-number: QTBUG-28689 Change-Id: Ifa3eb5ed1ae3928671a85d3aaeb2ef37b196ee4a Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* remove QT+=widgets from SUBDIRS projectsOswald Buddenhagen2012-12-162-4/+0
| | | | | | | it makes no sense whatsoever Change-Id: Ida65c7fb02e53bd3d1ccb319bdbcbec4c836b871 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Doc: fix the Qt Linguist example pagev5.0.0-rc2Leena Miettinen2012-12-123-6/+10
| | | | | | | | Use the \group and \ingroup commands to have qdoc list the examples. Edit the \brief contents. Change-Id: Iae0769bd1272b03d94b9287b9fddf78df27e1f12 Reviewed-by: David Schulz <david.schulz@digia.com>
* QtTools: Doc: Added missing image to uitools examples.David Schulz2012-12-121-0/+0
| | | | | Change-Id: I6e0144ef2ded5e7dd95b332436a9a7dcbbcfc6fb Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
* Doc: Fix example pages for Qt ToolsLeena Miettinen2012-12-1225-21/+106
| | | | | | | | | | | Use the \group and \ingroup commands to produce Qt 5 style example pages. Unify the file structure for example docs. Add example page for Qt Help and move Context Sensitive Help example to it (from the Qt Assistant Examples page). Change-Id: I687b18a134037588a5a536fe2353c18dfd44b1d7 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: David Schulz <david.schulz@digia.com>
* make qtbase source requirement explicitOswald Buddenhagen2012-12-111-2/+2
| | | | | | | | getting rid of QT.<module>.sources references, as they don't go well with real modularization. Change-Id: Idfe0327b00be173e2c2a0b4fc4d2c50de7c2dbe8 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* QtTools: Fixed install targets for examples.David Schulz2012-12-111-1/+1
| | | | | Change-Id: Id930c26beecb3e49ccfb3595bb96a03576f9cd82 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Doc: add missing files for Qt UI Tools docsLeena Miettinen2012-12-113-0/+253
| | | | | | | | The files were ignored by Git, so they did not get submitted as part of I156dbf0a071137e1e6f3ba99cc390aa88c80b836. Change-Id: Icb3a35d24993ea77077ee3a2e09f347c48c583bd Reviewed-by: David Schulz <david.schulz@digia.com>
* QtTools: Doc: Fixing links in designer and assistant.David Schulz2012-12-114-2/+6
| | | | | Change-Id: I98ff1c2dd615cbe3a79f19bada8964082ce8f21f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* Doc: modularize Qt Designer custom plugin docsLeena Miettinen2012-12-112-2/+2
| | | | | | | | | | | | Create index and module pages for Qt Designer custom plugin classes. Modify the qdocconf file to also build the Qt Designer plugin class docs. Move snippets from qtdoc to qttools. Fix links to the classes page in example docs. Change-Id: Ie191fdb07fb0b00379a15d44c1355f00815053e6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: David Schulz <david.schulz@digia.com>
* Add PLUGIN_CLASS_NAME to qttools pluginsMiikka Heikkinen2012-12-105-0/+5
| | | | | | | | Needed for automating static plugin loading. Task-number: QTBUG-28131 Change-Id: I4e7c7b5342c7dde99580d42100c8b9d89b809515 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Doc: Replace outdated macro from docsChristian Stenger2012-12-075-9/+11
| | | | | Change-Id: I525c1322a46115f64fe94d48a0ebc2d4fb2e2e12 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* QtTools: Fix example names after adjusting exampledirsDavid Schulz2012-12-0612-135/+135
| | | | | Change-Id: I00f60412346c85de044eb784a36f98a12c4ccd05 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* QtTools: Doc: Moved assistant examplesDavid Schulz2012-12-0637-3/+6
| | | | | | | | ... and changed exampledirs in the qdocconf files to the appropriate modules. Change-Id: Ic15d9fc845d59fb4e84ee39a52e457666fa09e51 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* fix installation target paths of examplesJoerg Bornemann2012-12-0512-23/+12
| | | | | Change-Id: I11440d60a709cbe4617aa0953c7971a6d731b73b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Add \brief description to tools examples.hjk2012-12-0512-15/+15
| | | | | | Change-Id: I713620c8c5cf55147b1c5732d745569916a8e264 Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* QtTools: Fix some links to Qt Linguist Manual.David Schulz2012-12-043-3/+3
| | | | | Change-Id: I749a522894ae30219d1579d1d78456c944912204 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* QtTools: Remove reference to deprecated Q_EXPORT_PLUGIN2David Schulz2012-12-011-13/+0
| | | | | Change-Id: Ic553855393b23c8d1817e40bdff7bd219c395caf Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* remove obsolete .desktop filesOswald Buddenhagen2012-12-0111-121/+0
| | | | | Change-Id: I2a4974229c18b5ad4d18089fc076d86457557cc1 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: move Qt Linguist example docs from qtbase to qttoolsLeena Miettinen2012-12-0117-0/+903
| | | | | | | Move qdoc files, images, and snippets. Change-Id: I6ab84892dc56c23bfd056faa0713a572c814a1c2 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: move Qt Designer example docs, images, and snippets to qttoolsLeena Miettinen2012-11-3025-0/+1927
| | | | | Change-Id: Ib02369b0a3970432685e5eb5e271902f399fab7e Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Doc: Modularize Qt Linguist docsLeena Miettinen2012-11-2920-33/+899
| | | | | | | | Move docs from qtdoc to qttools. Move examples and example docs from qtbase to qttools. Fix references to snippets and examples. Change-Id: Ib9f89bac416473dcfd8b4d06a05f8d07ff7c2fd0 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* centralize and fixup example sources install targetsOswald Buddenhagen2012-11-2816-67/+8
| | | | | | | follow respective change in qtbase Change-Id: I6e892deb9fa3868579e9c556fbcf00cc7bc6145c Reviewed-by: hjk <qthjk@ovi.com>
* Doc: Update Qt Assistant Manual to Qt 5Leena Miettinen2012-11-221-7/+7
| | | | | | | | | | | Make the manual more task-oriented and update all screenshots. Check functionality and menu item names. Task-number: QTBUG-28024 Change-Id: I79ba3740d072fb3a6a30533a578c0a6bfbb9a26c Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>