summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Examples/Sql/Masterdetail: Fix deleting rowsChristian Ehrlicher2024-09-075-1/+7
| | | | | | | | | | | | | | Completely deleting a row in a QSqlTableModel needs a call to select() afterwards, otherwise a blank column will stay according the documentation of QSqlTableModel::removeRows() Also add albumdetails.xml to the resource file to make sure it's found during runtime. Pick-to: 6.8 Task-number: QTBUG-128434 Change-Id: Ie5cc38edfa27984d186467e3372b05987f78d14c Reviewed-by: David Faure <[email protected]> Reviewed-by: Axel Spoerl <[email protected]>
* examples/network/torrrent: port to QBasicTimerAhmad Samir2024-08-315-55/+37
| | | | | | | | | Instead of using raw timer IDs. QBasicTimer is a value class with sizeof(int), so not much overhead, and easier to use API. Examples should show best practices. Change-Id: I5b9efe47ced69c0067eac891398185be7e87bd0e Reviewed-by: Thiago Macieira <[email protected]>
* Doc: Remove usage of defunct QDoc commandPaul Wicking2024-08-282-6/+0
| | | | | | | | | | | | | | The QDoc command `\tableofcontents` was rendered useless by a change more than a decade ago. Remove the use of `\tableofcontents` as it serves no purpose, and ensure that the surrounding context still makes sense for the reader, by removing preceding text that refers to a non-existing table of contents, such as `Contents:`. Task-number: QTBUG-128173 Pick-to: 6.8 Change-Id: Ibb5a6af0e80f70fa487cdf6a7e38009a9ef60cbf Reviewed-by: Safiyyah Moosa <[email protected]> Reviewed-by: Venugopal Shivashankar <[email protected]>
* QSortFilterProxyModel: add a protected beginFilterChangeVolker Hilsheimer2024-08-281-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the filter gets changed and invalidated while there is no mapping (perhaps because the model had been invalidated first), then we fail to notice the change and don't emit rowsInserted/Removed. And as the new filter is already in place by the time invalidateFilter gets called, we cannot know what the size of the model was before the change. The only way to fix that is to introduce a beginFilterChange protected function that makes sure that we have a mapping from the source model with the old filter. That is a no-op if a mapping is already in place, costing only the lookup in a hash table. By calling this function, custom models with their own filtering logic can make sure that their model emits the changed-signals as expected. Add test coverage and documentation and fix the relevant examples snippet to use that new protected function as recommended, and to invalidate only the rows filter. [ChangeLog][Core][QSortFilterProxyModel] Added a new protected function beginFilterChange() that subclasses overriding filterAcceptsRow or filterAcceptsColumn should call before the filter parameter is changed. This makes sure that the signals informing about rows or columns changing get correctly emitted. Fixes: QTBUG-115717 Change-Id: Ib73a7119ac9dd9c4bcf220f1274d6b4ed093e7ff Reviewed-by: David Faure <[email protected]>
* Doc: Update \externalpage entries for Qt Creator documentationLeena Miettinen2024-08-021-10/+10
| | | | | | | | | | - The docs were restructured in v. 13.0 and 14.0, so most headings changed, some topics were removed and lots of topics were added - Use the macro \QC - Fix the broken links in qtbase Change-Id: Ic173a3e9a1c80322162c3feb277098de2a9f1cc6 Reviewed-by: Topi Reiniö <[email protected]>
* CMake: Fix project structure of calendarbackendplugin projectAlexandru Croitor2024-07-304-23/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, installing the example with a multi-config generator failed with CMake Error at cmake_install.cmake:123 (include): include could not find requested file: <build_dir>/.qt/deploy_calendarPlugin_49e753a159-$<CONFIG>.cmake When configuring the project, cmake mentions the following warning: CMake Warning (dev) in CMakeLists.txt: Policy CMP0087 is not set: Install CODE|SCRIPT allow the use of generator expressions. Run "cmake --help-policy CMP0087" for policy details. This happens because the specified minimum cmake version of the project was 3.5, so the above policy was not enabled, and the generator expressions we use for the deployment api failed to be evaluated. Fix the minimum version to be 3.16. Clean up the project a bit to be in line with our other examples. Use qt_internal_add_example, remove redundant find_package(Qt) calls, remove redundant project() and cmake_minimum_required() calls, use target_include_directories. Amends f071d4ee8abf6fd0f1b6e187b4e99fa6fad7b642 Fixes: QTBUG-127616 Task-number: QTBUG-115200 Change-Id: I06ca1d38a8e5e7cb18ade205616a603db98a17be Reviewed-by: Alexey Edelev <[email protected]>
* QCalendar example illustrating the user-supplied plugin mechanismMagdalena Stojek2024-07-0418-1/+580
| | | | | | | | | This example demonstrates how to write a calendar backend plugin using a low-level API for extending Qt applications. Fixes: QTBUG-115200 Change-Id: If0b7f2552ba8c2203acdcbff238fb0ffa7cfca55 Reviewed-by: Edward Welbourne <[email protected]>
* wasm: hellogl2 screen is blackEven Oscar Andersen2024-07-014-2/+10
| | | | | | | | | | | We need to reset the OpenGL state in paintGL for the drawing to work, Also, disable the dock/add window functionality as it does not work on webassembly. Change-Id: I480d944bc2029a07d5d49f0a85c3754fbc8cd53c Reviewed-by: Lorn Potter <[email protected]>
* Widget gallery example: set color scheme before constructing UIVolker Hilsheimer2024-06-112-3/+2
| | | | | | | | | | | | | | | | On macOS, we see unexplained white flashes of the UI when overriding the scheme in the widget's constructor. This only happens when running the bundle, but not when running the executable. Work around that problem by setting the scheme immediately after constructing QApplication. Pick-to: 6.8 Task-number: QTBUG-126248 Change-Id: I4a5fe467d628fca5e52e1e36f43af8143239c7fa Reviewed-by: Doris Verria <[email protected]> Reviewed-by: Tor Arne Vestbø <[email protected]>
* systray example: if there is no system tray, allow waiting for oneShawn Rutledge2024-06-051-4/+6
| | | | | | | | | | | | | | | | | | Demonstrate that QSystemTrayIcon can wait for a tray to become available. For example QDBusTrayIcon::init() connects to QDBusServiceWatcher::serviceRegistered to detect the StatusNotifier service becoming available. So instead of unconditionally quitting if there is no tray, allow the user to choose to "Ignore" its absence, or "Close" the application. Realistically, applications in which a tray icon is an optional feature should not quit just because there's no tray. Task-number: QTBUG-94871 Change-Id: Ia8efd95fcfb9ff7c915ee8e259e9a0903fa7bcb3 Pick-to: 6.8 6.7 6.5 Reviewed-by: Axel Spoerl <[email protected]> Reviewed-by: Ilya Fedin <[email protected]> Reviewed-by: Dmitry Shachnev <[email protected]>
* Android: cleanup AndroidManifest.xml files in examplesAssam Boudjelthia2024-05-231-5/+0
| | | | | Change-Id: I6b0a11ace348891da7ed16dd9039b807902cb828 Reviewed-by: Tinja Paavoseppä <[email protected]>
* Add Copyright and licensing information in fileLucie Gérard2024-05-212-0/+4
| | | | | | Task-number: QTBUG-124453 Change-Id: I380ea0ad99b187c736e6f80fa8825ee9866f54c9 Reviewed-by: Joerg Bornemann <[email protected]>
* Add copyright and licensing to build system files missing itLucie Gérard2024-05-213-0/+6
| | | | | | | Task-number: QTBUG-124453 Change-Id: Ibb6a0ab839a16ceef3c68861bac2f508ddb3d1ae Reviewed-by: Joerg Bornemann <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
* Replace 'Qt Designer' and 'Qt Widgets Designer' in codeKai Köhne2024-05-163-14/+14
| | | | | | | | Use new term in examples, code comments, error messages and and mime types. Task-number: QTBUG-122253 Change-Id: I355452d6eb02a7a0ffbb20acf82ddb8ebbfa4837 Reviewed-by: Joerg Bornemann <[email protected]>
* ColorScheme: make QStyleHints::colorScheme writable for applicationsVolker Hilsheimer2024-05-102-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applications can request the color scheme to be either explicitly light or dark, or to follow the system default by setting the scheme to Qt::ColorScheme::Unknown. Setting the color scheme will make the request to the QPlatformTheme implementation, which can then use the appropriate implementation to set the application's appearance so that both palette and window decoration follow the requested color scheme. This should trigger theme change and palette change events. A change to the effective scheme should then call back into QStyleHintsPrivate::updateColorScheme, which will emit the changed signal for the property. Implement this for macOS (Cocoa), iOS, Android, and Windows. On macOS, we have to use deprecated AppKit APIs; the replacements for those APIs are not suitable for this use case. On iOS, the setting is for each UIWindow, which we can update or initialize based on an explicitly requested scheme. On Android we can piggy-back on the logic added when dark theme support was introduced in b4a9bb1f6a40e6d504c1f48f0d9ea2b70ab1a9f0. On Windows, we have to fake a dark palette if the dark scheme is requested on a light system, as there is no API to read a dark palette. However, we also have to ignore any application preference if a high- contrast accessibility theme is selected by the user (we report the color scheme as unknown; there are both light and dark high-contrast themes), and read the system palette using the GetSysColor API, which is used for light mode. And we need to initialize windows with the correct frame if the application explicitly overrides the system color scheme. Add an auto-test to the QApplication test, as that gives us the most coverage to confirm that QStyleHints emits the changed signal, and that Theme- and PaletteChange events are received by the toplevel widget when the color scheme actually changes. This test has to be skipped on platforms where we cannot set the color scheme programmatically. Add the option to explicitly select the color scheme to the widget gallery example, and default it to dark mode. Fixes: QTBUG-124490 Change-Id: I7302993c0121284bf9d3b72e3149c6abbe6bd261 Reviewed-by: Tor Arne Vestbø <[email protected]>
* Remove check for Qt version > 4 that's not useful nowAssam Boudjelthia2024-04-241-2/+1
| | | | | | Pick-to: 6.7 Change-Id: Ia24b2b9fb9f3b070f8eccaf74a09787b324ab01e Reviewed-by: Tinja Paavoseppä <[email protected]>
* Convert "Color Editor Factory" Example to snippetsMohammadHossein Qanbari2024-04-1910-347/+0
| | | | | | | | | | The color editor factory example is removed and part of the codes are used as snippets. Fixes: QTBUG-119985 Pick-to: 6.7 6.6 Change-Id: I421e473e7db09a5af7543b80b87a338d8ff2ab7e Reviewed-by: Axel Spoerl <[email protected]>
* rhiwindow: Set DPR on image texture to ensure DPR-agnostic drawingTor Arne Vestbø2024-04-182-4/+10
| | | | | | | | | Otherwise the 20x20 margins will produce different layouts depending on the DPR, which is not what we want. Pick-to: 6.7 Change-Id: I4153d0843ef51c8e0f60d7d5166b153d45201c95 Reviewed-by: Laszlo Agocs <[email protected]>
* Convert Group Box Example to snippets and screenshotsMohammadHossein Qanbari2024-04-188-364/+0
| | | | | | | | | | | | | Remove the Group Box Example from the repository, eliminating the associated example codes, screenshot, and documentation file. The only relevant portion used in the QGroupBox class has been relocated to the existing snippet file. Additionally, all references to this example across other files have been removed. Fixes: QTBUG-119980 Pick-to: 6.7 6.6 Change-Id: I66f9dd9dab1fe64f2d20424af3acd135201827d2 Reviewed-by: Axel Spoerl <[email protected]>
* Fix feature dependencies for sharedmemoryMorten Sørvig2024-04-171-1/+1
| | | | | | | | | The sharedmemory example depends on systemsemaphore as well. Change-Id: I0937e6429589f715ec446ac1337e21cb23cdf92b Reviewed-by: Thiago Macieira <[email protected]> Reviewed-by: Even Oscar Andersen <[email protected]>
* Don't add any entry whose name doesn't start with a letterChris Lerner2024-04-111-1/+4
| | | | | | | | | | | | | | | | | In the Addressbook example, any entry whose name doesn't start with a letter will not appear in any of the categories, but it will still exist. These entries would make the "There are currently no contacts in your address book" page disappear even when no entries could be found in the categories. Check if a new entry has a name that doesn't start with a letter, and if so, don't add it as a contact. Also, notify user that names must start with a letter when this happens. Fixes: QTBUG-124254 Pick-to: 6.7 6.6 6.5 6.2 Change-Id: I7f25711785ec7a82852a0f37d9f096cc3af41576 Reviewed-by: Axel Spoerl <[email protected]>
* Android notification example: Correct connect statementsAxel Spoerl2024-04-041-2/+2
| | | | | | | | | | | | The example breaks building 6.7 with examples on Android, due to QObject::connect() to a lambda without context object. Add context object. Fixes: QTBUG-123989 Pick-to: 6.7 6.6 6.5 6.2 Change-Id: Id3994e577a8a676220ac8d9f95d01c054839c143 Reviewed-by: Assam Boudjelthia <[email protected]>
* Android: add core-private to use private permissions APIAssam Boudjelthia2024-03-251-0/+1
| | | | | | | | | Amends 7fa6d09ca20b27b8350e6e26040372ba70e6244d. Pick-to: 6.7 6.7.0 6.6 6.5 Fixes: QTBUG-123353 Change-Id: If79498d28b890772f23963621e6e7bd263a56aca Reviewed-by: Tinja Paavoseppä <[email protected]>
* CMake: Add deployment API to our examplesAlexandru Croitor2024-03-22144-1296/+1461
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects were modified using the tool at: https://git.qt.io/alcroito/cmake_refactor A couple of examples had to be adapted manually, due to them including more than one app per example subdirectory. The INSTALL_EXAMPLESDIR and INSTALL_EXAMPLEDIR assignments were removed. The install(TARGETS) calls were modified according to our documentation snippets for qt_generate_deploy_app_script. A qt_generate_deploy_app_script call was added for each executable target. Note that the deployment step will be skipped in the CI for now, because we enable QT_DEPLOY_MINIMAL_EXAMPLES and thus QT_INTERNAL_SKIP_DEPLOYMENT, and also because standalone examples are not enabled yet, and deployment is disabled for in-tree (so no-standalone-example) prefix builds. The install(TARGETS) calls for each example will still run, installing the examples into an installed_examples directory, that will not be archived by the CI. Pick-to: 6.7 Task-number: QTBUG-102056 Task-number: QTBUG-102057 Change-Id: Ida389bbad41710b2ae5da4d95e2d85be9e0cd9ce Reviewed-by: Alexey Edelev <[email protected]>
* wasm: Fix openglwindow exampleEven Oscar Andersen2024-03-221-43/+38
| | | | | | | | Use QOpenGLBuffer to satisfy WebGL Change-Id: Id40a85feb329a85844637c5f5a7a8ae534969086 Reviewed-by: Laszlo Agocs <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
* Add configure feature for MetalTor Arne Vestbø2024-03-192-2/+2
| | | | | | | Simplifies maintenance of code paths that rely on Metal. Change-Id: I1d1f705fffc14dbafde346eeb555b43be6d5be54 Reviewed-by: Alexandru Croitor <[email protected]>
* Correct a typo in the reference documentation of D-Bus Chat exampleChris Lerner2024-03-191-1/+1
| | | | | | | | | In the sentence "Users connect and send message to each other", change "message" to "messages". Pick-to: 6.7 6.6 6.5 6.2 Change-Id: Ib4d0991d314cd300a56def8797cac604fa88ea35 Reviewed-by: Axel Spoerl <[email protected]>
* CMake: Allow building all examples as standalone just like testsAlexandru Croitor2024-03-141-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a new libexec/qt-internal-configure-examples script that allows to configure and build "standalone examples" just like "standalone tests". This is a prerequisite for using deployment api in examples for prefix builds, otherwise deployment api gets confused not finding various information that it expects from an installed qt. Because the various conditions in the build system for standalone examples are similar to standalone tests, introduce a new QT_BUILD_STANDALONE_PARTS variable and use that in the conditions. The variable should not be set by the user, and is instead set by the build system whenever QT_BUILD_STANDALONE_TESTS/EXAMPLES is set. Unfortunately due to no common file being available before the first project() call, in qtbase builds, per-repo builds and top-level builds, we need to duplicate the code for setting QT_BUILD_STANDALONE_PARTS for all three cases. Task-number: QTBUG-90820 Task-number: QTBUG-96232 Change-Id: Ia40d03a0e8f5142abe5c7cd4ff3000df4a5f7a8a Reviewed-by: Alexey Edelev <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
* CMake: Use qt_internal_add_example for bindablepropertiesAlexandru Croitor2024-03-111-1/+1
| | | | | | | | | | | bindableproperties is the actual project, not a subdirectory with separate examples. It should use qt_internal_add_example. Pick-to: 6.6 6.7 Task-number: QTBUG-90820 Task-number: QTBUG-123096 Change-Id: I409d20e035956e6c236f84721b3c6882893cd547 Reviewed-by: Joerg Bornemann <[email protected]>
* SQL/QSqlField: deprecate internal functions setSqlType()/typeID()Christian Ehrlicher2024-03-101-3/+1
| | | | | | | | | These functions set/get the db-specific internal sql type but it's not used in any of the sql plugins since ages. Any external plugin using this for some reason must be ported away until Qt7. Change-Id: Ifb33e9d3be0b80fb4d0979d31436e89ea6a8208b Reviewed-by: Axel Spoerl <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
* Correct license for examples filesLucie Gérard2024-03-07183-183/+183
| | | | | | | | | | | | | | 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 <[email protected]> Reviewed-by: Kai Köhne <[email protected]>
* Doc: Further replace 'Qt Designer' with 'Qt Widgets Designer'Kai Köhne2024-02-291-5/+5
| | | | | | | | | | Use \QD macro wherever possible. Amends 8aceccc7eb075 Task-number: QTBUG-122253 Change-Id: I276dabd40fb81486f6380fd90cf9968990932a24 Reviewed-by: Joerg Bornemann <[email protected]>
* Doc: Move OpenGL examples to '3D' categoryTopi Reinio2024-02-212-2/+2
| | | | | | | Pick-to: 6.7 Task-number: QTBUG-122377 Change-Id: Id4c765c128ad2e90cacfffaa3f798bad349e71e8 Reviewed-by: Kai Köhne <[email protected]>
* Assign a category to Contiguous Cache ExampleKai Köhne2024-02-191-0/+1
| | | | | | Pick-to: 6.6 6.7 Change-Id: I98e62adce63df7e940d96cd50dcb243366dca216 Reviewed-by: Paul Wicking <[email protected]>
* Documentation: Rename 'Qt Designer' to 'Qt Widgets Designer'Friedemann Kleint2024-02-191-2/+2
| | | | | | Task-number: QTBUG-122253 Change-Id: I04ab521decaf908b1c1491987f6de1e816a42a33 Reviewed-by: Leena Miettinen <[email protected]>
* Doc: Resolve qdoc link warningsPaul Wicking2024-02-142-4/+6
| | | | | | | | | | | - Drop link to non-existing documentation. - Reorder links such that the target becomes the text and vice versa. - Use correct link target names. - Add missing qttestlib doc project dependency to qtwidgets. Pick-to: 6.7 Change-Id: Iaa0ea7b22326c82271b14b17c4b78c3a25a834f1 Reviewed-by: Topi Reiniö <[email protected]>
* Use the unique resource identifier in editabletreemodel exampleAlexey Edelev2024-02-131-1/+1
| | | | | | | Fixes: QTBUG-122210 Pick-to: 6.6 6.7 Change-Id: I86200961384de6fd57f5c140120461faada4fb4d Reviewed-by: Alexandru Croitor <[email protected]>
* Android: request POST_NOTIFICATIONS permission for Android NotifierAssam Boudjelthia2024-02-063-0/+14
| | | | | | | | | | Android 13 and above requires the notification permission "android.permission.POST_NOTIFICATIONS" to be requested at runtime. Pick-to: 6.7 6.6 6.5 Fixes: QTBUG-121668 Change-Id: I38512ffc07c1a3ffe7cddffa937b98332f172d15 Reviewed-by: Ville Voutilainen <[email protected]>
* Android: fix style extraction when set to noneAssam Boudjelthia2024-02-061-4/+0
| | | | | | | | | | | If extract_android_style meta data is set to none currently the app still tries to extract full stlye and crashes. If this option is set no style data should be extracted after this patch. Pick-to: 6.7 Fixes: QTBUG-121667 Change-Id: I764e1eb6a582073196f991ca930d245d17a1f7e5 Reviewed-by: Ville Voutilainen <[email protected]>
* Remove extra semi-colonsTasuku Suzuki2024-02-062-2/+2
| | | | | Change-Id: I92fddb36cd136fd1bd627955f15d0559b9942d7e Reviewed-by: Allan Sandfeld Jensen <[email protected]>
* Menu example: Use theme iconsFriedemann Kleint2024-02-012-18/+36
| | | | | | Pick-to: 6.7 Change-Id: I7f77457b439919e7a7882f23e21e648d8965859a Reviewed-by: Volker Hilsheimer <[email protected]>
* Examples/sqlbrowser: improve coding styleChristian Ehrlicher2024-01-197-194/+248
| | | | | | | | | | | Fix the coding style to match the current Qt style. Pick-to: 6.7 Fixes: QTBUG-68661 Fixes: QTBUG-120909 Change-Id: I314ca9da8a03727e3e0336a23fce1ce9d065d3a4 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Kai Köhne <[email protected]>
* Update QRhiWidget API based on review commentsLaszlo Agocs2024-01-181-27/+27
| | | | | | | | | | | | | | | | | | Spell out some API names in enum. Some functions are now protected. Remove property for autoRenderTarget. textureFormat -> colorBufferFormat. Used "fixed" instead of "explicit" and follow the above naming, so that explicitSize becomes fixedColorBufferSize. Pick-to: 6.7 Change-Id: I2fd6ad46033313a3febbb8846146021d5dd11010 Reviewed-by: Volker Hilsheimer <[email protected]>
* Doc: Create separate Graphics and Multimedia example categoriesJaishree Vyas2024-01-1629-29/+29
| | | | | | | Fixes: QTBUG-117884 Pick-to: 6.6 6.7 Change-Id: I33c7b1cbfaeae866dffb0e89a5d09d775736d886 Reviewed-by: Topi Reiniö <[email protected]>
* SQL examples: code cleanupChristian Ehrlicher2024-01-1419-129/+172
| | | | | | | | | | | Misc code cleanup for the sql examples: - don't include global Qt headers but only needed ones - use proper tr() where possible - pass parameters by const ref - style fixes Change-Id: I4fd4293948918b9d7b373b6d1e8eeecf6f25a622 Reviewed-by: Samuel Gaist <[email protected]>
* Fix warning on SQL Browser startupKai Köhne2024-01-121-1/+2
| | | | | | | | | | | Browser::addConnection is not a slot/invokable, and requires arguments. What was probably meant to happen is that the connection dialog opens. Pick-to: 6.5 6.6 6.7 Change-Id: I4e6bffb3e0277ca3deb7111cf4bb47ff188f6f16 Reviewed-by: Christian Ehrlicher <[email protected]>
* wasm: fix drag examples for webassemblyLorn Potter2024-01-114-1/+15
| | | | | | Change-Id: I47903743685fadfe33820e7785b72d62109e77d0 Pick-to: 6.7 Reviewed-by: Morten Johan Sørvig <[email protected]>
* Android: remove redundant comments from notifier example manifestAssam Boudjelthia2023-12-221-5/+1
| | | | | | | Task-number: QTBUG-115020 Pick-to: 6.7 Change-Id: I29cd7a45f85bc85f6f12b135287b9eb868a7bc44 Reviewed-by: Nicholas Bennett <[email protected]>
* Update visuals of remote controlled car exampleMatthias Rauter2023-12-2116-76/+114
| | | | | | | | | * Added icons to the controller. * Keep the car within the scene. * Removed the ui file because 4 buttons can be maintained in code easier. Change-Id: I10af821beb442939e1e7fbdd3ffbde67a272bb2f Reviewed-by: Volker Hilsheimer <[email protected]>
* Remove the style plugin exampleVolker Hilsheimer2023-12-2118-423/+0
| | | | | | | | | | The snippets in the QStylePlugin class documentation show the relevant bits well enough. Pick-to: 6.7 6.6 Fixes: QTBUG-119974 Change-Id: Iba4a37664d64d86a2946f41d131a201ccdcd723b Reviewed-by: Axel Spoerl <[email protected]>