Commit Graph

7857 Commits

Author SHA1 Message Date
Eike Ziller
fee50654a1 German translation: LanguageClient, LanguageServerProtocol
Change-Id: Ib462b215dd9f1a61d70c558cf9032f5452cc9115
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 14:01:42 +00:00
Haowei Hsu
0aa7e2e7fa l10n(zh_TW): Fix translations of 'Filter'
* Filter (v.): 過濾 -> 篩選
* Filter (n.): 過濾器 -> 篩選器

Change-Id: I6687a2245de1a73dfebdc844e9a3d6dbb58d19ec
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Franklin Weng <franklin@kde.org>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-27 09:16:04 +00:00
Haowei Hsu
11ff9fd029 l10n(zh_TW): Fix translations of 'Preferences'
* Preferences: 喜好設定 -> 偏好設定

Change-Id: I90623b2083f6056f6862ff7481b77558d8973c7b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Franklin Weng <franklin@kde.org>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-27 09:15:21 +00:00
Eike Ziller
d6115d6365 German translation: ClearCase, Git, Diff, Subversion
Change-Id: Ieb65c0483d0445bb830e365ecc03ec9f9713a575
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-27 08:51:48 +00:00
Miikka Heikkinen
79f4066dac QmlDesigner: Add BakedLightmap item to component library
Also adds relevant property specifics and navigator drop support.

Fixes: QDS-9521
Change-Id: I78539548770ae75fbe0602c2871fb5fea5515ab4
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-03-27 07:55:23 +00:00
Tim Jenßen
feabda3aa7 Merge remote-tracking branch 'origin/10.0' into qds/dev
bigger conflicts resolved at:
  src/plugins/qmldesigner/CMakeLists.txt
  src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp

Change-Id: I08e2a109d8e37cbd77225129854e9e633725bfc7
2023-03-26 16:26:18 +02:00
Marcus Tillmanns
9417f8b99e Terminal: Add search
* Adds new search widget to terminal
* Adds new theme color "TerminalFindMatch"
* Fixes ESC key handling in terminal

Fixes: QTCREATORBUG-28946
Change-Id: I7b6057d13902a94a6bcd41dde6cc8ba8418cd585
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-24 16:12:01 +00:00
Mahmoud Badri
359ea5d55a QmlDesigner: Disable edit material button when no material entered
Otherwise clicking the button leads to a crash.

Change-Id: I668143a9cf1f394e30a58f0f6f6078b479d284b7
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-24 13:56:57 +00:00
Marcus Tillmanns
a0924caea2 Terminal: Improve light default themes
* Made Ansi 11 easier to read ( darker )
* Fixed selection color to be black with 25% opacity

Change-Id: I2380e45b9cc15732085961f21eb6e5360321a9fe
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-03-24 12:29:27 +00:00
Eike Ziller
01b2108697 German translation: Help, ImageViewer
Change-Id: I24d0b8a6fac48d9583b107ede89f1d50a92f83fc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-24 08:48:26 +00:00
Eike Ziller
f28d542175 German translation: Beautifier, ClangFormat, ClangTools, Cppcheck
Change-Id: Ic0dd09cbed42ac9d83e212b6557372e0e1f8cf73
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-24 08:48:15 +00:00
Alessandro Portale
83d40683d9 Core: Fix error text color in SearchResultWidget
Remove the CanceledSearchTextColor theme role and use TextColorError
instead.

Change-Id: I3dde538d107ecfdd9c9a3f2406f6cd26ad28c902
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-24 08:47:24 +00:00
hjk
2766b4004b Utils: Continue Environment/EnvironmentChange consolidation
Make Environment a stack of changes that gets "expanded" to
a full environment before things are actively accessed.

Later this expansion should be done lazily if possible.

Task-number: QTCREATORBUG-28357
Change-Id: If1c7bfdb9f58b81e71c51ed87ee75d6964a47019
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-03-24 07:45:35 +00:00
Marcus Tillmanns
10816ecbe0 Terminal: Add default themes to Creator themes
Fixes: QTCREATORBUG-28939
Change-Id: I51ded621cdd2e87743a93853686bba09aa9aa44d
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-23 13:51:58 +00:00
Eike Ziller
2880453e38 German translation: ProjectExplorer
Change-Id: Ieb273702f1d2dd470420d4d1ce4376e6d617a1c2
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-22 14:12:00 +00:00
Eike Ziller
9cfc07fae8 German translation: CMake
Change-Id: I874475c627ac398aaf996d6f43c78e719eaf1548
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-22 14:11:38 +00:00
Eike Ziller
1daf3063ff German translation: CppEditor
Change-Id: I1b87fdc7709ed777fa6486ef692ef53ceb5ad1cf
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-22 13:21:27 +00:00
Marcus Tillmanns
44074accc7 Terminal: Use QtcProcess to start terminal window
Previously DesktopDevice::openTerminal used custom code to open a
terminal window. This patch changes it to use QtcProcess with
TerminalMode::On.

This also removes the need for "openTerminal.py" on macOS.

