aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* QmlDesigner: Choose proper default signalThomas Hartmann2023-09-181-33/+78
| | | | | Change-Id: I2a9493d0cc2a49afd624d58b53df54686d827422 Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: Fix toolbar height for non QDS stylesThomas Hartmann2023-09-181-0/+1
| | | | | | | Task-number: QDS-10687 Task-number: QDS-10596 Change-Id: Ia4a7e958c6719cafa3a3fe2fea588cbd20c5b703 Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: Remove Connections Editor actionAleksei German2023-09-181-32/+2
| | | | | | | | Task-number: QDS-10606 Change-Id: I0b0d4364e6c80eddee3bb1d8b8491c8c00542593 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add code preview indentationAleksei German2023-09-183-4/+22
| | | | | | | Task-number: QDS-10680 Change-Id: I61528f517ed4baef2115fbddf1b014b9f7f966d2 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Ensure we save the latest values on 3D snap dialog closeMiikka Heikkinen2023-09-183-16/+16
| | | | | | | | | | | | Track value property of spin boxes changes directly instead of the extra valueModified signal, which is not emitted in all cases. Also removed duplicate applying of snap configuration. Fixes: QDS-10653 Change-Id: If0ce7bffa1dcfb5b01e80b6e962f356f91f44d51 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner: Open 3D view toolbar popups to correct positionMiikka Heikkinen2023-09-181-3/+11
| | | | | | | | | | | The button that is shown under extension menu is not actually the same button widget that is tied to the action, so we need to resolve the menu position based on toolbar dimensions in that case. Fixes: QDS-10635 Change-Id: I0c2319041638f9f1cb19f3e57fccbb993e31c743 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner: Close dialog when view loses focusHenning Gruendl2023-09-183-12/+15
| | | | | Change-Id: Ib48229615ee9b2ccef1a8be98086a93851dae6af Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Close dialog when view loses focusHenning Gruendl2023-09-153-0/+15
| | | | | | | Change-Id: I4666953ff862886fbb02fb3982d6856a223fe969 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
* QmlDesigner: Design fixes for connections popoutBrook Cronin2023-09-1513-34/+272
| | | | | | Change-Id: I06968cfef23f8b296f1ba6b07e57cdc96701447b Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: Fix empty literal removeHenning Gruendl2023-09-151-1/+1
| | | | | | | | | | Fix issue that literal token is not immediately when pressing backspace and text is empty. Change-Id: I7ba2401ad6adfa689f697188feb7b30a71d82eeb Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Fix Connections Popup layoutHenning Gruendl2023-09-155-18/+85
| | | | | | | | | | | * Set proper width on labels * Set proper width on StatementEditor * Forward backend property into StatementEditor Change-Id: Ia0db6ff7f235bd8d25eb0f36124fa158b76aaf04 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
* QmlDesigner: Pill redesignHenning Gruendl2023-09-152-54/+77
| | | | | Change-Id: I3c28599c3cbc1555fbdb206e387dccf6f45a77cd Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Priotize 3D related propertiesThomas Hartmann2023-09-151-7/+37
| | | | | | | | Task-number: QDS-10682 Change-Id: Ib75877257ea34edfa539a198e56d9499810aca15 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Set Core::ICore::dialogParent() for QML windowsThomas Hartmann2023-09-151-0/+11
| | | | | | | | | Change-Id: Ie09c7255495456cb76e94504392c9474e2a88688 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Aleksei German <aleksei.german@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Refuse to add properties from unselected nodesKnud Dollereder2023-09-152-7/+16
| | | | | | | | | ... and select property after adding it to the model. Change-Id: I4210e9b1e27b3d396ba5f421629a2b90d2771f50 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* McuSupport: Do not regularly restet code mode in QDS contextThomas Hartmann2023-09-151-1/+12
| | | | | | | | | | Resetting the code model on a regular base has quite a negative performance impact and also generates unexpected code paths and updates. Change-Id: I5a62166d714beb6cc6c9a64333abf093a5a87ac6 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
* QmlDesigner: Fix dragging 3D snap configuration spinboxesMiikka Heikkinen2023-09-153-47/+100
| | | | | | | | | | | Changed to use HelperWidgets.DoubleSpinBox, which has the proper drag support built into it and implemented required context functions. Fixes: QDS-10639 Change-Id: I6fce39251d7f754985f95bba5784784fc6eb8fae Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: Remove anchors from positioner childHenning Gruendl2023-09-151-3/+1
| | | | | Change-Id: Ibff848d5f80ac74491ab77e88baffb4d0e1454bf Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix wrong role nameHenning Gruendl2023-09-151-1/+1
| | | | | Change-Id: I195ead9ade9c4bc430bdee630f533e6e04e15027 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Remove qDebug from ConnectionViewThomas Hartmann2023-09-152-17/+2
| | | | | | Change-Id: I495525286ff96331ce560d468bf1445fcf7a061e Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
* QmlDesigner: Improve type selectionHenning Gruendl2023-09-155-20/+51
| | | | | | | | | | * Disable custom item in Connection Editor type selection * Rename Unknown to Custom Change-Id: I9fa8c9ab6284503d5ccc61813454b9d10f291a06 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add chevron to items with childrenHenning Gruendl2023-09-153-16/+44
| | | | | | | | | | Add chevron to the ItemDelegates of the SuggestionPopup if items have children. This indicates that the user can click on it and go deeper. Change-Id: I905769b8190b81a92025861a3fc38817de5b56ed Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix crashThomas Hartmann2023-09-151-0/+4
| | | | | | | | | Check for existing device. Task-number: QDS-10137 Change-Id: I00065b63f09fb5691c52acaefd75fee0c4315d75 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
* QmlDesigner: Display informative string for 3D support in Qt5 projectsMiikka Heikkinen2023-09-1519-39/+143
| | | | | | | | | | Fixes: QDS-10661 Change-Id: I91ba32e478039711758e19c11d385af9fac4c99f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
* QmlDesigner: Fix open/close Connections EditorHenning Gruendl2023-09-145-9/+86
| | | | | | | | | | | Improve the selection mechanism in all 3 Connections Editor tabs. When a new item is added automatically select it and open the popup. When the current item is removed, close the dialog. When the dialog is closed deselect the item. Change-Id: I918bbff6b290b38d496de8c2fa5f31d617f4d21c Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
* QmlDesigner: Show dot properties if combobox is usedThomas Hartmann2023-09-142-10/+22
| | | | | | Change-Id: I3ea4539f178349551854843838948bf02740eb5b Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Integrate Editor into ConnectionsAleksei German2023-09-1410-7/+134
| | | | | | | Task-number: QDS-10530 Change-Id: I579c5e5d55b2136b96e32a448315dda8e720f2fb Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
* Prevent creation of nonexistent binding expressionsKnud Dollereder2023-09-144-104/+149
| | | | | | Change-Id: Id6f9f35cd40667d694fcdf06d51c4642ae71afcd Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Align code preview properlyHenning Gruendl2023-09-141-2/+5
| | | | | Change-Id: I05599041b69edf7c8ecaeeff0144d1a4ed6117c3 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Merge "Merge remote-tracking branch 'origin/11.0' into qds/dev" into qds/devThe Qt Project2023-09-1440-6289/+8308
|\
| * Merge remote-tracking branch 'origin/11.0' into qds/devTim Jenssen2023-09-1440-6289/+8308
| |\ | | | | | | | | | Change-Id: I2bf1a2a72d9765d9b4088840414b4933644db47a
| | * RemoteLinux: Fix deployment to root directoryChristian Kandeler2023-09-131-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Skip mkdir in this case. Fixes: QTCREATORBUG-29597 Change-Id: I716e2703e3599a71306a9126e0a627a519398937 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
| | * Doc: Update information about Qt Quick render backendEike Ziller2023-09-131-14/+6
| | | | | | | | | | | | | | | | | | | | | Qt 6 works different than Qt 5. Remove references to ANGLE. Change-Id: Ie27922d7c9a26d29a1ad4a1f52daa3a1aff7b19a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| | * Doc: Remove acknowledgment of ANGLE, no longer usedEike Ziller2023-09-131-174/+0
| | | | | | | | | | | | | | | | | | | | | | | | Qt 6 no longer uses ANGLE. Change-Id: I873adc0773a11b1b8d707ecd098aee549d4e6769 Reviewed-by: Kai Köhne <kai.koehne@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| | * Doc: Remove acknowledgment of three.js, no longer shippedEike Ziller2023-09-121-8/+0
| | | | | | | | | | | | | | | Change-Id: I857840f4bfe4ccac6d18f03efbb70e0ea9aafdc8 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
| | * CMakePM: Fix crashCristian Adam2023-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Amends 6528bd3eeda563d7d692c54b2b7035488f5f8974 Fixes: QTCREATORBUG-29587 Change-Id: I62e469a461dd730858e05d0309151dba4e9fe93c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| | * Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-09-081-0/+0
| | | | | | | | | | | | | | | Change-Id: Ia27a1690a12a447871d639a739057557860b8b03 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| | * Debugger: Fix gdb debugging without terminalChristian Stenger2023-09-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Amends 373886bc21926e77803110765d90a339b57d3af2. Change-Id: I200391d702dc447508b52a9a3f210d08626b1bbf Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: hjk <hjk@qt.io>
| | * CtfVisualizer: Never crash with uncaught exception when loading JSONEike Ziller2023-09-081-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we retrieve a value of a type that doesn't match the actual type in the JSON, the JSON library throws an exception. We should have checks to avoid this, but as a global measure never let exceptions through to Qt Creator. Change-Id: Ibfe830d745a94810f874ccca82b83d57ea72f31e Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
| | * Terminal: Fix incorrect signal connectionMarcus Tillmanns2023-09-081-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "process" exiting does not necessarily correspond to the stub exiting. As an example, on linux, gnome-terminal will immediately spawn a new process for the new terminal window and exit itself. The stub will then simply run in the detached terminal window. Fixes: QTCREATORBUG-29488 Change-Id: Ifac0795495901b80638bd10d720b036c09f0146c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| | * CppEditor: Fix removal of "foreign" clang include directoriesChristian Kandeler2023-09-072-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The version number does not necessarily contain all version parts anymore. See also 628babb5cb2c9170946b9f0de6c16005f7e39fa7. Fixes: QTCREATORBUG-29571 Change-Id: I71fec628c54b430cf2fe0fe54f4f309a2f811043 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| | * CMakePM: Save document before doing file operations on the CMakeCristian Adam2023-09-051-0/+4
| | | | | | | | | | | | | | | | | | | | | Fixes: QTCREATORBUG-29550 Change-Id: I5ec360a48adce0d51a7fbe1704c7d4a9125bd913 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
| | * Update qbs submodule to HEAD of 2.1 branchChristian Kandeler2023-09-011-0/+0
| | | | | | | | | | | | | | | Change-Id: I10e4448d6edffb3f7bdea3ca8a9a7fd4078e21d8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| | * QmakeProjectManager: Fix ABI selection change not having an effectChristian Kandeler2023-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This amends 9c2527eea6d7d2e703e51d056a16cc10c0f12667 and is the third attempt to make this horrific code do the right thing. Fixes: QTCREATORBUG-29552 Fixes: QTCREATORBUG-29561 Change-Id: Ib5136a101d87388385f94c4ecc3e837e09ce034d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
| | * Fix M16 warning restrictionsSemih Yavuz2023-08-302-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case id is not ancestor, we cannot find that ID in m_idStack by design. The ID of an uncle type could be either popped out or not pushed in yet. The previous implementation, therefore, doesn't restrict M16 messages if non-ancestor ID is referred. As a workaround, disable M16 warnings completely if the enclosing type uses ImmediateProperties. Amends 012f984c27d8513e304d894f986977548d3c1add Task-number: QTCREATORBUG-28468 Change-Id: I47326e005753ff7b94057732602cfeb6dc525bbb Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
| | * Update missing French translationsAlexandre Laurent2023-08-301-5965/+8024
| | | | | | | | | | | | | | | | | | | | | Change-Id: If5bb73eaad3b76b107360f946adc02648e0285ce Reviewed-by: Johnny Jazeix <jazeix@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
| | * German translation: Use more direct translation for some "eingestellt"Eike Ziller2023-08-301-11/+11
| | | | | | | | | | | | | | | | | | Change-Id: I3c8912480c8ce4d7cdf23d9c2f0d40dfdebc035a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| | * ProcessStub: Fix start sequencingMarcus Tillmanns2023-08-292-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An application that is using ptrace will send SIGTRAP as soon as it reaches its execve call. The process stub previously expected the only signal sent from the inferior to be SIGSTOP due to the PTRACE_DETACH call with the SIGSTOP argument. This meant that a race could occur where the SIGTRAP was received instead of the SIGSTOP and so the PTRACE_DETACH did not actually detach correctly. This patch fixes it so that it first waits for the SIGTRAP and then calls detach and waits for the expected SIGSTOP. Should this fail, more debug output is added to ease debugging failures. Fixes: QTCREATORBUG-29463 Change-Id: Ibac8b75de0c5604aeb20faba8aff58633329341e Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| | * CMake: Do not print warning if no run device is setEike Ziller2023-08-291-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | With an iOS kit, there is no run device set if no device is connected, which triggered an assert. Change-Id: I9c435c618daab2601973372efb84f9ddbe9c5998 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
| | * Update readme for translationsEike Ziller2023-08-291-17/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added link to mailing list - added hint on using stable branch - fixed instructions for new languages - added information and a step for running ts_<lang>_cleaned target - added information about QtC:: contexts - added hint on accepting translations in Linguist Change-Id: I1a1ae8408f64ff91894db9959bea33d2488bae74 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>