Commit Graph

7841 Commits

Author SHA1 Message Date
Christian Stenger
caa85795df AutoTest: Provide wizard for adding a test case
Task-number: QTCREATORBUG-28846
Change-Id: I6716540b8bf62479bf45d16230ec91f0ed157001
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-05-24 08:54:59 +00:00
Tim Jenssen
1b6c0ff56c Merge remote-tracking branch 'origin/qds/dev'
Conflicts:
  coin/instructions/build.yaml
  doc/qtcreator/src/projects/creator-only/creator-projects-creating.qdoc
  share/qtcreator/qmldesigner/studio_templates/projects/common/CMakeLists.main.txt.tpl
  src/libs/CMakeLists.txt
  src/libs/advanceddockingsystem/dockmanager.cpp
  src/libs/advanceddockingsystem/workspacedialog.cpp
  src/plugins/coreplugin/manhattanstyle.cpp
  src/plugins/qmldesigner/CMakeLists.txt
  src/plugins/qmldesigner/components/formeditor/toolbox.cpp
  src/plugins/qmldesigner/components/itemlibrary/itemlibraryassetimporter.cpp
  src/plugins/qmldesigner/components/toolbar/toolbarbackend.cpp
  src/plugins/qmldesigner/designercore/projectstorage/qmltypesparser.h
  src/plugins/qmldesigner/qmldesignerexternaldependencies.cpp
  src/plugins/qmldesignerbase/qmldesignerbaseplugin.cpp
  src/plugins/qmldesignerbase/qmldesignerbaseplugin.h
  src/plugins/qmlprojectmanager/qmlproject.cpp
  src/tools/qml2puppet/CMakeLists.txt
  tests/unit/unittest/CMakeLists.txt

Change-Id: I2c5f18c4fca49471d02713ce5859032232cf7756
2023-05-22 21:13:40 +02:00
Ali Kianian
c9649513d1 QmlDesigner: Show texture id in the Material Browser
Task-number: QDS-9051
Change-Id: I98ba9d9e4dd26d616a0fd3186539ad6aeb23a842
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-05-19 12:28:01 +00:00
The Qt Project
7057962e44 Merge "Merge remote-tracking branch 'origin/10.0'" 2023-05-17 14:23:50 +00:00
Alessandro Portale
07b2a30dfe Qt Quick Application Wizard: Unify Qt version combobox entries
The "compat" variant, which was around for a long time, had a Qt version
combobox with entries following the "Qt x.yz" scheme. This change adds
the Qt prefix also to the combobox of the new wizard.

Fixes: QTCREATORBUG-29126
Change-Id: I4cd59f09248ba487077c2dcdd0828222311dd9a7
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-05-17 14:12:20 +00:00
Eike Ziller
8e8ebc8f88 Merge remote-tracking branch 'origin/10.0'
Conflicts:
	coin/instructions/build.yaml

Change-Id: I697b0107e75c6259989247de2180437d7987ff37
2023-05-17 14:55:02 +02:00
Thomas Hartmann
4e2366550c QmlDesigner: Add tooltips to statusbar
Task-number: QDS-9851
Change-Id: If71410189422e577e0ea3540fbdef35803268ea4
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
2023-05-16 15:44:29 +00:00
Brook Cronin
9dbb312d77 QmlDesigner: Align button text with other labels
Change-Id: Idd9e91cd6c6726d2fb0c62413f9285968a7db098
Reviewed-by: Tanja Remes <tanja.remes@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-05-16 10:15:48 +00:00
Eike Ziller
8bd5c67ea8 German translation: CVS
Change-Id: Iac295e700edf365b06b01bbb3a20c2f2f190a5ab
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-05-16 07:17:50 +00:00
Eike Ziller
c6a69023c9 German translation: VcsBase
Change-Id: I7b9dc7a2e6868481ab900b56acce2a084b203bd9
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-05-15 08:52:23 +00:00
Henning Gruendl
94b019dbe0 QmlDesigner: Add duplicate control
Add a setting/property to the EditableListView in order to control if
it allows duplicates or not. If duplicates are not allowed it will
disable the items in the ComboBox which are already applied to the
assigned backend property.