Change-Id: Iec978bdd19487ff8e59dcd88c35c2d01b0681022
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-21 15:09:15 +00:00
Samuel Ghinet
98be6d289f Make Content Library Materials downloadable
Task-number: QDS-9267
Change-Id: Ib4da1871cd1d9f0bf52323793b7d8d1b028ae170
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-21 12:30:31 +00:00
Haowei Hsu
14292e74d2 l10n(zh_TW): Fix translations of 'Repository'
* Repository: 主目錄, 代碼倉函式庫 -> 儲存庫

Change-Id: Idc23f518583510977da9f344568c1c338f93e199
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: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-21 09:02:32 +00:00
Haowei Hsu
1adc2a7988 l10n(zh_TW): Fix translations of 'Code Style'
* Code Style: 代碼風格, 源碼樣式 -> 程式碼樣式

Change-Id: I744b139cfca43532a61e9a8495fcbb0c66c959e7
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: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-21 09:01:58 +00:00
Haowei Hsu
d027cb3245 l10n(zh_TW): Fix translations of 'Configure'
* Configuration: 設置/設定 -> 組態
* Configure: 設置/設定 -> 組態

Fixes: QTCREATORBUG-28911
Change-Id: I827335325b3ef49c1f006cf1f540b2fcb8b05c84
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: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-21 08:32:27 +00:00
Haowei Hsu
0eaf35f400 l10n(zh_TW): Fix translations of 'Generator'
* Generator: 建立器 -> 產生器

Fixes: QTCREATORBUG-28912
Change-Id: Iab696ac7db6d4997d95fc0eaee13dafe4afebf0e
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Franklin Weng <franklin@kde.org>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-21 04:49:52 +00:00
Mahmoud Badri
b8a78d6cea QmlDesigner: Fix qml warning in the states view
Happens when dragging an invalid item on a state. The item is null
but the check check for undefined. Better approach is to always use the
! operator.

Change-Id: I036e0f2d5231b0b0eb67a8400551c93fa0654ecb
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-20 13:46:44 +00:00
Eike Ziller
098426b563 German translation: Core
Change-Id: Id32bdc1ad994666d6b26f986e30c2349aa18ff89
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-20 09:46:29 +00:00
Eike Ziller
b4caf23b56 German translation: UpdateInfo and Utils
Change-Id: I876fc4972ca0544bb2870edb0ffa8671e527f0bb
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-20 08:55:36 +00:00
Thomas Hartmann
d61830f91f QmlDesigner: Fix TopLevelComboBoxes
The combobox will break bindings on current index. Therefore
we cannot use a binding on the instances.

Change-Id: I5b4ede02b8b945429b37efa4fc3e1acc15b3fbe7
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-17 14:56:29 +00:00
Mahmoud Badri
020d38db1a QmlDesigner: Remove some helper widgets warnings on QDS shut down
Change-Id: I843124f2f0644f846faa7a6e6d8e8a9bb6792764
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-17 13:37:01 +00:00
Henning Gruendl
c55ca15442 QmlDesigner: Clean up code
Change-Id: Iaedeec123170473031708f5a268d896d58678154
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-17 10:16:27 +00:00
Henning Gruendl
a45be61691 QmlDesigner: Remove caption from specifics
Task-number: QDS-8681
Change-Id: Ia7b0c842779e634e1cadb848a32bfb4eed5c3406
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-17 10:15:56 +00:00
Ali Kianian
92bcea463f QmlDesigner: Handle text overflow state for ComboBox
- Text is elided in the overflow state.
- Text is aligned to the left in the overflow state.

Task-number: QDS-9402
Change-Id: If1cca917a42b8198729591506e8a886ea9a70814
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-17 09:44:09 +00:00
Thomas Hartmann
0a6acda56b QmlDesigner: Fix for top level combobox
Task-number: QDS-9459
Change-Id: I971db90adefbabcc84e910dfabef43b06172637b
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-03-16 20:08:44 +00:00
Eike Ziller
0d8d4322b4 Merge remote-tracking branch 'origin/10.0'
Change-Id: Ie591b7130b33a042509e56701384f8ff4d9cb7f8
2023-03-16 11:57:01 +01:00
Mahmoud Badri
315abe7e9c QmlDesigner: Add support for adding an extra button to EditableListView
Will be used to add a button to open material editor from material rows
in a Quick3DModel properties sheet. But can be utilized for more
future usecases.

Task-number: QDS-9408
Change-Id: I540479cc1a88cdfe287f244efd7cd65c895db467
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-03-16 10:46:06 +00:00
Eike Ziller
c6203c8f26 German translation: TextEditor
Change-Id: I7e4510140add3dd1d15939950b4a573fbf014287
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-16 08:19:35 +00:00
Eike Ziller
b50ddd2fba German translation: Clean lupdate
cmake --build . --target ts_de_cleaned
as basis for updating the translation

