Commit Graph

88653 Commits

Author SHA1 Message Date
Shrief Gabr
e79cab5d99 QmlDesigner: Notify save indicator on row/column deletion
Task-number: QDS-12499
Change-Id: I8d61bc3abdd9b8bda299a93c88579f2d0e392221
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-25 09:47:50 +00:00
Mahmoud Badri
cc187e1ce6 QmlDesigner: remove a texture from content library user tab
Fixes: QDS-12542
Change-Id: Iee3ea0bd8a3ce6cb41c27a645801eef608cd8da8
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-04-25 09:19:34 +00:00
Miikka Heikkinen
99e04056f1 QmlDesigner: Add "Edit Material" context menu option for material nodes
Fixes: QDS-12372
Change-Id: Ie412216514973aa6d108f3595489f92e13497576
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-25 08:23:35 +00:00
David Schulz
041727fb29 LanguageClient: fix compile with latest Qt dev
Change-Id: Ifc6b5cfacb1e4e559646304b4ab5889eeb85bf3f
Reviewed-by: hjk <hjk@qt.io>
2024-04-25 08:03:11 +00:00
hjk
06cfa02c2d CompilerExplorer: Use new MenuBuilder
Change-Id: Iafd26b625493aecd5fa750ac8fcb3da950bda1d8
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-25 06:50:05 +00:00
Jarek Kobus
3fc5551465 Android: Use QList instead of QVector
Change-Id: If4e163716e8ad5eac782d4b023dcb88fca0f8414
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-24 17:24:50 +00:00
Tim Jenssen
72f82f420a Merge remote-tracking branch 'origin/qds/dev'
Change-Id: I8a8692100cbd2429d1952009b73f29d8a374f9bd
2024-04-24 17:37:48 +02:00
Tim Jenssen
fb4e1c5a8e QmlDesigner: add missing include "contentlibraryeffect.h"
Change-Id: If0db36ff3a836a31500c434fa465962b81e46016
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-04-24 15:31:34 +00:00
Tim Jenssen
4e5498051b QmlDesigner: increase necessary Qt version to 6.5.4
Change-Id: Ib276421fb5e8c7ca55b382fc4ade0281c9f73e7c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-24 15:31:11 +00:00
Tim Jenssen
10f855f3f0 QmlDesigner: fix crash on exit
- use Utils::UniqueObjectPtr because it is a widget and
  can get a parent which deletes it
- delete the DesignerPropertyMap as last, so there is no
  connection to QmlEngine objects
- renamed view -> widget, where it was easy to rename it

Task-number: QDS-12480
Change-Id: I260909f2965f2943a9693b00876efcbb385d4259
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-24 15:24:02 +00:00
David Schulz
d717e7be04 TextEditor: fix backspace on block start
Amends ec88d279a8

Change-Id: I7d83b5ffa617f8d45acc6998ce674b1afcf3a31b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-24 14:20:12 +00:00
Eike Ziller
fa54261ad3 QmlDesigner: Fix crash when QmlProjectManager is not enabled
The menu is created by QmlProjectManager, so it might not exist.

Change-Id: Ib37d9a2b19e02616c6564a55f153c48731dac0fe
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-04-24 13:10:40 +00:00
Shrief Gabr
a1829f0317 QmlDesigner: Remove "Unknown" from available datatypes
Task-number: QDS-12555
Change-Id: I9c3261ac23188bcd7db875bec49091d044231a9f
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-24 12:29:26 +00:00
Henning Gruendl
d051348069 QmlDesigner: Add show behind to EffectsSection
* Add show behind property to DropShadow EffectsSection
* Change visible property name in EffectsSection

Task-number: QDS-12587
Change-Id: I338ea4370eeb725d54a06cc021f061c73e8aa837
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-24 10:28:14 +00:00
Eike Ziller
7f7d4889d2 Add an environment variable for disabling atomic save
There are situations where e.g. anti virus software leads to saving files
failing. Provide a way to disable atomic save for debugging purposes.