Task-number: QDS-6730
Change-Id: I31776fdfb14858c431b40d264e8e709009c517b3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-05-12 10:14:43 +00:00
Henning Gruendl
c4ff1921ee QmlDesigner: Fix ItemFilterComboBox arbitrary edit
- Add onAccepted handler
- Fix onAccepted early return when manualMapping active in base
- Remove import version
- Replace RegExpValidator with RegularExpressionValidator

Task-number: QDS-9858
Change-Id: I5a967abb28dd70e4215efcc3993e084366d4e020
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-05-12 10:14:32 +00:00
Miikka Heikkinen
7a04f03bc0 QmlDesigner: Persist manual baking mode value
Manual baking mode is stored separately for each View3D in the scene.

Fixes: QDS-9867
Change-Id: I94590c2bded8486c3b526a427930f15b364eb010
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-05-12 08:19:14 +00:00
Miikka Heikkinen
ac4219c5cd Qmldesigner: Allow exposing nodes as aliases via UI for light baking
Model and light nodes from subcomponents can now be exposed with a
single button press in light baking setup dialog.

Fixes: QDS-9831
Change-Id: Ifcc69955a2dc9378111387694e42f0cdc70173f3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-05-12 08:18:41 +00:00
Alessandro Portale
9b00ab8d79 Qt Quick Application Wizard: Fix a property assignment
The option "BuildSystem" does not exist, anymore.

Amends: fe45294357

Change-Id: I76aa3fe05cf1a4a4f74944d67d3fa7c6c273af6a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-05-11 13:24:52 +00:00
hjk
dfaebde520 ProjectExplorer: Simplify a complex translatable string
Change-Id: I51a3f18b2c05eb7371d77c18f3f390f5809e2920
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-05-09 06:46:29 +00:00
Alessandro Portale
fe45294357 Wizards: Remove build system step from Qt Quick Application wizard
Qbs is now covered by the "compat" wizard

This reverts commit 13cf1ee948.

Change-Id: Ic11a6bd4847d08b60f77421ecbc168bc46c50c6a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-05-05 15:16:26 +00:00
Aleksei German
45599845e8 QmlDesigner: Fix for Qt for MCUs metadata, sheets
Includes:
- adds metadata sheets for newer version
- bumps metadata.qml default version
- tweaks to allowed properties and types
- some resorting and minor reformating of the metadata
- property editor sheet mcu-related changes for Timer

Task-number: QDS-9823
Change-Id: Iedb27047c533b80ba008afeee1ea28a99c8ab19d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-05-05 10:23:48 +00:00
Miikka Heikkinen
dce30450a3 QmlDesigner: Add UI for lights baking setup
Instead of directly baking, bake lights action now opens baking setup
dialog, where user can set up baking related properties for
models and lights in the scene, including those exposed from
subcomponents.

Fixes: QDS-9805
Change-Id: I9e0bae98d8a79be4cf8b09ef989c41083a7fbf5d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-05-05 09:38:53 +00:00
Eike Ziller
7724f8653f Merge remote-tracking branch 'origin/10.0'
Change-Id: I7a3925ad8e4f97461b64a70217102ed900430253
2023-05-05 10:39:47 +02:00
Kai Köhne
15193d3250 Simplify generated CMakeLists.txt
Fixes: QDS-9700
Change-Id: I2376e3938fb6f95d2cc53ad96b40c04ac7ce780e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-05-05 08:35:43 +00:00
Tim Jenssen
1f2f223dd7 Merge remote-tracking branch 'origin/10.0' into qds/dev
Change-Id: Ifb5f580cfea7c0d166756938b013a338279d45d9
2023-05-04 13:45:45 +00:00
Haowei Hsu
e8717ba85e l10n(zh_TW): Fix translations of 'Sidebar'
* Sidebar: 邊欄,邊列 -> 側邊條

Change-Id: I01393615d25f42bd8ca584b3895ab02c2296a3bb
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
Reviewed-by: Cheng-Chia Tseng <zerngjia@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-05-03 07:20:24 +00:00
Henning Gruendl
949c380018 QmlDesigner: Fix TextFieldSpecifics
Add TextInputSection to TextFieldSpecifics as TextField inherits from
TextInput. Align the properties of the contained sections to the ones in
TextInputSpecifics. Also adjust TextArea specifics to also contain
TextInputSection.