Change-Id: I09680a55593cc5000873b58d25d78c8754f21ff0
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-16 07:38:41 +00:00
Mahmoud Badri
a7a4c9773b QmlDesigner: Add a default validator to ItemFilterComboBox
Change-Id: Iba8f3f42d7028bc5da5b5abd6d3581f67184376b
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-03-14 08:58:18 +00:00
David Schulz
1811c31490 Python: add interpreter selector to the python project wizard
Change-Id: I7ea1df34fa0096a84a0d611b401f991508c826c1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-03-14 05:44:46 +00:00
Marcus Tillmanns
cdfe9462af Debugger: Fix "Run in Terminal" with lldb
Previously lldb never actually attached to the process running
in the terminal, but started its own copy.

Since the process is interrupted by the terminal stub already,
code was added to automatically continue the process.

"Start and break on main" and "Run in Terminal" also did not work
together and are now fixed.

Change-Id: Iaeb6e7dd0f511f3bf195ab5d0008856b310615d9
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-13 14:37:48 +00:00
Eike Ziller
c7e94d80c7 Merge remote-tracking branch 'origin/10.0'
Conflicts:
	src/shared/qbs

Change-Id: I33e13270c8c15a51b4ce4eaa6b4584041ed124e0
2023-03-13 12:30:04 +01:00
Miikka Heikkinen
15ebc22aeb QmlDesigner: Allow setting Section category
Section collapse all and expand all functionalities are controlled via
a singleton instance. Since multiple views are now sharing QML engine,
they also share this controller singleton. Therefore it is necessary
to allow user of the Section to specify which category the section
belongs to, so that invoking expand all from one view doesn't
expand sections in another view, but only sections in the same
category.

This also allows fine tuning which sections are grouped within a view,
which was not possible previously.

Fixes: QDS-9248
Change-Id: I0a1c870e6746580255a02f91d590eb80ce6ebcbe
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-03-13 08:34:54 +00:00
Artem Mukhin
5c0a956e8c Debugger: Fix GDB MI output parsing
When using `lldbbridge.py`, Python throws `TypeError: string indices must be integers` because `gdbmiparser.parse_response` cannot parse the multiline output.

The bug was introduced in bb11788.

Change-Id: I5faae4c3d034c0f159e9c1e473b6929ba79b8272
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2023-03-12 11:16:05 +00:00
Mahmoud Badri
f4f13d0bf4 QmlDesigner: Fix some Qml null warnings
Remove some warnings that appear on launch and shut down

Change-Id: I0eb58eadd9e975f0cfc7ec74636f540c26042589
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-10 19:53:41 +00:00
Samuel Ghinet
339ebeab8e QmlDesigner: Implement keyboard commands in AssetsLibrary
Up and Down now change selection--they work only for files, they skip
directories.

The Delete key will (ask confirmation to) delete the selected files,
just as it happens when clicking Delete from the Context menu.

Also, did a small fix in the AssetDelegate, where, on mouse release,
you could have a directory added to the selection list.

Task-number: QDS-8710
Change-Id: I05e232ed0ce94709df41a5150a49300ad65c0a86
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-09 15:57:57 +00:00
Miikka Heikkinen
0c7ae672a2 QmlDesigner: Fix warnings about deprecated function
TableView.modelIndex function was deprecated in Qt 6.4.3 and replaced
with TableView.index function.

Change-Id: I65638c002015c556a78ce6341ebcb3ce6448e825
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-09 15:41:56 +00:00
Miikka Heikkinen
d9e8228c4a QmlDesigner: Fix ChooseMaterialProperty dialog
This dialog is a standalone QQuickView with its own engine, so we
shouldn't use MaterialBrowserBackend as it is not defined.

Change-Id: Ibcca023d3f85f652f080c1eee70bac550181ef9a
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-09 15:05:06 +00:00
Mahmoud Badri
a0df1fd61a QmlDesigner: Allow changing downloaded textures path
For now changing the path triggers the "restart needed" dialog. Some
refactoring (for future) is needed to make the change works right away.

Also added few missing ContentLibraryBackend uses.

Fixes: QDS-9233
Change-Id: I3a576d397b0452a70d9940edaaa38193c41af347
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-09 11:47:01 +00:00
Christian Stenger
87be1f6370 AutoTest: Tweak generated cmake project file a bit
Using Quick Test with cmake as "build tool" does not list the
important part for the testing - the test sources.
Explicitly add the qml files to the project and list them to
be able to see and access them directly.

Change-Id: Id136a017989a5bfb4b9058576e008edb792e5866
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-03-09 10:08:13 +00:00
Thomas Hartmann
f47d5c77d2 QmlDesigner: Use StudioQuickWidget in material browser
The event filter has to be installed on the actual QQuickWidget.
Using registerPropertyMap instead of global context properties.

Task-number: QDS-9124
Change-Id: Ic4d26081bb10b4cb4c8cca7050180feb1c081664
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-03-09 09:49:18 +00:00
Mahmoud Badri
e3b37edb15 QmlDesigner: Fix adding bundle material from context menu
Was broken by 57448021b8

Change-Id: Id4822b75038dadac6c898191bce2b4f60de79232
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-09 09:30:39 +00:00