aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* TextEditor example: allow setting multiple font attributesHEADdevShawn Rutledge9 hours1-4/+4
| | | | | | | | | | | | | | | | | | | | When a user activates the boldAction for example, the code was replacing QTextCharFormat's font with a default-constructed font that has the bold attribute set, which meant that it could not be bold, italic, underlined struck out, and with a custom size and color at the same time. On the other hand, when we do it the current way: textArea.cursorSelection.font.bold = checked we call QQuickTextSelection::font(), QFont::setBold(), and then QQuickTextSelection::setFont(). (QFont is a QML value type, so it's the only way.) Perhaps at some point, something was going wrong with that, but it seems to work now. Amends 045f9ce192d841f3cc36d514b5f238b46488b41e Fixes: QTBUG-136250 Pick-to: 6.8 6.9 Change-Id: I268e5814e7aa52aeb5aaec2d1a8fbfbc0d670236 Reviewed-by: Oliver Eftevaag <[email protected]>
* Remove menu shortcut from Controls gallery exampleShawn Rutledge23 hours1-5/+0
| | | | | | | | | | | | Text editing controls TextField and TextEdit provide their own context menus since 3b598b6f7509f57e198e7de1f04e4333555e7227. We don't want a global menu key shortcut to preempt those. Task-number: QTBUG-136253 Pick-to: 6.9 Change-Id: I7d0ec3754e24154b203c8ccd95801542a185a1c4 Reviewed-by: Oliver Eftevaag <[email protected]> Reviewed-by: Mitch Curtis <[email protected]>
* TextEditor example: Add font and color dialog actions to Format menuShawn Rutledge35 hours1-0/+6
| | | | | | | Task-number: QTBUG-136251 Pick-to: 6.8 6.9 Change-Id: I64d7a406d4acff5395cfc18c201888c17a44e10f Reviewed-by: Oliver Eftevaag <[email protected]>
* Improve QML in Controls TextEditor exampleShawn Rutledge35 hours1-11/+2
| | | | | | | Pick-to: 6.8 6.9 Task-number: QTBUG-119988 Change-Id: Iffc7df85f25024301efef591eb3fbfb1cfbe2f17 Reviewed-by: Oliver Eftevaag <[email protected]>
* Android: QtQuick for Android: Fix example scaling featuresKonsta Alajärvi2025-04-1416-160/+218
| | | | | | | | | | | | | | | | | | | | -set button and other text sizes back -add thumb and track back to switch -Change main relative layout gravity from center_vertical to center_horizontal to make the topMargin take effect -add previous topMargins back -remove layout_margins dimension as there were already dimensions for all the places it was used in -change naming of some dimensions -remove unused dimensions -Adjust text sizes in qtquickview_kotlin and java, they were little too small on high dpi devices -Adjust text sizes, margins and other dimensions in Main and Second.qml files Fixes: QTBUG-134405 Pick-to: 6.9 Change-Id: I35bc7892abe2435bd63b40bca9a21061ae9f0fa8 Reviewed-by: Petri Virkkunen <[email protected]>
* Port away from QPairZhao Yuhang2025-04-122-2/+2
| | | | | | | | QPair is just an alias of std::pair anyway. Task-number: QTBUG-115841 Change-Id: I26fc90adcc775aac9955ad57304af914dc4ed48f Reviewed-by: Ulf Hermann <[email protected]>
* Docs: Add code location instructions for Qt Quick for Android examplesNicholas Bennett2025-04-113-0/+6
| | | | | | | | | | Implemented a qdocinc similar to the other one used in general Qt examples. Fixes: QTBUG-135200 Pick-to: 6.8 6.9 Change-Id: I050da4162eea21cdbae00806b40525fc8e566a0c Reviewed-by: Petri Virkkunen <[email protected]>
* Examples: Fix chapter5 and chapter6 of extending-qml tutorialUlf Hermann2025-04-102-18/+32
| | | | | | | | | | | | We need to pass a parent to the PieSlices in order to make them visible. Use inline components to reduce the boiler plate. Amends commit 775eac90ed10dc0c854e7d249d81782f228597e7 Pick-to: 6.9 6.8 Fixes: QTBUG-135475 Change-Id: I55e2591703ceecbeb883a3f0de2a2a84b1600529 Reviewed-by: Fabian Kosmale <[email protected]>
* TextEditor example: add actions to built-in context menu, remove custom menuShawn Rutledge2025-04-082-55/+35
| | | | | | | | | | | Since 3b598b6f7509f57e198e7de1f04e4333555e7227 TextArea comes with a built-in context menu. Here we demonstrate how to add extra menu items to the end. Pick-to: 6.9 Task-number: QTBUG-35598 Task-number: QTBUG-134903 Change-Id: I1e3d8c044939521aaa076486630e3b879130dfd1 Reviewed-by: Mitch Curtis <[email protected]>
* CMake: Use qt_internal_add_example for advancedtextAlexandru Croitor2025-04-071-1/+1
| | | | | | | | | | | Because it's an example project, not a subdir project that adds other example projects. Amends 0b23a68fabf6bfcb03d04db7119c2985d7b5d84d Pick-to: 6.8 6.9 Change-Id: Iaaab440d1b6e75d89f0948083e275b2d7e7009ef Reviewed-by: Alexey Edelev <[email protected]>
* Basic Style: Add support for dark mode color schemeMohammadHossein Qanbari2025-04-051-1/+1
| | | | | | | | | | | | | | | | | | | Previously, the basic style did not respect the system's dark mode settings because the palette initialized by QQuickBasicTheme lacked definitions for dark mode colors. This commit updates the palette initialization to dynamically set colors based on the current system color scheme. Additionally, the palette is reinitialized whenever the system color scheme changes. The controls gallery example has been updated to demonstrate the new functionality. [ChangeLog][Controls][Basic] Basic style supports dark mode now. Fixes: QTBUG-135207 Change-Id: I2d6a74b407a7981905a9b86e97004cf0609a4bf0 Reviewed-by: Mitch Curtis <[email protected]>
* Introduce threaded fetchmore exampleOtto Ryynänen2025-04-0414-2/+433
| | | | | | | | | | Added an example of combining QThread and QAbstractItemModel - a feat that our customers ask every now and then Task-number: QTBUG-135351 Pick-to: 6.8 6.9 Change-Id: I476e7121361e4d85c2d87eb663f0389a337a3085 Reviewed-by: Fabian Kosmale <[email protected]>
* Gallery Example: Fix Shortcut.sequence warningMohammadHossein Qanbari2025-04-031-1/+1
| | | | | | | | Since StandardKey.HelpContents has two key bindings (at least on ubuntu) then setting `sequences` removes the warning. Change-Id: If4fb733fe562f1fc56af0d53ae029fa3bd32c0e0 Reviewed-by: Santhosh Kumar <[email protected]>
* Disable edge-to-edge feature in qtquickview examplesKonsta Alajärvi2025-03-205-0/+5
| | | | | | | | | | | | | After bumping the Android compile and target versions to 35, disable edge-to-edge feature that arrives with Android 15, because it will be easier for users to work with this for now. Later we'll add support for edge-to-edge feature. Task-number: QTBUG-134880 Pick-to: 6.9 6.8 Change-Id: I8d703c6c6b925a39da9ac8ea6a3d23eaa9b3c3a0 Reviewed-by: Assam Boudjelthia <[email protected]>
* Android: update Qt Quick for Android examples to SDK 35Rami Potinkara2025-03-204-8/+8
| | | | | | | | | | | | This patch updates qtdeclarative examples to use SDK 35 as a target and compile version SDK. Task-number: QTBUG-130285 Task-number: QTBUG-129461 Pick-to: 6.9 6.8 Change-Id: Ie11f8bebff7dfeb4c1a87c07826f9e9ef0f78d4b Reviewed-by: Rami Potinkara <[email protected]> Reviewed-by: Assam Boudjelthia <[email protected]>
* VectorImage example: Fix qmllint warningsFabian Kosmale2025-03-171-2/+5
| | | | | | | | | | | | | | | Use required properties where needed, and properly qualify lookups. Use ComponentBehavior: Bound so that the delegates can safely refer to the ids in the same file. This does not fix the unqualified warning in Heart.qml, as that file is auto-generated, and the generator would need the fix instead. Task-number: QTBUG-134589 Pick-to: 6.8 6.9 Change-Id: I6ef213004e0bb3e905a831749e9f0c2c5ca92518 Reviewed-by: Sami Shalayel <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* Examples: Add explicit 6.9 project setup for private library usersDennis Oberst2025-03-103-3/+3
| | | | | | | | | | Looking up private libraries requires version 6.9 or higher. Amends: f71e2f99556c59f6f75fcc420542a67cef917f22. Pick-to: 6.9 Change-Id: I3a22893aef4dda6825955157667bec38f7b82b96 Reviewed-by: Alexey Edelev <[email protected]>
* examples: android compile fixTim Blechmann2025-03-073-0/+38
| | | | | | | | | | * add dummy CMakeLists.txt files * add qtabstractlistmodel examples to the examples CMakeLists.txt Change-Id: I9af5bcb79a5cc71e7a4a50a5a674b97ba70538b0 Reviewed-by: Soheil Armin <[email protected]> Reviewed-by: Konsta Alajärvi <[email protected]> Reviewed-by: Assam Boudjelthia <[email protected]>
* QuickControls: Add vertical and horizontal header view delegatesMohammadHossein Qanbari2025-03-062-62/+49
| | | | | | | | | | | | | | | | | | | | | | Implement QQuickHeaderViewDelegate as the base class for header view delegates, introducing 'headerView' and 'orientation' properties. Separate previous delegate settings into HorizontalHeaderViewDelegate and VerticalHeaderViewDelegate components for Basic, Fusion, and Imagine styles. This change improves the modularity and reusability of header view delegates across different styles. It also allows for more consistent behavior and easier customization of header views. A test suite has been added to verify default property settings and ensure the new components work without warnings. [ChangeLog][QtQuickControls][HeaderView] Add dedicated delegate components for vertical and horizontal header views. Task-number: QTBUG-70326 Change-Id: I8831e77f6909bdae13c3a7262145ab156f63a59a Reviewed-by: Mitch Curtis <[email protected]>
* QtQuickView Java example: Register QML button listener after loadPetri Virkkunen2025-03-031-1/+1
| | | | | | | | | | | | Looks like the expected switch state was flipped at some point, but was forgotten in the initial QML loading handler. Removed the negation in checking the switch status. Fixes: QTBUG-134087 Pick-to: 6.9 6.9.0 Change-Id: I8ee56515145aa992546210bc147dce62652512c1 Reviewed-by: Olli Vuolteenaho <[email protected]> Reviewed-by: Assam Boudjelthia <[email protected]>
* threadedanimation example: add missing DEPENDENCIES to QtQuickSami Shalayel2025-03-031-0/+1
| | | | | | | | | | | | Add a missing dependency to QtQuick so that qmlls stops complaining about Spinner's base type QQuickItem. Amends a86fd709dd4d315cfe4fea77ea0bc730131fe840. Pick-to: 6.8 6.9 Change-Id: I7e8af3ee053ecbe66074104be86359a006ed9a05 Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* Make module ready for source SBOM checkingLucie Gérard2025-02-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | This includes: - turning VERIFY_SOURCE_SBOM ON - adding rules to the licenseRule.json files - correcting the licensing given via REUSE.toml files - renaming license files not located in LICENSES folder. Their name needs to be prefixed with `LICENSE.` to be ignored by reuse and excluded from the source SBOM. The names 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 corrections 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 6.8 Change-Id: I2b3e4750405f13a97b350ee65def30f1330526a3 Reviewed-by: Joerg Bornemann <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* Doc: Mention resource prefix in docs about translationsUlf Hermann2025-02-211-0/+2
| | | | | | | | | | | | If you use QQmlApplicationEngine to auto-load translations you need to make them visible by placing them inside the relevant QML module. Pick-to: 6.9 6.8 Fixes: QTBUG-116588 Change-Id: I4b768c6ad6ef763a5d6c43aaa794860f7751398a Reviewed-by: Sami Shalayel <[email protected]> Reviewed-by: Olivier De Cannière <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]>
* Doc: Fix incorrect \tab macro usageTopi Reinio2025-02-201-12/+12
| | | | | | | | | Resolves QDoc warnings of type Macro '\tab' invoked with too few arguments (expected 4, got 3) Pick-to: 6.9 Change-Id: I1e0dc56daa9eb3a8565e4d691a4504bfa3d0747c Reviewed-by: Nicholas Bennett <[email protected]>
* QtQ4A: Fix deprecation warnings in examplesOlli Vuolteenaho2025-02-194-11/+10
| | | | | | | | | | | | | | | Android Studio will default to using JDK21 from Ladybug onwards. This causes deprecation warnings about settings the source/target compatibility to Java 8. The more modern fix would be to use toolchains, but that would apparently require adding a toolchain resolver. To keep it simple let's just update the values to Java 17. Fixes: QTBUG-132802 Pick-to: 6.8 6.9 Change-Id: Ic278a4ea7da8d598cee963dbfce0f6d6c00f0603 Reviewed-by: Assam Boudjelthia <[email protected]>
* Remove extra space from QmlStatus printoutsOlli Vuolteenaho2025-02-191-4/+4
| | | | | | | | | | | | Just to make things prettier and help with testing (as the final string will be the same in 6.8 and 6.9). Amends 8b6905704eaba702cd337c99f0845ba748f73ffb. Pick-to: 6.9 Fixes: QTBUG-133493 Change-Id: Ic4e5709e150afba7d2fc502f07ea241f25d78205 Reviewed-by: Assam Boudjelthia <[email protected]>
* Qt Quick for Android: Remove manual orientation handling from examplesKonsta Alajärvi2025-02-199-105/+344
| | | | | | | | | | | | | | | | Remove any code related to manual target device orientation handling from Qt Quick for Android examples. Provide alternative landscape specific layout for examples. Remove unused variables and imports. Move unnecessary global variables to local. Fix couple variable namings in qtquickview_kotlin MainActivity.kt. Fixes: QTBUG-133325 Change-Id: I55ae0df59dd8b02b5f6cfadccc94095d4b7d4ac1 Reviewed-by: Assam Boudjelthia <[email protected]>
* Docs: Simplify "PieChart" tutorials and add snippet to QQmlListPropertyUlf Hermann2025-02-184-26/+2
| | | | | | | | | | | | | Most people should use the simplest way to instantiate a QQmlListProperty. Make that clear and add a relevant snippet to the documentation of the ctor. Pick-to: 6.9 6.8 Fixes: QTBUG-58643 Change-Id: I6ce07815fe3e74d4b859cc48028e3dd5724fb2ea Reviewed-by: Alexei Cazacov <[email protected]> Reviewed-by: Olivier De Cannière <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]>
* QQ4A: Fix qtquickview_kotlin compilation errorsPetri Virkkunen2025-02-181-2/+2
| | | | | | | | | | Looks like some variable renaming was missed at some point. Renamed calls to match the actual name of the member variable. Fixes: QTBUG-133276 Change-Id: Ieb7285ae7b617d8a84b3ad59e83f3140dd70f35f Reviewed-by: Assam Boudjelthia <[email protected]> Reviewed-by: Olli Vuolteenaho <[email protected]>
* CMake: Fix CMake Error: AUTOMOC for target neumorphicpanel_sharedAlexandru Croitor2025-02-181-0/+1
| | | | | | | | Pick-to: 6.9 Fixes: QTBUG-133481 Change-Id: Iea93f6599f73476cb42305a9fd1b6b48802176f8 Reviewed-by: Alexey Edelev <[email protected]> Reviewed-by: Volker Hilsheimer <[email protected]>
* Limit page stacking to only one pageMorteza Jamshidi2025-02-031-0/+3
| | | | | | | | | By limiting the page stacking there is no need for handling multi-page navigation. Fixes: QTBUG-132715 Change-Id: Ibbd99834d2740653340fd785f94c19215eab2e7d Reviewed-by: Mitch Curtis <[email protected]>
* Doc: Clarify use of QQuickWindow::beforeRenderingSafiyyah Moosa2025-02-021-3/+3
| | | | | | | | | | | | | | | | | | | The SceneGraph - RHI under QML example gives the impression that QQuickWindow::beforeRendering() is used with underlays and QQuickWindow::afterRendering() is used with overlays which is misleading. QQuickWindow::beforeRendering() can be used to upload data to buffers in both instances. Then, based on whether an underlay/overlay is required, the user can QQuickWindow::beforeRenderPassRecording() or QQuickWindow::afterRenderPassRecording(), respectively. This patch updates the documentation to make this distinction clear. Fixes: QTBUG-130570 Pick-to: 6.6 6.7 6.8 6.9 Change-Id: I3d086b9309d759a5e80f4abbd81d2fc1da55e9f0 Reviewed-by: Michal Klocek <[email protected]>
* CMake: Fix examples built as external projectsJoerg Bornemann2025-01-315-7/+7
| | | | | | | Usage of a private module needs a respective find_package call now. Change-Id: I20f7571e11ab9b2ca6d185b4834e72100d9ce2d6 Reviewed-by: Alexandru Croitor <[email protected]>
* Spreadsheets: Fix drag and drop issue after scrolling in table viewMohammadHossein Qanbari2025-01-281-94/+102
| | | | | | | | | | | | | | | | | | This patch fixes an issue with drag and drop functionality in the example, particularly after long scrolling. The problem stemmed from two main factors: - The table view was stealing DropArea events when interactive. - The drop area was positioned behind the table view's contentItem, preventing it from receiving the events. The drop area is now positioned above the table view, ensuring it can receive events during dragging operations. The table view's interactive mode is temporarily disabled when dragging begins and restored to its previous state when dragging ends. Task-number: QTBUG-125767 Change-Id: I8920284f4652464bccd92109a2a9685228e11783 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* Spreadsheets: Prevent data loss when dropping cells in invalid locationsMohammadHossein Qanbari2025-01-241-0/+23
| | | | | | | | | | | | | | | | | Before this patch, dropping selected cells into an invalid place in the TableView could result in partial data loss. This occurred because some of the selected data couldn't be set to the new cells, and the data was copied at the start of the drag operation. This patch improves the drag-and-drop functionality by: - Checking the possibility of copying selected data to target cells before the drop occurs (and during dragging). - Avoiding highlighting of invalid target cells during the drag operation. Task-number: QTBUG-125767 Change-Id: Iff1058c2239f4bad3430f4f01ccea619f1ac8773 Reviewed-by: Santhosh Kumar <[email protected]>
* Docs: Update the published QML code to reflect current best practicesAlexei Cazacov2025-01-243-4/+4
| | | | | | | | | This commit addresses the edit proposals mentioned in the QTBUG-131978. Task-number: QTBUG-131978 Pick-to: 6.9 6.8 Change-Id: Ib94379c6dc0778f5aee8e53c5f1015ad7b10779f Reviewed-by: Fabian Kosmale <[email protected]>
* Update Gradle versions in QtQ4A examplesOlli Vuolteenaho2025-01-158-10/+10
| | | | | | | | | | | These versions are currently all over the board, and the intention is to have them in line with the Qt for Android requirements (which is Gradle 8.10 and AGP 8.6). Also update the Kotlin plugins while at it. Task-number: QTBUG-132815 Pick-to: 6.9 6.8 Change-Id: I72d8cb15d80b8b69301bbc2bbfeebf779ef137df Reviewed-by: Assam Boudjelthia <[email protected]>
* Android: remove an extra repository definitionRami Potinkara2025-01-151-1/+0
| | | | | | | | | | | This change removes a duplicate mavenCentral repository definition from qtabstractitemmodel_java settings.gradle file of Qt Quick for Android example. Fixes: QTBUG-132792 Pick-to: 6.9 6.8 Change-Id: Ib4d719a7c12ff536a7da588387badd097edeeeb6 Reviewed-by: Assam Boudjelthia <[email protected]>
* Update Qt Quick for Android qtabstractitemmodel_java example docsKonsta Alajärvi2025-01-103-16/+29
| | | | | | | | | qtabstractitemmodel_java example was changed to use editable model. Reflect that change in the example docs. Fixes: QTBUG-132395 Change-Id: Ia4d1b33b9b8862efad502fe45e6fbd3584ca274f Reviewed-by: Assam Boudjelthia <[email protected]>
* Bump version to 6.10.0Jani Heikkinen2025-01-034-4/+4
| | | | | Change-Id: I08b4527cc13f4fb88a2fc5d5c24163e3315e99c9 Reviewed-by: Qt Submodule Update Bot <[email protected]>
* Qt Quick for Android: Add editable model to qtabstractitemmodel exampleKonsta Alajärvi2024-12-202-68/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since setData() and dataChanged() methods were added to QtAbstractItemModel Java class, modify the existing model in qtabstractitemmodel example to an editable one to showcase these methods. Changes includes: - Main.qml: - Minor QML coding convention based changes - Changed cell size - Changes that enable cell text editing and forwarding the changes to the model - Changed Text alignment inside cell - Cell text is fetched from new "edit" role MyDataModel.java: - Added override for setData() - Removed not needed roles "column" and "row" and replaced them with new "edit" role - Modified the Cell class to suit better editable model - Squashed generateRow() and generateNewRow() into one generateNewRow() - Added internal datalist updating to removeColumn() Fixes: QTBUG-130254 Change-Id: I791ad33e3b729617a7f53f6553e11fc39878edae Reviewed-by: Assam Boudjelthia <[email protected]>
* Compute implicitSize based on implicitContentSize in Popup and subclassesTor Arne Vestbø2024-12-191-2/+2
| | | | | | | | | | | | Popup uses a Pane as its popup item, so now that Pane reflects its explicitly set contentWidth/Height through implicitContentWidth/Height we can use the same expression for implicit width/height as regular controls, which hooks us into the safe area binding loop detection as well. Pick-to: 6.9 Change-Id: I3709978dae0271d7daf44fc6988f09f03df15b1f Reviewed-by: Mitch Curtis <[email protected]>
* Compute implicitSize based on implicitContentSize in Pane and subclassesTor Arne Vestbø2024-12-181-2/+2
| | | | | | | | | | | Now that Pane reflects its explicitly set contentWidth/Height through implicitContentWidth/Height we can use the same expression for implicit width/height as regular controls, which hooks us into the safe area binding loop detection as well. Pick-to: 6.9 Change-Id: Ie31b740a1e405341fc5f0ed9673b213292e4afd9 Reviewed-by: Oliver Eftevaag <[email protected]>
* Qt Quick for Android: Implement new onStatusChanged in examplesKonsta Alajärvi2024-12-112-27/+36
| | | | | | | | | | | | | | | Change currently used onStatusChanged method to new one which delivers the QtQuickViewContent with it in qtquickview examples. To showcase how to use the new onStatusChanged method and how it's useful in an application where there is multiple Qt Quick view contents. Add private variable for current Qt Quick view content and store the content coming with onStatusChanged in it. To avoid unnecessary code execution and warnings in other parts of the example. Task-number: QTBUG-127420 Change-Id: I375d21611c071d0d1b17cef7f51f221b21c74e09 Reviewed-by: Assam Boudjelthia <[email protected]>
* QtQuickView: Modify multi-view examples to have both views visible at oncePetri Virkkunen2024-12-1013-619/+588
| | | | | | | | | | | | | | | | | | Since we now support having multiple QtQuickViews loaded at once, it was decided that we can modify the existing 1-view, content-switching examples to instead display the available QML views all at once. This change includes: - Necessary QML changes to fit the content onto one view, including text wrapping and anchoring changes - Android layout changes to add a second layout for the second QtQuickView - Source changes to load the second view, rename variables to match the new functionality, and handle orientation changes. Task-number: QTBUG-129288 Change-Id: I5c8c5e3de168365ead6fdbe9cfe7ad6285d4b8bf Reviewed-by: Assam Boudjelthia <[email protected]>
* Replace QImage::mirrored with QImage::flipped in rendercontrol exampleVolker Hilsheimer2024-12-021-1/+1
| | | | | Change-Id: I09e1ddc335ea77a6d15dcb160e58ab01919ceee1 Reviewed-by: Allan Sandfeld Jensen <[email protected]>
* Spreadsheets Example: Use TableViewDelegateMohammadHossein Qanbari2024-11-303-55/+15
| | | | | | | | | This update removes the custom table cell and uses the TableViewDelegate type as the main TableView's delegate. Task-number: QTBUG-114636 Change-Id: Icc2fd121d66f2bd1a6102e8575b75abd46940b96 Reviewed-by: Santhosh Kumar <[email protected]>
* Remove QtTAS 1.0 leftovers from examplesOlli Vuolteenaho2024-11-292-24/+0
| | | | | | | | | | | | | | | | These were used in early versions of the Android Studio plugin to copy and package the libraries created by Qt build before AAR builds were a thing. Probably at some point they were accidentally committed into the examples. I tried builds after these were removed and there was no change to the behavior of the app. Task-number: QTBUG-131673 Pick-to: 6.8 Change-Id: I9f49d24bea3d7da8ba898af966066fb4050defc5 Reviewed-by: Nikunj Arora <[email protected]> Reviewed-by: Assam Boudjelthia <[email protected]>
* Remove useLegacyPackaging from Kotlin examplesOlli Vuolteenaho2024-11-292-10/+0
| | | | | | | | | | | | | The reasons are the same as mentioned in 88660cd34a3161e656b8d2d558544d11ef897d87, but that commit didn't touch the Kotlin examples, probably because of a mistake(?). I tried removing the blocks, and deploying the examples worked without issues. Task-number: QTBUG-131673 Change-Id: I166b39935c479220935a895778fc618119119552 Reviewed-by: Assam Boudjelthia <[email protected]>
* Fix warnings in rendercontrol_rhi exampleShawn Rutledge2024-11-121-4/+4
| | | | | | | Task-number: QTBUG-130991 Pick-to: 6.8 6.8.1 Change-Id: Ie2afcc693ef13ab482229e77e62514183675e9e7 Reviewed-by: Oliver Eftevaag <[email protected]>