Task-number: QDS-9792
Change-Id: I3a4a734d965f3834ccd1e5cad23bb125b9ca592c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-04-28 14:33:40 +00:00
Christian Kandeler
dbfd378f5c Wizards: Fix "New Class" with QML_ELEMENT and no QQuickItem include
Amends 2f94e93334.

Fixes: QTCREATORBUG-29092
Change-Id: Ic27729a601534f5b4ed98451f637b9d49029a33a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp>
2023-04-28 12:52:46 +00:00
Tim Jenßen
9c2a73b1c8 Merge remote-tracking branch 'origin/10.0' into qds/dev
Change-Id: I51801c3bec7e29f7c7384d86d79b4fcabb4f99c1
2023-04-27 20:30:00 +02:00
Henning Gruendl
3b8c38c7f0 QmlDesigner: Add support for valueRole in ComboBox
- Add support for valueRole in HelperWidget.ComboBox in order to allow
  for custom JS arrays that define value and text role
- Replace specialized invokables in item filter model which are only
  available in that particular model with general purpose functionality
  provided by QML ComboBox
- Remove unnecessary functions from item filter model

Task-number: QDS-8737
Change-Id: I58bd3fed395961ac4495a0c6e9ff47c9b87e0de2
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-04-27 17:44:01 +00:00
Henning Gruendl
6eccd82515 QmlDesigner: Fix SpinBox value reset on focus loss
Task-number: QDS-9770
Change-Id: I8a4d73e7abe8dbb5c62c571fc9980a0f78a5f819
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-04-27 15:33:58 +00:00
Leena Miettinen
e7b5e64a70 Doc: Remove detailed info about wizard templates
Improve descriptions of some wizard templates.

Task-number: QTCREATORBUG-28996
Change-Id: Ib53fa38918120af60a03f3850fed7db1e6f0c391
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-04-26 12:18:57 +00:00
Eike Ziller
c9696fbabb Merge remote-tracking branch 'origin/10.0'
Change-Id: I8b36c1812b61dbe08fe3e7930f950e6b8e8a7079
2023-04-24 08:52:35 +02:00
Eike Ziller
646f95811d German translation: Python
Change-Id: I86e11626122c88a307134ae352331845fa4b394d
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-04-24 06:14:03 +00:00
Alessandro Portale
1e02f6bf98 Resuscitate the "legacy" Qt Quick Application wizard
Users still want to create new Qt Quick Application applications
targeting Qt 5 and with other build systems than cmake.

Fixes: QTCREATORBUG-28964
Change-Id: Ib87b7128f0b34eb4126ec771f324c70a960b2a03
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-04-21 18:42:21 +00:00
Haowei Hsu
440541da23 l10n(zh_TW): Fix translations of 'Toolchain'
* Toolchain: 工具鍊 -> 工具鏈

Change-Id: Ia58d3c58ec46169abfc51036131be5572e7c242e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-04-21 16:13:29 +00:00
Henning Gruendl
7af8c225d1 QmlDesigner: Expose objectName for Qt Insight
- Expose objectName in Property Editor
- Rearrange Annotation button in Component Section
- Fix enabled state of insight view
- Add reset of Property Editor when enabled state is toggled

Task-number: QDS-9355
Change-Id: I873994580d8135f97236b6a98462c513169ac8c1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-21 14:51:56 +00:00
Ali Kianian
b0c3377f1d QmlDesigner: Fix the crash caused by calling GlobalAnnotations
- Calling global annotations does nothing if we are not in the design
mode
- Related actions and buttons are blocked while we are not in the
design mode

Task-number: QDS-9729
Change-Id: Ib4d5e8c5adcbb080f42a2344cd76ce7c36532240
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-04-21 13:44:13 +00:00
Thomas Hartmann
94ab3edb37 QmlDesigner: Add .qsb files to project
Since they are compiled shaders I moved them to a separate filter.

Task-number: QDS-9718
Change-Id: I23346ef180419feabedd018ed0c79123f6a3d7f7
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-04-21 13:25:26 +00:00
Christian Stenger
55d51e8b5e QmlJS: Improve QtQuick Controls completion
Fixes: QTCREATORBUG-28648
Change-Id: I14c402c8a486d5afa7ee500b2d8a06951540e1bd
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-04-21 09:16:40 +00:00
David Schulz
28d1d3ffe1 Debugger: support piping the python dumper to cdb
Fixes: QTCREATORBUG-29000
Change-Id: I7454ded07829d06a33dc1b2ec95a838ca977ca95
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-04-20 12:51:22 +00:00
Ulf Hermann
1c60f57340 C++ editor: Make generated Q_PROPERTYs FINAL by default
It's bad style to omit the FINAL because such properties can be
shadowed, causing problems in QML.