Task-number: QTCREATORBUG-30728
Change-Id: I1f3df009f89f6c27b2e0c9f91869b2a75f5575d8
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2024-04-24 09:39:21 +00:00
Teea Poldsam
3b1acea866 Doc: Update Adding Action Areas and Transitions
Fixes: QDS-11407
Change-Id: I38cb4ff1d92b91ec41df01dd374c98b681eacfe0
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
2024-04-24 08:37:25 +00:00
Christian Stenger
0adcf5760d Axivion: Refactor URL construction
Change-Id: I286d5b30fe531ce4262aecf796d7fd270358df26
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-04-24 08:17:26 +00:00
Christian Stenger
b63b8c2526 Tools: Silence soft assert on Windows
Change-Id: Icb10257505efec73b4184ec190c514ec169ec2e2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2024-04-24 05:30:15 +00:00
Thomas Hartmann
ff4f5133da QmlDesigner: Set proper engine ownership
Change-Id: I603cb34209a231226f1ef7ccb269ab8813f2758d
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-04-23 15:52:01 +00:00
Thomas Hartmann
735d6af931 QmlDesigner: Set proper ownership on returned C++ object
Change-Id: Id9971cdec65bb84b310196ef84d0bccca9a12e57
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-04-23 15:51:30 +00:00
The Qt Project
a86892b8af Merge "Merge remote-tracking branch 'origin/qds/dev'" 2024-04-23 14:09:06 +00:00
Tim Jenssen
ef0ee52bf9 Merge remote-tracking branch 'origin/qds/dev'
Conflicts:
	doc/qtcreator/src/overview/creator-only/creator-keyboard-shortcuts.qdoc
	doc/qtcreator/src/qtquick/qtquick-live-preview-devices.qdoc
	doc/qtcreator/src/qtquick/qtquick-profiler.qdoc
	src/plugins/qmlprojectmanager/qmlprojectmanager.qbs
	src/plugins/remotelinux/linuxdevicetester.cpp

Change-Id: I3683c1799df05209d05413383456b285a2daf96e
2024-04-23 16:05:55 +02:00
Miikka Heikkinen
c351e8c9c7 QmlDesigner: Fix picking 3D models from 2D view
Adding new nodes to the scene for some reason doesn't include them
to the full window render done for picking purposes. Changed the render
to be done via grabItem() on the target View3D instead, which seems to
work more reliably.

Fixes: QDS-12577
Change-Id: Ia5f01b9521fd898f8cf073f96d32fc31bf936a37
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-23 14:04:25 +00:00
Mahmoud Badri
63107ff2f7 QmlDesigner: Add content library user textures context menu
Fixes: QDS-12574
Change-Id: I3213d0601167e6963db7fbb1091ade4cb09bdc55
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-04-23 13:53:55 +00:00
Christian Stenger
a7f92dd8be AutoTest: Disable timeout by default
Usually test frameworks or tools have their own timeout
handling or not at all.
Let the user decide whether to use a timeout or not.
This is a behavior change as now the test run does not
get automatically canceled anymore except when the user
explicitly enables this feature.

Fixes: QTCREATORBUG-30668
Change-Id: Ic5d98db0c52bfea092e427d317b12c41d6484ad0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-04-23 13:42:57 +00:00
Miikka Heikkinen
651d7f5d85 QmlDesigner: Select correct underlying View3D for "Edit in 3D View"
If the selected node is not View3D, check if the topmost item in
scenePosition is View3D and target that instead for "Edit in 3D View"
action.

Fixes: QDS-12347
Change-Id: I06b59f55246e828cced8dd3c15ee9b297e5edeb7
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-23 13:16:53 +00:00
Leena Miettinen
820e65894d Doc: Update debugger docs
- Make CDB and GDB preference docs more scannable by using tables.
- Describe the "Use debug info daemon" GDB option(update the screenshot).
- Add info about asynchronous GDB command execution.
- Replace "select" with "go to" for menus.
- Update some \sa links.

Change-Id: I029541b0bed284f12d6de7dbb10bbe0de05ac5c9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-23 13:15:41 +00:00
Tim Jenssen
7dfa746920 Merge remote-tracking branch 'origin/13.0' into HEAD
Change-Id: I1f87297930db420606aab8d7016c290483f262c0
2024-04-23 14:03:46 +02:00
Robert Löhning
987cd409f3 SquishTests: Make sure that button in Designer is renamed properly
This misused typeLines() to close the dialog by pressing "Return".
Although the entire name of the button should be selected at first,
I witnessed the new name being appended to the old one.

The new code uses replaceEditorContent() to explicit select the old
name and replace it with the new name. After that, it explicitly
presses "Return" to close the dialog.

Change-Id: I5ec946f57000396b70428e08ab795a1ee3eba91a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-23 12:03:13 +00:00
Marco Bubke
2c38f9ae74 Fix max component version
Change-Id: Ib7328c00a461f22e5c924a441844260f15fb0dd3
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-04-23 11:56:05 +00:00
Alessandro Portale
d9c8590c5f Android: Make validation of downloaded SDK package an async task
Execution moved into a second thread. Progress dialog now shows a
distinct progress phase.

Change-Id: I933f823c9bfea562d9d3cee5d98990444073b4fe
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-04-23 11:38:45 +00:00
Marco Bubke
b07d2f0c1d Include Qt and GoogleTest as system include
That is silencing warnings in Qt and GoogleTest headers .

Change-Id: Ia6fda019c271788fbb341a8de0cf6d7b757f38bf
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-23 11:38:09 +00:00
Marcus Tillmanns
836393d2ef Lua: Use global NetworkManager to fetch
Fixes crash on exit on windows after "tell a joke" as well.

