Commit Graph

8715 Commits

Author SHA1 Message Date
Mahmoud Badri
ad408553af QmlDesigner: Enable expanding content library user categories
Change-Id: Id3b49773b02e4922a06b71e6ed7a7098ed4d4062
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-18 13:20:15 +00:00
Alessandro Portale
6324d530f3 Themes: Make Classic theme work on dark systems
Amends: 89e9597365

Fixes: QTCREATORBUG-20889
Change-Id: I800b4c32f123bf0eef4b4d26ea4359573dfdca8a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-04-18 10:22:51 +00:00
Tim Jenssen
90c4826c29 QmlDesigner: remove annoying output
Change-Id: I7f74ece071923208764b767a70436145888fbb54
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-18 06:20:46 +00:00
Eike Ziller
28b14de384 Tr: Some "JSON" fixes
Change-Id: I20dd41a4a979fa35fe8696b00586096ca5c33d4b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-18 06:06:58 +00:00
Eike Ziller
7f8adab0d0 Translations: Fix various \n, full stops, spaces
Add missing full stops, remove space at beginning and end, remove end
lines at end

Change-Id: I4ce28f578e13e100dcfbd8ef70630462faf407fc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2024-04-18 06:06:45 +00:00
Eike Ziller
168136b9e6 German translation: Consistently use "verwenden"
instead of "benutzen"

Task-number: QTCREATORBUG-29370
Change-Id: Id6f894189962152df6d71ba845b7f8cee7a1ef9b
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-18 06:06:30 +00:00
Eike Ziller
e1e4afa403 German translation: Some less '-'
We already used "Stackframe" and "Analysewerkzeug", remove the '-'
variants.

Change-Id: I2e64a7db05d531254f599e3da08f03af19a412f6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-18 06:04:23 +00:00
Eike Ziller
fe50d1cce1 German translation: Consistently use "fehlschlagen", not "scheitern"
Change-Id: Id27cb829245d1b9b76ab90efc818d081d391b5f5
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-18 06:03:57 +00:00
Eike Ziller
89e9597365 Set palette also for light/mixed (flat) themes if needed
We cannot assume that the default palette on the platform
and its theme fits the Qt Creator theme. If the system is dark, but Qt
Creator's theme is light, we need to set the theme palette on the
application.

Some themes already enforce the theme palette unconditionally (design-
light, and the dark themes). We don't want to set the palette
unconditionally for our flat default themes though, because for example
on macOS the light and dark colors that we get from the system are
always good and match the Qt Creator theme (because we tell the system
that our application is light/dark explicitly). Add a new
DerivePaletteFromThemeIfNeeded flag as an alternative to
DerivePaletteFromTheme for this.

Fixes: QTCREATORBUG-18281
Task-number: QTCREATORBUG-23187
Fixes: QTCREATORBUG-26817
Fixes: QTCREATORBUG-28589
Fixes: QTCREATORBUG-30138
Change-Id: Id0042980807fa2efd663b856a45255bb453227fd
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 14:03:10 +00:00
Ali Kianian
f006cfb233 QmlDesigner: Warn the user if the project is not imported
When the project is not importd in the design document, DataStore cannot
be found by the project manager. User should add it to make the Model
Editor work. So we will warn the user in the Model Editor view.

Task-number: QDS-12119
Change-Id: I313e5553e8b0a0ef3b97c50d61db80c0a8d382f8
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-17 12:02:35 +00:00
Eike Ziller
1f16237736 Themes: Remove ApplyThemePaletteGlobally
It is always the same as DerivePaletteFromTheme, so just use that in all
cases.

Change-Id: Iac9b91bb7792778601a59f761e015ff292f86da7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-04-17 10:41:41 +00:00
Mahmoud Badri
4591293fd9 QmlDesigner: Add user texture bundle
Fixes: QDS-12390
Change-Id: I512a8748bbb6a282589f05293507c110162e7f1d
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-04-16 14:01:58 +00:00
Thomas Hartmann
b5aac705ea QmlDesigner: Indicate if a file is modified
Task-number: QDS-12361
Change-Id: I7a6c5f112b0f193f5bb975a331e2f0d44d19ddc2
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2024-04-16 11:59:38 +00:00
Thomas Hartmann
1488548739 QmlDesigner: Fix reflection for CheckBox
Change-Id: Ib0268e5a015fb74c6691e7b3c51ca03f1f90ba55
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2024-04-16 09:42:52 +00:00
Knud Dollereder
4ee7b297ce QmlDesigner: Adapt wizards to the new project structure
and removed some unused templates

Change-Id: I7e3e4a94ef31cbf5c98a0c1ad26dcaaa340c1e97
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-04-16 09:08:41 +00:00
hjk
b74f871b5b Debugger: Add a helper to visualize dumper profile data
A stripped-down and modified version of pyprof2calltree.