Change-Id: I9083c69128f6335f584f0a1d28f1fe1e54a02eaf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-04-20 07:44:42 +00:00
Henning Gruendl
062c774541 QmlDesigner: Update workspace management
- Add QML attribute displayName to the workspace presets
- Add workspace order
- Replace QStringList workspaces with proper model in order to use text
  and value role
- Clean up workspace management, remove redundant functions, move
  warning messages out of backend
- Utilizing expected_str to forward error message
- Change output format of generated XML workspace files
- Remove workspace combo box from C++ based toolbar

Task-number: QDS-9184
Change-Id: I19455db75e6b07aea9342eb5276c6191a1456a2d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-19 14:15:27 +00:00
Henning Gruendl
f0b2cc0836 QmlDesigner: Add insight tracker linking
- Add proper insight tracker library linking to the QtDS CMake template.
- Add CMake option LINK_INSIGHT to turn insight linking off
- Add check for Qt version 6.5 and insight configuration available

Task-number: QDS-9354
Change-Id: I606364743cce61c281d3faae929df50ba95892b7
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-19 14:14:51 +00:00
Eike Ziller
a353e9fde1 Markdown: Reuse Markdown highlighter from change log viewer
Change-Id: Ief1b0c135a34bfd5e9b5220e9fbf93f281d8e95a
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-04-19 11:48:15 +00:00
Eike Ziller
b5d7b24733 Add wizard for markdown file
Fixes: QTCREATORBUG-29056
Change-Id: Ia2ba9aef86aab3e156e3c36d8e28c9f37d7da8b3
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-04-19 09:28:26 +00:00
Henning Gruendl
17feb6c352 QmlDesigner: Add insight plugin
Move insight plugin from qtquickdesigner repository to this in order
for it to be available in all QtDS editions.

Task-number: QDS-9626
Change-Id: I42ac804636d59930c4534df951455f864282986b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-19 06:44:13 +00:00
Ali Kianian
bcb89dc900 QmlDesigner: Enable mouse click events for the crumble bread tooltips
The tooltip of a crumble bread will behave the same as the crumble
bread itself when clicked.

Task-number: QDS-9572
Change-Id: I7bd29887a08a0e6fea2732198a92ca75ebce0bd2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-04-19 06:40:35 +00:00
Mahmoud Badri
fcf3370202 QmlDesigner: Prevent scrolling when a section's context menu is open
Fixes: QDS-9619
Change-Id: Ic278cda058b179bfed08b2ce6e2def7ca9131d69
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-04-18 10:41:25 +00:00
Tim Jenssen
a73358b3aa Merge remote-tracking branch 'origin/10.0' into qds/dev
Change-Id: I9520e55c8b7248afb297168395d7099829ed42c7
2023-04-17 20:59:36 +02:00
Eike Ziller
2bc37de42b Merge remote-tracking branch 'origin/10.0'
Conflicts:
	src/plugins/python/pipsupport.cpp
	src/plugins/qtsupport/exampleslistmodel.cpp
	src/plugins/qtsupport/examplesparser.cpp
	tests/auto/examples/tst_examples.cpp

Change-Id: I00273622423fa99d41621969f6ecbbdaa0e18664
2023-04-13 15:59:08 +02:00
Haowei Hsu
5089e8400e l10n(zh_TW): Fix translations of 'Enable/Disable'
* Enable: 開啟,用,使用 -> 啟用
* Disable: 關閉,停用,禁用 -> 停用

Change-Id: I18ec9d78ba1c104f5016e7f6b3c1e21a2fdc8e33
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Franklin Weng <franklin@kde.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-04-12 14:28:29 +00:00
Eike Ziller
7b17d9cfbd German translation: QmakeProjectManager
Change-Id: I24c8de5f0f6c1bc02669b48a6023f6bc0775a403
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-04-11 12:05:33 +00:00