This commit updates the screenshots for the Qt Assistant and Qt Designer
examples.
Task-number: QTBUG-69988
Change-Id: I17da7c173a7a8cac4d55f91aecefdf5473eef98a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 37378a0abca03f50f8a5c51a53ddccbd8077d643)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
According to QUIP-18 [1], all examples file should be
LicenseRef-Qt-Commercial OR BSD-3-Clause
[1]: https://contribute.qt-project.org/quips/18
Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: Iace5eb946b0291ecdf54f7e42ba56e8912ea438b
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
The custom widget has the appearance of the analog clock, which
was refurbished with 619ec1a6406a8be7bfa9d96b9e693e7a3323d8dc.
This change applies the refurbished design to the custom widget.
Task: QTBUG-118871
Pick-to: 6.6
Change-Id: I4a751a54d91d7eaa13f2282a9f1a1a26d91a204c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
The QTDIR_build scopes are not used anymore.
Pick-to: 6.5
Change-Id: Ic722645641419b3beb22ac36a02a862f6e7b179e
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
The '\meta category' command was used for tagging examples with a
specific category, used in Qt Creators Welcome mode.
As we want to also generate lists of examples belonging to a category
elsewhere in the documentation, replace the command with a macro that
expands to the original \meta command and also adds the example to
a group using the \ingroup command. This way, the category names can
be used as arguments to the \generatelist or \annotatedlist commands.
Pick-to: 6.5
Task-number: QTBUG-112731
Change-Id: I28dfd6d5540dfe540bab942f9e9a93e9c239e206
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Amends 1f859ca1ac.
As a drive-by, remove the outdated arthurplugin-demo.png.
Task-number: QTBUG-110447
Pick-to: 6.5
Change-Id: Iead32aaca944a886d86dd36465a2082309821be7
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
- Use new string literals
- Reorder includes
- Use some auto
- Minor fixes
Amends d1e672c47f.
Pick-to: 6.5 6.4
Fixes: QTBUG-110447
Change-Id: I22c2ee4f2770e2656a6ffad0823ec59f7cf3df23
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Remove duplicated identical pictures and replace
taskmenuextension-example-faded.png by a normal screenshot
since it is hard to maintain.
Task-number: QTBUG-110447
Pick-to: 6.5
Change-Id: Iba7ee91dee8fb63af40c1c9b4163d573a1deae5f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
It illustrates how to use multipleinheritance from Ui struct and widget
and is not really related to UiTools.
Task-number: QTBUG-110447
Pick-to: 6.5
Change-Id: If6b61c76ea0ac07b935f1e0a8ee02a2e7179cdc3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
For some reason, they cannot be installed into sysroot,
Complements 81fdb4dee5.
Fixes: QTBUG-110930
Pick-to: 6.5 6.4
Change-Id: Ia6f4d123f7435a1388bb3cfef38daa48120b4891
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
The autoconnection feature is considered error-prone and is warned
about by clazy. As this removes the need for a class, remove it entirely
and use a lambda for the slot.
As a drive-by, fix the documentation of the project files.
Pick-to: 6.5 6.4
Task-number: QTBUG-110447
Change-Id: Idf78b58445a3f89399f7ae09065f145428ef83fe
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
The autoconnection feature is considered error-prone and is warned
about by clazy.
As a drive-by, fix the documentation of the project files.
Pick-to: 6.5 6.4
Task-number: QTBUG-110447
Change-Id: I7ba1bf47487abadfeaf02fd573eb01d0519a2ffd
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
- Use new string literals
- Reorder includes
- Use some auto
- Minor fixes
Pick-to: 6.5 6.4
Fixes: QTBUG-110447
Change-Id: I5af23a662dffb3a01795d1f62c573f854e2ee103
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This is a left-over from the qmake-based build system of Qt.
Pick-to: 6.5
Change-Id: If3ac9e7b4d623bd509782a7f01b451ea8502041a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
CMakeLists.txt and .cmake files of significant size
(more than 2 lines according to our check in tst_license.pl)
now have the copyright and license header.
Existing copyright statements remain intact
Task-number: QTBUG-88621
Change-Id: I41a2c9aa6a933a4e3dda5d5b4c70c461912907b2
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
Files that have to be modified by hand are modified.
License files are organized under LICENSES directory.
Task-number: QTBUG-67283
Change-Id: I5335388c0472b0ee554234fc7eca60769e504660
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
- Remove # generated from xyz.pro comment from pro2cmake
- Remove "# special case" markers for pro2cmake
- Remove automatic use of CMAKE_AUTORCC
- Only opt into CMAKE_AUTOUIC if .ui files are involved
- Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR,
when unnecessary
- Combine multiple find_package(Qt6 ... calls)
- use REQUIRED COMPONENTS
- sort components alphabetically
- Fix wrong indentations
- Use (only) one empty line after multi-line commands
Pick-to: 6.3
Change-Id: If8bf84b498189fa681cfe5128bc8566026dabec0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Needed for subsequent change that will check and error out if the
version is lower than 3.16. We do that to ensure all policies
introduced by CMake up to version 3.16 have their behavior set to
NEW.
Pick-to: 6.2
Task-number: QTBUG-95018
Change-Id: I1191a6b4b5c13b2b6047a0e2a2ff8c3801f6762b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
The link to qobject_cast was overly specific, so no link was generated.
Pick-to: 6.1 6.1.0
Change-Id: I74990ee89997a5f91d617db1eb116a2bb3bd4864
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
When porting the code to Python, some issues showed up.
- Rewrite cellRect() to take the position (reason being
that porting the existing code to Python creates
problems with implicit conversion to float in the division).
- Use plain assignment by operator[] to replace the characters
in the string
- Avoid repeating return types.
- Streamline code.
- Initialize myState member variable.
- Indicate C++ in the tool tip
Task-number: PYSIDE-1455
Change-Id: I62fa61eebaa2eefe8db0842d6a3789bd7cd4257e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
As well as the MACOSX_BUNDLE properties as necessary.
Task-number: QTBUG-87664
Change-Id: I26917656f6f2b653649765ebbea4e3f348b22ae7
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This reverts commit ee87edebe6.
The official class name will be QList.
Task-number: QTBUG-84469
Change-Id: Ia6c1f0ed64b3ef3d5b8e0c0435ec76fbe76f867b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
INSTALL_EXAMPLESDIR shall be used when installing examples.
Change-Id: Ieed06f4376c33a27660f5cf895862d38c52867df
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
- 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>
Use nullptr, member initialization, QOverload, etc.
Task-number: QTBUG-61184
Change-Id: I45061c506dad72d5f495f480b3e61f4d1c0599d4
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
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 plugins do not require any keywords.
Change-Id: Ifd38bb8ec9b946731010bb64ee02ada474ed42b3
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>