aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update interface to let refreshing files in code modelqds/v3.9.0qds/3.9Vikas Pachdha2022-12-121-3/+3
| | | | | | | | The use case is to wait for the udpate to finish Task-number: QDS-8469 Change-Id: Ia3871a5557c90a06b33eee52840b267d808cfe21 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* StudoPlugin: Add QTC_ASSERT to avoid empty project namesThomas Hartmann2022-12-121-0/+1
| | | | | | | There have been issues with invalid properties in the telemetry backend. Change-Id: I8ddd7740e927e83b363a8d5a87a24836ca573c73 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix expand all and collapse all in content libraryMiikka Heikkinen2022-12-122-0/+4
| | | | | | | (cherry picked from commit df622c9c3cb22268c0d21bfcecb8f5be9590afa8) Fixes: QDS-8413 Change-Id: I98931c52f63bbbfd7a42e522a762d77b469df5da Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Fix Navigation event filter for some LinuxeKnud Dollereder2022-12-091-8/+8
| | | | | Change-Id: I4d629c5ec6866e497949455ef3cd59a216ffdbb6 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: fix adding effect to 2D does not work on windowsAmr Essam2022-12-093-16/+17
| | | | | | | | | | | Effect cannot be added in windows, during to latest changes in QDS-7344 The QFileSystemModel::dataChanged doesn't emit with some file types So I used Utils::FileSystemWatcher for watching files changes Task-number: QDS-8452 Change-Id: Id381a78556a3dad56268cec506a0182d4343f0a2 Reviewed-by: Amr Elsayed <amr.elsayed@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: fix QDS does not quit when closing it while Splash screen is ↵Burak Hancerli2022-12-091-3/+6
| | | | | | | | | | | open macOS Setting modality prevents the window closing even the mainwindow is being closed. Task-number: QDS-8540 Change-Id: Ifa2b185c0548128b35ba680d2bc8bf8c856d7c37 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Work around the issue in QtQuick3D 6.4 geometry cachingMiikka Heikkinen2022-12-092-0/+35
| | | | | | | | | | | | | | | | | | | | | | QQuick3DGeometry::updateSpatialNode can create QSSGRenderGeometry object with exact same address as a previously created and subsequently deleted QSSGRenderGeometry object (i.e. the memory location is reused). If the previous node was not used for the exact same logical geometry, then you get these artifacts, as QSSGBufferManager uses QSSGRenderGeometry object pointers in QSSGBufferManager::loadRenderMesh function to determine if it needs to reload the geometry and what geometry gets used for each model. The cache still contains data for the deleted node, which is then matched for the new node with same address. This workaround ensures that none of our grid geometries will have the same generation id and thus will never get improperly matched in QSSGBufferManager cache. Task-number: QDS-8516 (cherry picked from commit 636c9524f994f32bd20a4683836ad2acd0c6893f) Change-Id: I017a4ae4a59eef2bb26ade5abf13e8f74f57c4af Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Update application template for QDS projectsThomas Hartmann2022-12-0811-7/+122
| | | | | | | | | | | This updates the application template to download the designer components. * Added a cmake configure option BUILD_QDS_COMPONENTS * We use the qds-3.9 branch of qtquickdesigner-components Change-Id: I046e2c7e648fe9d3cb6cf8d2cec8eb606432bccd Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Fix Connections status in ContextMenuAleksei German2022-12-081-9/+8
| | | | | | Task-number: QDS-8521 Change-Id: Id0b835fb14b18563d4ecc0c1b2039b9bb181c32c Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix texture source path for newly created texturesMiikka Heikkinen2022-12-067-95/+26
| | | | | | | Fixes: QDS-8448 Change-Id: Ibaf51444f2dff8d3de95edd4c8afbc7bc2cd2241 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Remove unnecessary functionHenning Gruendl2022-12-051-8/+1
| | | | | Change-Id: I3a8c29ba7e24b10df957b4cb8fdb9f6e3acd6855 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: QtObject is in QML nowThomas Hartmann2022-12-021-1/+9
| | | | | | | | | | If a type cannot be created we created a QtObject instead. Since we create Item for items this crash was rare. Task-number: QDS-8460 Change-Id: Ifd80f6670bec5328ddd122e0f2f2c133c487b3bd Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* Refactor: Extract the code for adding a textureSamuel Ghinet2022-12-0211-52/+194
| | | | | | | | Task-number: QDS-8344 Change-Id: I433e2beb3ffd6346ea37e093705943b0701efd3d Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* QmlDesigner: Fix zoom speed for windowsKnud Dollereder2022-12-024-6/+23
| | | | | | | Fixes: QDS-7835 Change-Id: I4ba76f9b7bf7be2472a073515891d50dbe7213c8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Bump version in application templateThomas Hartmann2022-12-021-1/+1
| | | | | Change-Id: I5ecbe2da5e403f883344f9e0987ab11585140603 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Add "Add Texture" and "Add Light Probe" actions to Assets LibrarySamuel Ghinet2022-12-0212-58/+200
| | | | | | | | | | | When the user right-clicks on an image asset, "Add Light probe" now appears in the context menu. When the user right-clicks one or more image assets, "Add texture" or "Add textures" becomes available. Task-number: QDS-8344 Change-Id: Ia8d8379be2a0a285b33e4a230e08527c18756b47 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Use Model ConnectionMetaInfo methodAleksei German2022-12-024-4/+4
| | | | | | | Change-Id: I1ac34ed36df45e8fe1f8baa60311b1c337c4ac71 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix content library visibility logicMiikka Heikkinen2022-12-0213-208/+207
| | | | | | | | | | Also fix enable logic of context menus in content library. Fixes: QDS-8446 Change-Id: I82f80779f507aa5336ebafac5cffc36365238fc5 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* QmlDesigner: Add nullptr checks in ActionEditorAleksei German2022-12-011-12/+13
| | | | | | | | Encountered an odd nullptr in QmlJS::Value *value. Change-Id: I9140ee15f01a430477b808aa7b664f5c40889c30 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* QmlDesigner: Add qt insight infrastructureHenning Gruendl2022-12-0111-12/+219
| | | | | | | | | | | | | | * Add InsightSection for property editor * Add functions in property editor qml backend, context object and view * Add InsightTracker in text to model merger * Add auxiliary data properties Task-number: QDS-7489 Task-number: QDS-7833 Task-number: QDS-8073 Change-Id: I3fbec3d387f815d71640b512e67829076b600d11 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* StudioWelcome: Use QQuickWindow on macOSThomas Hartmann2022-12-012-45/+70
| | | | | | | | | | | | | | | | This fixes flickering on macOS introduced by Qt 6.4. Unfortuntly keyboard focus does not work on Windows in this case if the splashscreen flag is set. Therefore we only use QQuickWindow on macOS. Simplfiying code and removing unused code. The variable doNotShowAgain is always true now. The check in delayedInitialize can be removed, since we already show a warning during creation. Task-number: QDS-8113 Change-Id: I8185a58175f4d2eafe92561fbded535d7ae393a2 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* StudioWelcome: Fix warningThomas Hartmann2022-12-011-1/+1
| | | | | Change-Id: Id6a218998f2b0a767d4bd23c8936f5863c00d7b1 Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: Fix warningsThomas Hartmann2022-12-013-5/+1
| | | | | | Change-Id: Ia88bbe9bc05fcd1725833d1627499dac3a32c11d Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Add a tooltip to material browser texturesMahmoud Badri2022-12-011-0/+10
| | | | | Change-Id: I5a2dd41602bb03357fdd1b7280242f6ea43ff56f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* QmlDesigner: Fix material browser's textures searchMahmoud Badri2022-12-013-3/+4
| | | | | | Change-Id: Ia0750f0f61d821deeb1d0d3630fb770803e604ee Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* QmlDesigner: initialize unique pointerThomas Hartmann2022-11-301-0/+1
| | | | | | | | | This crashes with Qt 5. With Qt 6 this "worked", which was most likely pure luck. Change-Id: I652b190ae0d4b00adb4c48e601e7be9512f86d16 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Take puppet version into accountThomas Hartmann2022-11-301-1/+5
| | | | | | | Change-Id: I8bd6f588dcf00e20dbcddde9caee8eef3eafc3b0 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Update isEmpty state upon content library loadMahmoud Badri2022-11-302-0/+10
| | | | | | Change-Id: Ibb26294efac90e177f5e4f691609a95f6a181475 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Show content library under enterprise license onlyMahmoud Badri2022-11-301-2/+14
| | | | | | | Fixes: QDS-8453 Change-Id: I84668ee370e494ff303734faefb0b5e0895ca061 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add new menu for export actionsThomas Hartmann2022-11-305-26/+55
| | | | | | Task-number: QDS-8092 Change-Id: If83ea84fded27485c50865e49d8d184fecc6d454 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Add validId verificationAleksei German2022-11-301-7/+8
| | | | | | Task-number: QDS-8449 Change-Id: Iaa965fa1a54d93ff0f76680d1673d883fa3dfa0f Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Doc: Fix missing lights imagesMats Honkamaa2022-11-305-4/+4
| | | | | | | | Add missing 3D lights icons. Task-number: QDS-8433 Change-Id: Iaebe003efcaecbaf394dc4383f4de722d30142fe Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QmlProjectManager: Use a PathChooser for the fallback qmlscenehjk2022-11-301-3/+4
| | | | | | | | | | | Allows to browse for binaries on the target instead of having to specify a proper fully qualified remote path manually. Change-Id: Iaf9dc5c4fe921a7188ef2178f10403fa01e69d03 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> (cherry picked from commit 50f6afe4d0a8d152bcab7b5fa3c7b7583a9cfa3c) Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: adjust caller code to new binary name QQEffectMaker -> qqemAmr Essam2022-11-301-1/+1
| | | | | | Task-number: QDS-8450 Change-Id: I8a82a31158e3c44903126b12d430b8563dde7f26 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Categorize slot actionsAleksei German2022-11-301-103/+138
| | | | | | | Task-number: QDS-8447 Change-Id: Ibc96bfcb7c87f0888e15f2533cab2567098a3760 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: drag effects from assets view to navigatorAmr Essam2022-11-309-67/+120
| | | | | | | | | | Effects can be dragged from the assets panel to the navigator, also effects can be dragged between components in the navigator. There were lots of transformations because the way navigator works in not suitable with effects Task-number: QDS-8235 Change-Id: I378a70b5586fa95d0890bda4fbe53191c7ab0bc4 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* qml2puppet: fix include when building against linux Qt5Tim Jenssen2022-11-291-0/+2
| | | | | Change-Id: I17401443a1e099b9c63d0de2e6f8bf5c3e9cfcb3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* qml2puppet: remove unnecessary flexibilityTim Jenssen2022-11-291-6/+2
| | | | | | | | | standalone builds are doing: cmake --install . --prefix <something_with_bin> Change-Id: I61c0743c00f96c0505e2fa383e4bee41c2b6ceb9 Reviewed-by: Burak Hancerli <burak.hancerli@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Fix content library sections not collapsing after searchMahmoud Badri2022-11-293-2/+12
| | | | | | | | Also enabled the auto expand for textures and environments tabs Fixes: QDS-8443 Change-Id: I190f919ccb2cff90c7cd151e65b77ebd52f0a87c Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* QmlDesigner: Add tool tips for animationsThomas Hartmann2022-11-291-0/+9
| | | | | | | | Task-number: QDS-8312 Change-Id: Ic580dd43c4fdb0d7f33c937c1bbe1ecfb963250a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add tool tips for positionersThomas Hartmann2022-11-291-0/+5
| | | | | | | | Task-number: QDS-8311 Change-Id: Ie981d3a7806381237844707f6018278d5bb05354 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: crash fix on shutdownTim Jenssen2022-11-291-1/+2
| | | | | | Change-Id: I6e20a99189c81fcb8ec0b0474a219ac1056731bc Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Show informative message when texture library is not foundMiikka Heikkinen2022-11-291-3/+8
| | | | | | Fixes: QDS-8444 Change-Id: Ief36595fda27b075ef3362d6f393655c56fd9940 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner: Fix issues with adding texture as light probeMiikka Heikkinen2022-11-295-31/+49
| | | | | | | | | | | | | | | Changed resolving the currently active scene environment to be done on demand instead of trying to track it realtime, since resolving it is relatively cheap operation, so it doesn't cause noticeable delay at context menu opening. The alternative would be to implement multiple different notification handlers in ContentLibraryView, which would slow down all operations and would be much more complex to ensure all edge cases are covered. Fixes: QDS-8437 Change-Id: Ib33cd1ad549d836b9d780f9b0f92e70d223e2a25 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* QmlDesigner: Add StateGroups to ConnectionsAleksei German2022-11-291-0/+42
| | | | | | | | Task-number: QDS-8027 Change-Id: I72ce5bfd2505269ad750ee5fbd5b13669891290f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix build for testsThomas Hartmann2022-11-281-0/+1
| | | | | | | Updating the NodeMetaInfo mock. Change-Id: Ia3a87095413bb58430d978bb831ed8b808596093 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* QmlDesigner: Prevent content lib scroll when context-menu is openMahmoud Badri2022-11-282-0/+2
| | | | | | Fixes: QDS-8441 Change-Id: Idfc3400fac43668d14cd5ff85cb42d745ef97dfe Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* QmlDesigner: Remove error states editorHenning Gruendl2022-11-281-1/+1
| | | | | | | | Remove the error "Unable to assign [undefined] to QUrl" thrown by the states editor. Change-Id: Ic48deddbe698f161f486003ccaf9eb22d0ee65a9 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix states editor dialog not closingHenning Gruendl2022-11-281-1/+4
| | | | | | Task-number: QDS-8439 Change-Id: Idf633b345de6e4f124b2f621699615ac6d764ceb Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add missing ItemLibraryItem propertyThomas Hartmann2022-11-282-0/+7
| | | | | | Change-Id: Iab3a50ac67002e4a2f3807ee920bce892cd087cc Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>