summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove references to Application ExampleAxel Spoerl2023-07-061-1/+0
| | | | | | | | | Removing dangling references to the example due to its move to manual tests. Pick-to: 6.6 6.5 Change-Id: I13f5fad93763d1ef70ddd8b3dcf430b5df8e28f9 Reviewed-by: Volker Hilsheimer <[email protected]>
* Docs: Add link to OPenGL examples to OpenGL indexSafiyyah Moosa2023-06-301-0/+1
| | | | | | | Task-number: QTBUG-112824 Pick-to: 6.5 6.6 Change-Id: Ib507e8c32518442fd211f3486c4317b4907ea414 Reviewed-by: Topi Reiniö <[email protected]>
* Doc: Fix license of foreignwindows exampleKai Köhne2023-06-303-3/+3
| | | | | | | | | Example source code should be LicenseRef-Qt-Commercial OR BSD-3-Clause Pick-to: 6.5 6.6 Change-Id: Ia9cf6f4783fde0e25f72a31bbe6d809118fd4240 Reviewed-by: James McDonnell <[email protected]> Reviewed-by: Joerg Bornemann <[email protected]>
* Contiguous cache example: minor cleanupAmanda Hamblin-Trué2023-06-302-13/+8
| | | | | | | | Modernised contiguous cache example. Change-Id: I88d67b03ed95a61484873149da16f0d814b26cd8 Reviewed-by: Tatiana Borisova <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]>
* Move simple widget mapper example to manual testTor Arne Vestbø2023-06-3010-316/+3
| | | | | | Pick-to: 6.5 6.6 Change-Id: I703843b5ee935794c2e2fd0407f9a1508b088ab6 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move simple dom model example to manual testTor Arne Vestbø2023-06-3012-693/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I33120e3f6217ea52bdfdebea8b5faa79d9d3fd68 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move plug and paint example to manual testTor Arne Vestbø2023-06-3031-1843/+2
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ibfd870f2f879d6ae68cd6806b0c1ab02da0a3441 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move pixelator example to manual testTor Arne Vestbø2023-06-3014-771/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I3ce2bc269a9f77bce3dd41f0127d01091c1408f6 Reviewed-by: Volker Hilsheimer <[email protected]>
* Examples: Revamp sql/booksLiang Qi2023-06-293-2/+6
| | | | | | | | | | | | * use nullptr * use member init * set ExpandingFieldsGrow fieldGrowthPolicy for QFormLayout, which makes it behaviors similar on macOS as other platforms * select first row to make up/down keys works by default Pick-to: 6.5 6.6 Change-Id: I25d9869d2ca1c7274c2b750aada8270734787546 Reviewed-by: Liang Qi <[email protected]>
* Move dials example to manual testTor Arne Vestbø2023-06-298-159/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ib99a3890b814c2089db62485f0a10cf308ff9b66 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move textedit example to manual testTor Arne Vestbø2023-06-2962-1457/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ic3189044598be8e121c1f065e68e04a3547a87d0 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move tetrix example to manual testTor Arne Vestbø2023-06-2912-1189/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ie73d9e35df8513d05d55ffbad1f02584359e3bd0 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move styles example to manual testTor Arne Vestbø2023-06-2913-1253/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I5738932c0c498ce2075a399274e3b80a04ad9211 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move stylesheets example to manual testTor Arne Vestbø2023-06-2949-2004/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: If0206e63546bf948af4cfb65773e2662c53a5e79 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move main window example to manual testTor Arne Vestbø2023-06-2918-1906/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: I7d9281f173ce9fb24c0f565797b6fbcfba10459f Reviewed-by: Volker Hilsheimer <[email protected]>
* Move MDI example to manual testTor Arne Vestbø2023-06-2918-863/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ide698a171a4600cb4bac6574b6be74c17f779051 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move windowcontainer example to manual testTor Arne Vestbø2023-06-295-193/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I68b866bcc2659b90aad2c10dc06240674bf4a826 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* Modernize EditableTreeModelCarl Schwan2023-06-285-81/+79
| | | | | | | | | - Use unique_ptr instead of manual memory management - Improve consistenty in variable name with the simpletreemodel childrenNumber -> row, m_ prefix for member variables Change-Id: Iface30c2224c2b1db7c623a9e6fcbb449c556f3e Reviewed-by: Volker Hilsheimer <[email protected]>
* Modernize SimpleTreeModel exampleCarl Schwan2023-06-285-61/+59
| | | | | | | | Use std::unique_ptr to manage items tree memory allocations. This also use the new string literals operator. Change-Id: Iab002b5dc612b75cef0be10862e263c6c6c013c1 Reviewed-by: Volker Hilsheimer <[email protected]>
* Revamp bindable subscription exampleAmanda Hamblin-Trué2023-06-281-0/+2
| | | | | | | | | Silence a bogus warning. Pick-to: 6.6 6.5 Task-number: QTBUG-114689 Change-Id: I7267b752e780b0c48cc57a513d12ad504e4c7a30 Reviewed-by: Fabian Kosmale <[email protected]>
* Move movie example to manual testTor Arne Vestbø2023-06-289-323/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ie185a3c88eced7b8b0fe324b9ef62ab86d38d521 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move pinch zoom example to manual testTor Arne Vestbø2023-06-2813-391/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: I0632a839ef069e13a8b859a22f47be2e7423ffb0 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move validators example to manual testTor Arne Vestbø2023-06-2816-790/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ic91bc89422fb23e3782db69bab2953e7cf8ddf69 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move item views puzzle example to manual testTor Arne Vestbø2023-06-2815-694/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: Idbb4222861be86275a86f731e75127b8496a08a7 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move interview example to manual testTor Arne Vestbø2023-06-2813-311/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I06c77672c3ca08dfd3e50af25ed3e1669462259a Reviewed-by: Volker Hilsheimer <[email protected]>
* Move image viewer example to manual testTor Arne Vestbø2023-06-2813-838/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I4b64033f1a075681ce5b918fdf2e018ad05a7869 Reviewed-by: Volker Hilsheimer <[email protected]>
* QBindable example: Replace SpinBox connection with QBindableAmanda Hamblin-Trué2023-06-281-3/+6
| | | | | | | | | | Made this change because there was no example of the interaction between QBindable and non-bindable properties. Pick-to: 6.6 6.5 Task-number: QTBUG-114689 Change-Id: Ief7662f8af5e6fab32491418fa35f0daa937819d Reviewed-by: Ulf Hermann <[email protected]>
* Move icons example to manual testTor Arne Vestbø2023-06-2828-1784/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I08f44448f96a61f780c21d628954879c7b28dce3 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move graphis view flow layout example to manual testTor Arne Vestbø2023-06-2811-356/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I713816114b87def9eab79b893d13554f1c37c6a5 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move fridge magnets example to manual testTor Arne Vestbø2023-06-2813-761/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: I6e40aff63f24dc98ab6b84450d288159f036142b Reviewed-by: Volker Hilsheimer <[email protected]>
* Move font sampler example to manual testTor Arne Vestbø2023-06-289-597/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: I696d9be26edfaadd40579884930b2f061d308a06 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move finger paint example to manual testTor Arne Vestbø2023-06-2810-556/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: I26eec035eaa78eac2aa96de72ae38093bc08fd23 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move fade effect example to manual testTor Arne Vestbø2023-06-2815-229/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I7f4e1d9b57be2d0ef22eb56d5d1f7abc5074ebae Reviewed-by: Volker Hilsheimer <[email protected]>
* Move embedded dialogs example to manual testTor Arne Vestbø2023-06-2813-495/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I86213aa47def7ebacaa9465a0200cef10871706e Reviewed-by: Volker Hilsheimer <[email protected]>
* Move dynamic layouts example to manual testTor Arne Vestbø2023-06-288-344/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I34288b2b22cbbfb3b77870f0c71778bcf3d552fb Reviewed-by: Volker Hilsheimer <[email protected]>
* Move drag and drop puzzle example to manual testTor Arne Vestbø2023-06-2816-609/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: I859cdb2cf74cd6272c29924c77dab26b4f4c0b6c Reviewed-by: Volker Hilsheimer <[email protected]>
* Fix missing references to 'Qt Widgets - Application Example'Tor Arne Vestbø2023-06-272-5/+1
| | | | | | | | Amends eda71105ff9a516059c6dd6643ff446a82edac81 Pick-to: 6.5 6.6 Change-Id: I44fa9acef37667d635d5770ce5d50fc52d92aa88 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* Fix qdoc link warnings after moving a few examples to manual testsTor Arne Vestbø2023-06-271-2/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: I81a6e9d52e858c3f733d4c527c70408772813b56 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move dock widgets example to manual testTor Arne Vestbø2023-06-2613-580/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: I23ca3f2450df8f6c71509235ccec655d88d0d6d7 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move dirview example to manual testTor Arne Vestbø2023-06-266-157/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I9057d5efb1cdf3e425e879f8cc96a544c1892e77 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move digital clock example to manual testTor Arne Vestbø2023-06-268-171/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I043c0060a71d9de2f3e74aab0759d07a20880c3a Reviewed-by: Volker Hilsheimer <[email protected]>
* Move chart example to manual testTor Arne Vestbø2023-06-2612-905/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I95a40834853a0157d8fa6137431bfd86ce855b2f Reviewed-by: Volker Hilsheimer <[email protected]>
* Move character map example to manual testTor Arne Vestbø2023-06-2610-826/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ie27fe436fc7ae7774beaa78f8a27f6009027753a Reviewed-by: Volker Hilsheimer <[email protected]>
* Move calendar example to manual testTor Arne Vestbø2023-06-269-482/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ie2215ae0feeb322888619aed632e20db9b69e20b Reviewed-by: Volker Hilsheimer <[email protected]>
* Move border layout example to manual testTor Arne Vestbø2023-06-2610-387/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I3f45043a64275f8678288e1d9839271eafa1fd2b Reviewed-by: Volker Hilsheimer <[email protected]>
* Move qpa examples to manual testsTor Arne Vestbø2023-06-2612-448/+1
| | | | | | Pick-to: 6.6 6.5 Change-Id: I7b25b1c8100f04eec3d9a571f59a1babef55b1d5 Reviewed-by: Volker Hilsheimer <[email protected]>
* Move permissions example to manual testTor Arne Vestbø2023-06-265-249/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: If7482ff20079d91ddba26a1abcb06b3054cc72ad Reviewed-by: Timur Pocheptsov <[email protected]>
* Revamp Bindable Properties ExampleAmanda Hamblin-Trué2023-06-261-2/+1
| | | | | | | | | | | | The use of Q_ASSERT(false) is bogus as we don't need to test here, but want to signal unreachability. Q_UNREACHABLE_RETURN allows us to tell the compiler that the point can't be reached while also getting rid of the no return error. Task-number: QTBUG-114689 Pick-to: 6.6 6.5 Change-Id: I007cd243055237bcc21772a4130a6c1a44fd882d Reviewed-by: Ulf Hermann <[email protected]>
* Network-chat example: Remove unused constantMårten Nordheim2023-06-221-2/+0
| | | | | | Change-Id: I29768a38136af026c8613a47adea390f11ff46a9 Reviewed-by: Konrad Kujawa <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
* Network-chat example: Only disconnect if still connectedMårten Nordheim2023-06-221-1/+1
| | | | | | | | | If we are already disconnected we end up printing warnings about how it's illegal to call waitForBytesWritten on an unconnected socket Change-Id: I8c864d105d5372edfee84affb362cca3021b8ea0 Reviewed-by: Konrad Kujawa <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>