summaryrefslogtreecommitdiffstats
path: root/examples/designer
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Resolve documentation warningsTopi Reinio2019-11-111-10/+8
| | | | | | | | | | | | | - QDoc Manual: UIComponents example project has been moved to be a part of test case - remove references to it from the manual. - Add missing image. - Document the namespace qdesigner_internal as \internal. Fixes: QTBUG-79833 Change-Id: Ic0984cef4091e794de5e502d04a897b1f532d9d8 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Qt Designer Examples: Brush up to C++ 11Friedemann Kleint2017-06-2623-64/+49
| | | | | | | | Use nullptr, member initialization, QOverload, etc. Task-number: QTBUG-61184 Change-Id: I45061c506dad72d5f495f480b3e61f4d1c0599d4 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Examples: Replace Q_DECL_OVERRIDE by overrideAlexander Volkov2016-12-1412-63/+63
| | | | | Change-Id: I2bed9c0dc1d72005b40ae7a7b75fa22cc67f88c6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Unify license header usagev5.7.0Antti Kokko2016-06-1035-105/+455
| | | | | | | Updated BSD license. Change-Id: Ie2521f94a2e8ed423f989e902e5eb88512814f71 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Unify license header usageAntti Kokko2016-06-107-35/+35
| | | | | | | Updated FDL license. Change-Id: I726ee109b17070d79e19c9edcdba7780aa54b1f1 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* declare that the designer example installs are okOswald Buddenhagen2016-04-284-0/+4
| | | | | | | | | installing examples into the proper designer plugin path really is NOT ok, but we have been doing it for so long now ... Change-Id: Id422b1664465bb85665391fe2de3b93f973e579a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Qt Designer Examples: Remove empty JSON files.Friedemann Kleint2016-04-258-8/+4
| | | | | | | Qt Designer plugins do not require any keywords. Change-Id: Ifd38bb8ec9b946731010bb64ee02ada474ed42b3 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* 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-281-42/+0
|\ | | | | | | 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>
* | | 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-119-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1443-188/+188
|/ | | | | | | | | | 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>
* whitespace fixesOswald Buddenhagen2014-01-203-6/+6
| | | | | | | | remove trailing spaces & expand tabs Change-Id: If9909c94b52d9dacb7c8735470525d18a1c97d6b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@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>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1044-44/+44
| | | | | | | 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>
* make use of qtHaveModule()Oswald Buddenhagen2013-01-081-1/+1
| | | | | | Change-Id: I494ad22447fe54be405698f2dfd79e4941019bdc Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Doc: Fix example pages for Qt ToolsLeena Miettinen2012-12-128-14/+25
| | | | | | | | | | | 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: 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-068-131/+131
| | | | | Change-Id: I00f60412346c85de044eb784a36f98a12c4ccd05 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* fix installation target paths of examplesJoerg Bornemann2012-12-053-6/+3
| | | | | Change-Id: I11440d60a709cbe4617aa0953c7971a6d731b73b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Add \brief description to tools examples.hjk2012-12-058-8/+8
| | | | | | Change-Id: I713620c8c5cf55147b1c5732d745569916a8e264 Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@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-016-66/+0
| | | | | Change-Id: I2a4974229c18b5ad4d18089fc076d86457557cc1 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>
* centralize and fixup example sources install targetsOswald Buddenhagen2012-11-289-41/+3
| | | | | | | follow respective change in qtbase Change-Id: I6e892deb9fa3868579e9c556fbcf00cc7bc6145c Reviewed-by: hjk <qthjk@ovi.com>
* Fix build of the arthurplugin example.Friedemann Kleint2012-11-221-9/+8
| | | | | | Task-number: QTBUG-28147 Change-Id: I296e3d4d50dffe78e0d70c2486ad6b7641149556 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Fix build of installed examples.Friedemann Kleint2012-11-214-4/+4
| | | | | | | Task-number: QTBUG-27977 Change-Id: Ic64563d120087c57c3579c1268d73531d7022111 Reviewed-by: hjk <qthjk@ovi.com>
* adjust to qt_plugin.prf changesOswald Buddenhagen2012-11-055-26/+84
| | | | | | | | | | | | DESTDIR and INSTALLS+=target are set up automatically now, but PLUGIN_TYPE needs to be defined. TEMPLATE, some CONFIG flags and TARGET munging are unnecessary, too. this contains a nasty hack for examples, as we don't want users to use the internal prf files. Change-Id: I9af75f3040fd45d87ec9daea27e00588796ebe81 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2532-210/+210
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: If89e41b25a242ff376eacdf8790957bcf499cc66 Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix .pro-file warnings in examples.Friedemann Kleint2012-09-127-14/+12
| | | | | | | uitools/designer should go to QT. Change-Id: I00fe86bfcc6c500d6a277c0e79cb4c3ad54441d4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Remove the remaining traces of the old plugin systemLars Knoll2012-05-311-1/+1
| | | | | Change-Id: Id00d34a937703c9043c2831349f6a7b15e4da724 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Update the includes after QIcon was moved to back to QtGuiOlivier Goffart2012-05-201-1/+1
| | | | | Change-Id: I103c7c48f2280b22a8b224a82a07c29ffbae3c77 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Fix building of the Arthur plugin.Friedemann Kleint2012-04-042-9/+11
| | | | | | | | Do not build by default as it requires a library located in the qtbase painting examples. Change-Id: I19ac8ad31f9b2e194f88c5c3b168a2352dd72f1e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* remove references to $$QT_SOURCE_TREEOswald Buddenhagen2012-04-041-2/+0
| | | | | Change-Id: I65b43ced4c165c9f41c107b9eefe7d9e72127b04 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Use "qt-project.org" instead of "trolltech" in the resource systemhjk2012-03-282-2/+2
| | | | | | Task-number: QTBUG-23272 Change-Id: I383e66291fc2c5bb431792c1b93a152a9b02462e Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Use new plugin system in Qt Designer.Friedemann Kleint2012-02-1715-17/+12
| | | | | | | | - Change interface names to use the prefix "org.qt-project.Qt." - Add json files and use new macros. Change-Id: I2b0e6ac59b6dfbdced70751921a588f6e417615f Reviewed-by: Lars Knoll <lars.knoll@nokia.com>