Change-Id: I9e37a4e13f312b40144394572ef6603bb2161487
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-04-16 07:14:16 +00:00
Aleksei German
e8a47b1b8a QmlDesigner: Fix Properties Section for Effects
Change-Id: I249723f45b83731232acc9e68a6c4e27b85d6d11
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-15 16:11:44 +00:00
Shrief Gabr
e5c50c6dea QmlDesigner: Change default view3D id in Extended 3D projects
Task-number: QDS-12351
Change-Id: Ib3ecb8e2f6ca1561819f19001d851b0932e9583f
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-15 09:52:56 +00:00
Thomas Hartmann
36f666174f QmlDesigner: Add import for DesignEffects
Change-Id: Ib6a2c8bd8e6d04fe532fe524225d501c40a7a042
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-12 15:39:30 +00:00
Mahmoud Badri
247d2dbf6d QmlDesigner: Cleanups in the content library
Change-Id: I4bbb6f6d89c3e35a265624365eb61664280e9151
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-12 08:57:24 +00:00
Henning Gruendl
df123a0080 Fix syntax and remove warning
Change-Id: Ifea0ebae64365792eefe47995d0ae6a1192590d1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-11 16:24:01 +00:00
Thomas Hartmann
476ea1404b QmlDesigner: Add Design Effects UI
* Add EffectsSection
* Make HelperWidgtes.Section able to have custom content
* Cleanup on IconButton and Section

Change-Id: I9aff4838ed9f2df9155161f36506f1514245ce6b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-11 16:23:55 +00:00
Miikka Heikkinen
eae76dedff QmlDesigner: Change asset import path
The only import path should be project root, so change things that
are generated under asset_imports to be generated in new folder
GeneratedComponents under project root. GeneratedComponents is prefixed
to the type names of generated items as well.

If project already contains asset_imports folder, then old location is
used.

Fixes: QDS-12430
Change-Id: I7a419fe1c5411e3d39bf3c1e659df0043c60ba33
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-04-11 12:52:27 +00:00
Tim Jenssen
912082e6a8 Merge remote-tracking branch 'origin/13.0' into qds/dev
Change-Id: I1f6114244514a2b786a8b0d364a303b925ad7757
2024-04-10 17:30:10 +02:00
Mahmoud Badri
5a13304d72 QmlDesigner: Save a project material to content library
Fixes: QDS-12392
Change-Id: Ic84197bb1bcede6d3b06d1cff09f00617cc2a958
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-04-09 12:31:44 +00:00
Thomas Hartmann
db04da3ba7 QmlDesigner: Remove Qt 6.2/6.3/6.4 from extended 3d wizard
Change-Id: Ic79d7ccf4183aafd30953dc65ad1bae4661c8f11
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-09 09:11:52 +00:00
Ali Kianian
3494f37b18 QmlDesigner: Set the color data by the first commit in Model Editor
The color didn't use to be saved by the first commit. The problem was
that the ColorEditorPopup uses a backendValue, which usually is
provided by the property editor items. Here this backendValue is faked,
to be used by the internal modules.

Fixes: QDS-12018
Change-Id: I77bd0e2992f31f2fa4da7b1d7a5f0667f6923085
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Shrief Gabr <shrief.gabr@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-09 09:00:32 +00:00
Mahmoud Badri
bc5628afca QmlDesigner: Add content library user materials bundle
Fixes: QDS-12389
Change-Id: Icec1b06c57e0eaa4ff444e3143d3cba0803c8dd1
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-04-08 12:13:16 +00:00
Eike Ziller
2626af4cd4 Merge remote-tracking branch 'origin/13.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	src/libs/utils/fsengine/fileiteratordevicesappender.h

Change-Id: Ia61fa12d14a4f862549509bd980cf9f66905c17f
2024-04-08 11:08:05 +02:00
Eike Ziller
4e50e1d657 German translation: Consistently use "Ergebnis" instead of "Resultat"
We use it most and it is the simpler word.

Task-number: QTCREATORBUG-29370
Change-Id: I0b672ed990cca9f21ddff3782595847742f902a3
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 08:43:01 +00:00
Eike Ziller
740c3b7107 German translation: Some more "erneut"
Use "erneut" where we want to say "noch einmal", but keep "wieder" where
we want to say "wieder zurück".

Task-number: QTCREATORBUG-29370
Change-Id: I3d406604fbc8b7883e363a7ecf12c650280b6be0
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 08:42:42 +00:00
Eike Ziller
bbcf5fa720 German translation: Consistently use "Einfügemarke"
Task-number: QTCREATORBUG-29370
Change-Id: Ic90e0a21f64e3e4355c743185900463414504168
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-08 08:37:04 +00:00
hjk
2a1d46bbfc Debugger: Move python2 supporting files out of normal bridge directory
They get in the way when working in that area.

Change-Id: Id59c83472a6ce093ca9b31ad9e94ec638b4a1df8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-08 08:25:08 +00:00
Eike Ziller
b96f5b83ea German translation: Consistently use "scrollen"
This was the only place that was different

