summaryrefslogtreecommitdiffstats
path: root/tests/manual/examples
Commit message (Collapse)AuthorAgeFilesLines
* Use more theme icons in textedit manual test/exampleTor Arne Vestbø2025-10-111-4/+5
| | | | | Change-Id: Id621c41ea3b918581c9a985be5f509d8c5646872 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* CMake: Make the plugandpaint example runnable without installationJoerg Bornemann2025-04-031-1/+1
| | | | | | | | The extrafilters DLL must be placed in the plugins directory to be found. The QMake build is correct in that regard. Change-Id: Ic1652e008148f3dfa36558b82d8bc8ddb08c1e99 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Make module ready for source SBOM checkingLucie Gérard2025-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This includes: - turning VERIFY_SOURCE_SBOM ON - adding exception to the licenseRule.json files - correcting the licensing given via REUSE.toml files - renaming license files not located in LICENSES folder. They need to be named LICENSE. to be ignored by reuse and excluded from the source SBOM. The name are updated in the corresponding qt_attribution.json A lot of files are skipped during the license test, but all are present in the source SBOM. This is why correction are needed before turning the source SBOM check on. [ChangeLog][Third-Party Code] Renaming the license files with prefix LICENSE. to have them ignored by reuse tool. Task-number: QTBUG-131434 Pick-to: 6.9 Change-Id: Iab517215bb10a17357d2d2436bba8d3af76e5cd1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* QTextStream: use new operator bool() around the codeTatiana Borisova2025-01-021-3/+2
| | | | | | | | | | | - After adding the QTextStream::operator bool(), it is not required to check the QTextStream::status(). It is enough to use the reference of stream in the statement, which returns true if stream status is OK. New operator usage makes code more convenient. Task-number: QTBUG-52189 Change-Id: Id9ecaa8a5c9cf1931dbeefa85f9d948d15379a82 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Add Qt::Orientations based flip and flipped functionsAllan Sandfeld Jensen2024-11-291-1/+1
| | | | | | | | Is easier to read and more bool-trap safe. Old form header deprecated from 6.10 Fixes: QTBUG-129575 Change-Id: Id785b9ce159007ce745c04120b2112c8bb9b0802 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Android: cleanup AndroidManifest.xml files in examplesAssam Boudjelthia2024-05-231-2/+1
| | | | | Change-Id: I6b0a11ace348891da7ed16dd9039b807902cb828 Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
* Add copyright and licensing to build system files missing itLucie Gérard2024-05-212-0/+4
| | | | | | | Task-number: QTBUG-124453 Change-Id: Ibb6a0ab839a16ceef3c68861bac2f508ddb3d1ae Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Replace 'Qt Designer' and 'Qt Widgets Designer' in codeKai Köhne2024-05-162-4/+4
| | | | | | | | Use new term in examples, code comments, error messages and and mime types. Task-number: QTBUG-122253 Change-Id: I355452d6eb02a7a0ffbb20acf82ddb8ebbfa4837 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add CMYK support to QColorSpaceAllan Sandfeld Jensen2024-04-121-4/+5
| | | | | | | | [ChangeLog][QtGui][QColorSpace] Support for CMYK color spaces has been added. Change-Id: I2c684dbeee8b97fc90ca4e2a892349a7fa465d06 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* Correct license for examples filesLucie Gérard2024-03-0764-64/+64
| | | | | | | | | | | | | | Example takes precedent over build system file type. 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: Id348a89884bb309b96abb31077f14a51086b5d0c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Doc: Further replace 'Qt Designer' with 'Qt Widgets Designer'Kai Köhne2024-02-291-2/+2
| | | | | | | | | | Use \QD macro wherever possible. Amends 8aceccc7eb075 Task-number: QTBUG-122253 Change-Id: I276dabd40fb81486f6380fd90cf9968990932a24 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add the new Android bluetooth permissions to the manual test appJuha Vuolle2024-01-231-1/+5
| | | | | | | | | Otherwise the bluetooth permission requests fail on 12+ Android. Fixes: QTBUG-114941 Pick-to: 6.7 6.6 6.5 Change-Id: I545299e38a7b30df840863ac880ad5bdff5fbc5e Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Add BuildInternals lookup to the settingseditor manual testAlexey Edelev2024-01-151-0/+6
| | | | | | Pick-to: 6.7 Change-Id: Iae39efccaac26bcd12b416c05af36a545dca59b6 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Android: set default style extraction to minimalAssam Boudjelthia2023-12-221-4/+0
| | | | | | | | | | | | | | The default value in the default manifest has been for few releases, set as minimal, and since Widgets Android style is not fully supported anymore, we can set this to default to minimal under the hood as well to avoid needing to always explicitly needing to set it to minimal. Pick-to: 6.7 Change-Id: Id0b2134c572694be1e190347ff75f51ade65f0c4 Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* Move the settingseditor example into tests/manualVolker Hilsheimer2023-12-1513-0/+1303
| | | | | | | | | | | | | | | | The example uses QTreeWidget when it should use a QTreeView with a dedicated item model, primarily shows how to use item views (and very little about QSettings), and is generally not useful to show how an application could or should use QSettings to store settings. Turn it into a manual test instead; it's useful for that as it supports ini and plist files, and settings in different scopes. Pick-to: 6.7 Fixes: QTBUG-119978 Change-Id: I7ce039f6391c41c679d126d90a251eee60327c39 Reviewed-by: Ed Cooke <ed.cooke@qt.io> Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Make contextinfo example a manual testLaszlo Agocs2023-11-177-0/+723
| | | | | | Change-Id: I9023016d50e82bba1fa73632cc1409b3d016f352 Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io> Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Modify the MDI manual test to allow multiple views of same documentShawn Rutledge2023-11-024-7/+31
| | | | | | | | | | | | | | - editing same document in different views is possible? yes - resizing one QTextEdit calls QTextDocument::setTextWidth(), which affects the width in the other view too. You can resize either one, but you can't have two views with different layouts, of course. Added a categorized log message in QTextDocument::setTextWidth() for a sanity check. Task-nunber: QTBUG-35688 Change-Id: I59c4d10143fda3a66b946237832274d67f9d9d45 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Android: remove unneeded allowNativeHeapPointerTagging manifest flagAssam Boudjelthia2023-10-201-1/+0
| | | | | | | | | Amends b0907db9eae4b85fcab4fa997428c438d9443ee0. Pick-to: 6.5 6.6 Task-number: QTBUG-91150 Change-Id: Ic7886a9fc69781e4f21417075516106ccb6c7bf5 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Move simple widget mapper example to manual testTor Arne Vestbø2023-06-305-0/+201
| | | | | | Pick-to: 6.5 6.6 Change-Id: I703843b5ee935794c2e2fd0407f9a1508b088ab6 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move simple dom model example to manual testTor Arne Vestbø2023-06-309-0/+431
| | | | | | Pick-to: 6.5 6.6 Change-Id: I33120e3f6217ea52bdfdebea8b5faa79d9d3fd68 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move plug and paint example to manual testTor Arne Vestbø2023-06-3024-0/+1304
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ibfd870f2f879d6ae68cd6806b0c1ab02da0a3441 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move pixelator example to manual testTor Arne Vestbø2023-06-3011-0/+538
| | | | | | Pick-to: 6.5 6.6 Change-Id: I3ce2bc269a9f77bce3dd41f0127d01091c1408f6 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move dials example to manual testTor Arne Vestbø2023-06-296-0/+157
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ib99a3890b814c2089db62485f0a10cf308ff9b66 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move textedit example to manual testTor Arne Vestbø2023-06-2958-0/+1439
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ic3189044598be8e121c1f065e68e04a3547a87d0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move tetrix example to manual testTor Arne Vestbø2023-06-299-0/+780
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ie73d9e35df8513d05d55ffbad1f02584359e3bd0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move styles example to manual testTor Arne Vestbø2023-06-2910-0/+803
| | | | | | Pick-to: 6.5 6.6 Change-Id: I5738932c0c498ce2075a399274e3b80a04ad9211 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move stylesheets example to manual testTor Arne Vestbø2023-06-2945-0/+1938
| | | | | | Pick-to: 6.5 6.6 Change-Id: If0206e63546bf948af4cfb65773e2662c53a5e79 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move main window example to manual testTor Arne Vestbø2023-06-2914-0/+1890
| | | | | | Pick-to: 6.5 6.6 Change-Id: I7d9281f173ce9fb24c0f565797b6fbcfba10459f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move MDI example to manual testTor Arne Vestbø2023-06-2914-0/+843
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ide698a171a4600cb4bac6574b6be74c17f779051 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move windowcontainer example to manual testTor Arne Vestbø2023-06-293-0/+187
| | | | | | Pick-to: 6.5 6.6 Change-Id: I68b866bcc2659b90aad2c10dc06240674bf4a826 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Move movie example to manual testTor Arne Vestbø2023-06-286-0/+303
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ie185a3c88eced7b8b0fe324b9ef62ab86d38d521 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move pinch zoom example to manual testTor Arne Vestbø2023-06-2811-0/+389
| | | | | | Pick-to: 6.5 6.6 Change-Id: I0632a839ef069e13a8b859a22f47be2e7423ffb0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move validators example to manual testTor Arne Vestbø2023-06-2813-0/+777
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ic91bc89422fb23e3782db69bab2953e7cf8ddf69 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move item views puzzle example to manual testTor Arne Vestbø2023-06-2811-0/+674
| | | | | | Pick-to: 6.5 6.6 Change-Id: Idbb4222861be86275a86f731e75127b8496a08a7 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move interview example to manual testTor Arne Vestbø2023-06-2810-0/+294
| | | | | | Pick-to: 6.5 6.6 Change-Id: I06c77672c3ca08dfd3e50af25ed3e1669462259a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move image viewer example to manual testTor Arne Vestbø2023-06-285-0/+516
| | | | | | Pick-to: 6.5 6.6 Change-Id: I4b64033f1a075681ce5b918fdf2e018ad05a7869 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move icons example to manual testTor Arne Vestbø2023-06-2825-0/+977
| | | | | | Pick-to: 6.5 6.6 Change-Id: I08f44448f96a61f780c21d628954879c7b28dce3 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move graphis view flow layout example to manual testTor Arne Vestbø2023-06-287-0/+326
| | | | | | Pick-to: 6.5 6.6 Change-Id: I713816114b87def9eab79b893d13554f1c37c6a5 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move fridge magnets example to manual testTor Arne Vestbø2023-06-289-0/+420
| | | | | | Pick-to: 6.5 6.6 Change-Id: I6e40aff63f24dc98ab6b84450d288159f036142b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move font sampler example to manual testTor Arne Vestbø2023-06-286-0/+581
| | | | | | Pick-to: 6.5 6.6 Change-Id: I696d9be26edfaadd40579884930b2f061d308a06 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move finger paint example to manual testTor Arne Vestbø2023-06-288-0/+554
| | | | | | Pick-to: 6.5 6.6 Change-Id: I26eec035eaa78eac2aa96de72ae38093bc08fd23 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move fade effect example to manual testTor Arne Vestbø2023-06-288-0/+207
| | | | | | Pick-to: 6.5 6.6 Change-Id: I7f4e1d9b57be2d0ef22eb56d5d1f7abc5074ebae Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move embedded dialogs example to manual testTor Arne Vestbø2023-06-2810-0/+478
| | | | | | Pick-to: 6.5 6.6 Change-Id: I86213aa47def7ebacaa9465a0200cef10871706e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move dynamic layouts example to manual testTor Arne Vestbø2023-06-285-0/+251
| | | | | | Pick-to: 6.5 6.6 Change-Id: I34288b2b22cbbfb3b77870f0c71778bcf3d552fb Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move drag and drop puzzle example to manual testTor Arne Vestbø2023-06-2811-0/+584
| | | | | | Pick-to: 6.5 6.6 Change-Id: I859cdb2cf74cd6272c29924c77dab26b4f4c0b6c Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move dock widgets example to manual testTor Arne Vestbø2023-06-2610-0/+437
| | | | | | Pick-to: 6.5 6.6 Change-Id: I23ca3f2450df8f6c71509235ccec655d88d0d6d7 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move dirview example to manual testTor Arne Vestbø2023-06-263-0/+106
| | | | | | Pick-to: 6.5 6.6 Change-Id: I9057d5efb1cdf3e425e879f8cc96a544c1892e77 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move digital clock example to manual testTor Arne Vestbø2023-06-265-0/+118
| | | | | | Pick-to: 6.5 6.6 Change-Id: I043c0060a71d9de2f3e74aab0759d07a20880c3a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move chart example to manual testTor Arne Vestbø2023-06-269-0/+845
| | | | | | Pick-to: 6.5 6.6 Change-Id: I95a40834853a0157d8fa6137431bfd86ce855b2f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Move character map example to manual testTor Arne Vestbø2023-06-267-0/+573
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ie27fe436fc7ae7774beaa78f8a27f6009027753a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>