summaryrefslogtreecommitdiffstats
path: root/examples/designer
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Regenerate examples to set the WIN32_EXECUTABLE propertyAlexandru Croitor2020-10-2611-0/+44
| | | | | | | | As well as the MACOSX_BUNDLE properties as necessary. Task-number: QTBUG-87664 Change-Id: I26917656f6f2b653649765ebbea4e3f348b22ae7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* CMake: Regenerate examples to use qt_add_executableAlexandru Croitor2020-10-207-7/+7
| | | | | | Task-number: QTBUG-87661 Change-Id: I06af51591b79f9432d09b08595f8af021118a6dc Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
* Revert "Qt Designer: Migrate from QList to QVector"Friedemann Kleint2020-06-082-3/+3
| | | | | | | | | | This reverts commit ee87edebe6f934ec915b7cb4a0f5a28f73e9f221. The official class name will be QList. Task-number: QTBUG-84469 Change-Id: Ia6c1f0ed64b3ef3d5b8e0c0435ec76fbe76f867b Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* examples: fix the Designer plugins directoryChristophe Giboudeaux2020-06-044-4/+20
| | | | | | | INSTALL_EXAMPLESDIR shall be used when installing examples. Change-Id: Ieed06f4376c33a27660f5cf895862d38c52867df Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Port QtTools examples to cmakeMÃ¥rten Nordheim2020-06-0313-1/+467
| | | | | Change-Id: I11146959edbec6b4577fdd339d0fcb807f53c95b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix ambiguous construction from char to QCharLiang Qi2020-05-181-1/+3
| | | | | Change-Id: I956c9764ac4e4da24bfd5676433a02159cbfcfdc Reviewed-by: Liang Qi <liang.qi@qt.io>
* Qt Designer: Migrate from QList to QVectorFriedemann Kleint2019-12-092-3/+3
| | | | | Change-Id: I75f6f4b7157616ba86bf520e1936536571a66ba5 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2019-11-231-10/+8
|\ | | | | | | Change-Id: Ib7e4d5d1f997c67bb68f4c5cb20adb4a5e26f6f5
| * 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: Clean up the SDK headersFriedemann Kleint2019-11-113-0/+15
|/ | | | | | | | | | | | | | | - Use "= default" for constructors/destructors - Disable copy/move for non-QObject type interfaces and add constructors were needed - Remove duplicated disable copy for QObject type interfaces - Fix some formatting - Remove default implementation of QDesignerContainerExtension::canAddWidget()/canRemoveWidget() - Remove Qt 6 fixme comments Task-number: QTBUG-79896 Change-Id: If9521910c6488c081817e2ccdbf42de578cb16ad Reviewed-by: Jarek Kobus <jaroslaw.kobus@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>