Task-number: QTCREATORBUG-29370
Change-Id: I91fb2c291b26644b15aa7ea83fead0f76894ebcf
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 08:14:01 +00:00
Eike Ziller
8fa17f4886 German translation: Avoid "editieren"
We use "bearbeiten" at most places.

Task-number: QTCREATORBUG-29370
Change-Id: I09ae816da64c37fd30631f5f6668d16ec0c53f62
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 08:05:31 +00:00
Eike Ziller
352b6b8b77 German translation: Consistently use "Array" for arrays
We used "Feld" in some instances. "Array" is probably more
understandable for programmers (nowadays), and is also used in the MSVC
documentation
(https://learn.microsoft.com/de-de/cpp/cpp/arrays-cpp?view=msvc-170)

Task-number: QTCREATORBUG-29370
Change-Id: I7a9dc424583900283c15b8fb0ab8497bf4f22085
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-08 08:05:12 +00:00
Eike Ziller
7335b738a9 German translation: Consistently use "Benutzer"
We use "Benutzer" a lot already and it also is "benutzerdefiniert",
"Benutzeroberfläche", and so on.

As an aside, fix some missing dashes and just use "Port".

Task-number: QTCREATORBUG-29370
Change-Id: Ic58913dba601fca9be6594640bae3ddd7f4f40b1
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-04-08 07:56:43 +00:00
Eike Ziller
ae58ce9132 German translation: Use consistent translation for expand (tree)
Task-number: QTCREATORBUG-29370
Change-Id: I937b2b824fb07d49b18e1d3a345294cd71e5ab6a
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-04-05 14:12:15 +00:00
Ali Kianian
22a5e4948b QmlDesigner: Deselect the model by editing a cell or clicking out
Fixes: QDS-11760
Change-Id: I6a63b2f9589c69859beff79ad04502974c5d18af
Reviewed-by: Shrief Gabr <shrief.gabr@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-04 08:28:26 +00:00
Robert Löhning
0cca4b283b Debugger: Fix calls to calloc
Change-Id: Id1ba0c4656eb611b6ac4269ebf9d141feb08d632
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-03 14:38:44 +00:00
Eike Ziller
847e9b7bcb Merge remote-tracking branch 'origin/13.0'
Change-Id: I0717b18ca7561dbc69a59699d4b014741aa98e37
2024-04-03 13:56:13 +02:00
Eike Ziller
c811fe08f8 German translation: ProjectExplorer and related
Android, AutoTest, CMake, Qbs, QtSupport, RemoteLinux,
Terminal, Squish

Change-Id: I74d34a581ff1be54b750698807713dcf85f6cefa
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-04-03 07:28:46 +00:00
Eike Ziller
309a01337f Merge remote-tracking branch 'origin/13.0'
Change-Id: I12578a55fb61a3a9620c749c0b3bbbae6dcb4493
2024-04-02 14:54:30 +02:00
Shrief Gabr
1376139ec6 EffectComposer: Check if effect name is duplicate before saving
Task-number: QDS-12280
Change-Id: I42532ef8330ae518073a559edf7a41de834d98c9
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2024-04-02 11:14:20 +00:00
Shrief Gabr
a60ae6a32c QmlDesigner: Add "Unsaved Changes" indicator to Save button
Task-number: QDS-12237
Change-Id: Ib210ca06e061e82824ff4398604a569af44c2f6d
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-04-02 10:12:00 +00:00
Shrief Gabr
beb9fc2fde QmlDesigner: Prevent data scramble after sorting
Task-number: QDS-12160
Change-Id: I3a90583a097b3074d9502668e4b3670fa81f34a2
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>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
2024-03-28 12:52:20 +00:00
Thomas Hartmann
fd93290fbd QmlDesigner: Update branch of the components to qds-4.5.
Change-Id: I13e763c8a0941ee9af3f63c657dbccd71fb8f010
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-03-28 09:31:16 +00:00
Mahmoud Badri
c04eb4444d QmlDesigner: Use ExamplesModelV2
V2 adds minQDSVersion property for model items

Change-Id: I27d36428f73b27b1d52d429e23654d094d6ff86d
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>
2024-03-28 09:18:39 +00:00
Thomas Hartmann
0150302bbb QmlDesigner: Add Qt 6.7 to all wizards and make it the default
Change-Id: I67a1870486c4f87e86e135af7619843a36e591a6
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Tanja Remes <tanja.remes@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2024-03-27 16:51:40 +00:00
Pranta Dastider
3bbe1c0452 QmlDesigner: Update Tooltips for Qt Quick Layout components
This patch update tooltips for Qt Quick Layout compoents.
It also update tooltips of the relative properties.

Fixes: QDS-12283
Change-Id: I6c4d76602668dc7258cce7ff4fab4b547d8f5d0f
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>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2024-03-27 10:02:42 +00:00