Change-Id: Ie1ca0c40d9b80af7fe1b0f44ec7b8cdaa190a2cd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-23 11:10:51 +00:00
Christian Stenger
facd32b2e0 SquishTests: Remove duplicate object
Change-Id: I7ceed8ef40684323b8404c3fe7c529fbd5b7be74
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-23 11:08:44 +00:00
Marcus Tillmanns
9f99cf80f0 Lua: Fix soft loading
Previously the LuaEngine::loadPlugin() function tried to fully setup the
lua interpreter. This was called before the dependencies of a lua plugin
were fully soft loaded. Therefore the dependent lua packages had not
been registered yet.

This patch changes that to where the packages and lua libraries are only
loaded right before the actual setup call is done. This also allows us
to safely load the plugin spec without giving it access to all the
functionality directly.

In the future we could show and ask the user before we load the plugin
whether he agrees to give it the requested access.

Change-Id: Ibf3e81db54e2ba94473e8ecf2650dcf2e97f1360
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-23 11:05:21 +00:00
Jarek Kobus
d73c22cd95 Android: Transform AndroidSdkDownloader into a pure recipe
Get rid of AndroidSdkDownloader class.
This will enable easy chaining of recipes for different workflows.

Change-Id: Ia048597148a2a1e7573fc0d4192cf7e678f39c4f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-23 10:51:23 +00:00
Jarek Kobus
b97434cca7 Android: Make sdkToolsUrl check a part of the recipe
Change-Id: I37e1b9e49dbec8f7b12a90a32d54a23a7098b4b4
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-23 10:33:56 +00:00
Jarek Kobus
53c75898ee Android: Enclose the progress dialog inside the recipe
Change-Id: Ibf119550438ab1bb8407fc3fbbdf6bba8d5e7bd8
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-23 10:32:46 +00:00
Jarek Kobus
5f00584b38 Android: Hide AndroidSdkDownloader::sdkDownloaderError() signal
Inbuild the handling of this signal inside the recipe.

Change-Id: I7152cb1a4568b63156fb72a768b658df5bef9997
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-23 10:17:57 +00:00
Jarek Kobus
41a278a030 Android: Avoid duplicated "--sdk_root=[...]" arg
The sdkManagerCommand() adds this arg already.

Change-Id: Ibfc151cd5bd994bbbf92907955c93afd500abb3c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-23 10:17:40 +00:00
Mahmoud Badri
a369d075ad QmlDesigner: Implement adding an image to the content library
Also some cleanups in same files.

Fixes: QDS-12506
Change-Id: I0c211206b6b7c29857a30f18d6077c2ddd76849c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-23 09:51:51 +00:00
Robert Löhning
ec33fc0476 SquishTests: Avoid using occurrence value for SideDiffEditorWidgets
Change-Id: I7c519347a25b0c541b019dd1cae65df4a74c8826
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-23 09:35:37 +00:00
Robert Löhning
457488a106 SquishTests: Avoid using occurrence value for IconButton
Change-Id: I0a4d9497801dbd39c2c735cac760c5dc6a0298fd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-23 07:04:42 +00:00
Robert Löhning
93d0085517 SquishTests: Avoid using occurrence values for OutputPaneToggleButtons
The occurrence count can't be understood without looking at
the running application and can even change at runtime.

Change-Id: I34677fd2fe2a0a8a7f2cdcd9f37ec938efe1a5ea
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-23 07:04:23 +00:00
Robert Löhning
59ebb8a6a7 SquishTests: Autodetect cdb
Creator automatically detects the debuggers anyway and then can't handle
the fixed ID.

Change-Id: I732f86649b02016be2ca513c896a80ce254d721f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-23 07:03:35 +00:00
Marcus Tillmanns
bc5b67909c Lua: Cleanup code style
Change-Id: I7d8713c87a097f113c5b9d04104f3948b691dbf9
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-04-23 06:50:22 +00:00
David Schulz
592d7f0c94 TextEditor: Fix calculating block highlight background color
Fixes: QTCREATORBUG-30649
Change-Id: I9a213ecdf4d58ed6531014c99bbdedac8ac9ef00
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-23 05:51:07 +00:00
Christian Stenger
fa41cba5c3 Axivion: Refactor URL query handling
Avoids duplication.

Change-Id: Iccfe6448ae4964ce73c40159600b0a61a1d64a5a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-23 04:58:53 +00:00
Christian Stenger
f2b7c03d3b Axivion: Provide feedback when no data available
Change-Id: Ie67c43bd5f26054037be8e977c6d8f3b54e6e3e4
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-04-23 04:58:35 +00:00
Christian Stenger
4ae235edc2 Axivion: Make ui strings translatable
Change-Id: If3c60ed51ccb07ee4208f4e041650c555783b694
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-04-23 04:58:19 +00:00