Commit Graph

86167 Commits

Author SHA1 Message Date
Leena Miettinen
1541a486c1 Doc: Fix double "the"
Change-Id: Ibffeb5da3dd7dda3b8886bf909ecd97bf3b06d83
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-13 11:08:51 +00:00
Leena Miettinen
0ae211586e UI text: Fix "the the" in visible UI text, comments, and docs
Change-Id: I9b126ffa15b808fdb6f900a36453a9864248d35e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 11:08:11 +00:00
Leena Miettinen
35f8f069ad Doc: Fix "the the"
Change-Id: Ib39bc4dddc75a10dedff6006283d1258415d679b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 11:07:49 +00:00
Eike Ziller
48843d3f6b Mimedatabase: Remove warning for registering MIME types late
Since it is now possible to load some plugins during runtime,
registering MIME types during runtime is valid.

Change-Id: I08aba2c40934f7b8de85172a46e8a123bd7b4ef0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-11-13 11:03:49 +00:00
Christian Stenger
bb7b6d55d2 ExtensionSystem: Fix qbs build
Amends 32914fe66b.

Change-Id: I0bf7f94ae128109f44f4dedc71c418b36c34911e
Reviewed-by: hjk <hjk@qt.io>
2023-11-13 10:36:52 +00:00
Marcus Tillmanns
79f7eaab9c CompilerExplorer: Allow softload
Change-Id: If907e7a846ce7d87a5a2ac7b09ef70174410da01
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 10:19:48 +00:00
hjk
fc9b2b0b2b LanguageClient: Use Core::ActionBuilder
Change-Id: Ie66ac478c35658fe82393143dc3dece41ddf591b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 10:07:52 +00:00
Marcus Tillmanns
e799bcae6c Core: Register mimetype of softload plugin
Change-Id: I81713d951caaf4e2d97fa1a58c4f512a280af351
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 09:44:49 +00:00
The Qt Project
bbfbfec4e6 Merge "Merge remote-tracking branch 'gerrit/12.0'" 2023-11-13 09:33:54 +00:00
hjk
32914fe66b ExtensionSystem: Allow opt-in plugin loading without restart
Change-Id: I682e51d047c43ff5bf4647ef7e015222707f3204
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 09:30:38 +00:00
Eike Ziller
104959f7f7 Merge remote-tracking branch 'gerrit/12.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs

Change-Id: Ide00b6dd5b44d637b18892c663035e736de03485
2023-11-13 10:22:12 +01:00
Leena Miettinen
eb9c2da726 Doc: Turn Managing Sessions into a how-to topic
Task-number: QTCREATORBUG-29361
Change-Id: If15556fdcb5d365b65f1f56a77ab9c21739d0854
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 09:05:07 +00:00
Jarek Kobus
845337436c Async tests: Add tests taking static function
Change-Id: Id10b40c7d50c36b8e9406f1ae7ab8915c908212c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 09:02:17 +00:00
Eike Ziller
702f4393f9 Bump version to 12.0.0
Change-Id: I47191ac3dcbfbde7f39bf2d322f8db488648aa35
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-11-13 08:40:38 +00:00
hjk
9e556d1142 CoPilot: Use ActionBuilder
Change-Id: I4a7dcce271a40038c8518be58e8fa626789ade61
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 08:34:15 +00:00
Jarek Kobus
aef4c32809 CppFileSettingsWidget: Add missing Tr::tr()
Change-Id: I1feea8db0597d48f7fb966c786103393d0d91487
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-13 08:22:00 +00:00
hjk
50679424dc Beautifier: Use ActionBuilder to create actions
Change-Id: Ibdaa87ec16dce4f532fd9bfd61914f08220a2f4c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 07:52:35 +00:00
hjk
65bb9e3505 Macros: Move plugin class definition to .cpp
Change-Id: I7ac41e64dd4b3b52876aaafd77218c330e220f67
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 07:48:43 +00:00
hjk
d74a85bbac Macro: Inline SaveDialog
Not worth the file pair.

Also modernize MacroManager a bit.

Change-Id: I88f6add3147390e3900beebacc4a3f5255eac7ea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 07:33:02 +00:00
hjk
82c77b1304 AutoTest: Use ActionBuilder
Change-Id: If109c8b6916bb59ec5c7d58b50dc9a61ca1b4a96
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-13 07:28:20 +00:00
Ali Kianian
1914b12317 QmlDesigner: Polish the Collection Editor ui
Task-number: QDS-10621
Change-Id: I0d9655888538bee8c759b6bf2c93eb5dc2455856
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-11-10 17:45:25 +00:00
Thomas Hartmann
5c830613e8 QmlDesigner: Fix reflection in states editor
We block reflection, therefore the model has to be
explicitly reset. Blocking reflection also in propertiesRemoved.

Change-Id: I0de1172c0b066fa71494c7b07331fa19f7fa502c
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-11-10 16:42:06 +00:00
Thomas Hartmann
cf13950b7b QmlDesigner: Add missing () to function call
This does silently fail.

Change-Id: Ie80e8400dd555f40875580d8ea054842b9bf6086
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-11-10 16:09:35 +00:00
hjk
812b3e2ee5 Macros: Remove Q_OBJECT macro from some classes that don't need it
Plus some code cosmetics.

Change-Id: Ifa9c4e7322ae7a2d5c1480f7afc58f020efcbc1c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-10 14:49:18 +00:00
Thomas Hartmann
2d07c94d35 QmlDesigner: Show warning if collection editor cannot be created
Change-Id: Ia0aea335f58c6e206dd23e004c081a43a96abf4c
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-10 14:45:11 +00:00
hjk
ab8ba7f264 Core: Replace new "Action" by an "ActionBuilder"
This needs not be stored somewhere but does its work latest
at destruction automatically.

Change-Id: If929f5a5ccc15b085f110d8d9db8f72ff2a5fac5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-11-10 14:33:15 +00:00
Mahmoud Badri
a4e65cfb0d EffectMaker: Elide long uniform names
Also fix preview toolbar vertical alignment

Fixes: QDS-10559
Change-Id: I6f03a4232742c0ea3afca042e15711f1abb272c5
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
2023-11-10 14:31:38 +00:00
Tim Jenßen
172f889223 qds: enable EffectMakerNew
Change-Id: Id1170ba7d9e61102c2e1d400f184ff3da53eacc2
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-11-10 14:18:50 +00:00
Thomas Hartmann
6d3c08ac4b QmlDesigner: Always enable model editor
Change-Id: I4a83b4b61e468b6db6c2930fa4e8ae470f8dbc72
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-10 14:17:49 +00:00
Eike Ziller
09f43e79cf Dock widgets: Add collapse/uncollapse functionality
Add a button that can be used to collapse a dock widget's contents
temporarily, as an alternative to removing and re-adding it.

To achieve that, remove the inner widget of the dock widget and store it
in an inner pointer. Just setting the inner widget invisible/visible
does not work, because the title widget of a dock widget with invisible
inner widget becomes 0 for some reason. We also need to add a dummy
widget with a maximum height, to make the dock widget resize and not be
resizable afterwards.

Do not allow collapsing if the dock is the only one in the area, in a
horizontal layout, floating, or tabbed.

Change-Id: Ibc1acb59d58069f08184e65c4814642acb0028ee
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-11-10 13:48:30 +00:00
Miikka Heikkinen
d0a7b9b359 EffectMaker: Fix qsb tool version parameter
Change-Id: I4a1ceafba63d466d9cec555b332d6894b1016ba4
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-10 13:38:45 +00:00
hjk
cd6311a125 Core: Remove Q_OBJECT from CommandPrivate
We don't really use any of the additional functionality.

Change-Id: I5fd7b7c9ce5dac457179f1fe8dcfbf3d3395cc93
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-10 13:36:32 +00:00
Eike Ziller
d6ea403d0f Improve styling of dock title widgets
Use styled bar and set size to the "single row tool bar" size, which
makes it fit better with the rest of the layout/UI.
For example there is no "black-white-black" bars in the analyzer views
with timelines like QML Profiler, or in the Compiler Explorer. Also the
top bar(s) are nicely aligned e.g. in the default debugger layout when
the debugger is running.

Also switch to custom buttons.

Change-Id: I52f95e3fbb32718b131fde39d75a20105fb0304a
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-11-10 13:32:35 +00:00
Jarek Kobus
c5cb637b96 SettingsDialog: Use locale aware sorting
Still it's not perfect, as it seems the order is like:
"Qt Quick", "Środowisko", "System kontroli wersji",
while the proper one should be:
"Qt Quick", "System kontroli wersji", "Środowisko",
but that's still better than before, when
"Środowisko" was after the letter "Z".

Change-Id: Ib1642f54ed57f798a614f1f3a2d805fb1fdaf1bc
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-10 12:15:11 +00:00
Alessandro Portale
4b98bebb86 Utils: Change prefix of global static variable names from m_ to s_
Change-Id: Ibf50f1e4db1791e6800b508f80fe1e0cc9d12ef7
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-11-10 11:38:35 +00:00
hjk
9c45399d14 Beautifier: Simplify plugin setup
Change-Id: I9614acaa46075ae1a627997d0261d7c647c7352c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-10 11:19:59 +00:00
Eike Ziller
e6a39128f5 Merge remote-tracking branch 'origin/12.0'
Change-Id: Ib9f8b81d60162a8b01e7c627ba54901af68afa98
2023-11-10 11:23:21 +01:00
Cristian Adam
f90f60bb32 CMake: Fix QTC_STATIC_BUILD
Change-Id: Idfcd36f2d5fdaf09c958ff101aa5e83e0a29cb58
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-11-10 10:11:18 +00:00
Yasser Grimes
52818b8367 McuSupport: Prevent crash while selecting QtMCUs kits for previewing
Users tend to select QtMCUs kits when opening a QtMCUs project in Design
Studio this leads to a crash on some of them because of incompatible or
broken kit configurations (but not QtMCUs desktop kits)

This patch will prevent the crash by preventing the use of QtMCUs kit
and issues a warning about it.

Fixes: QDS-10143
Change-Id: I54acd7b3f1439492bc37979028a1c2d4548da4cf
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-11-10 09:36:29 +00:00
Ali Kianian
c2581b3bc4 QmlDesigner: Consider an initial value for the model files
Task-number: QDS-11176
Change-Id: I5d35628022194760f63f26c67bc273d02b061575
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-11-10 09:29:33 +00:00
Thomas Hartmann
4121772030 QmlDesigner: Open Connection Editor from context menu
Open the ConnectionsDialog from context menu.

Task-number: QDS-10711
Change-Id: If0b78dc3d9820cdefa7efe9c85dacfae8f3d1d40
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-10 09:28:31 +00:00
Ali Kianian
acd4792ded QmlDesigner: Prevent accepting invalid lines on collection sort
Task-number: QDS-11117
Change-Id: Id603e5a5b85e99cf87972c853b130b26a195b223
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-10 09:27:40 +00:00
Henning Gruendl
0d6e2b10a2 QmlDesigner: Rename window manager uri
Change-Id: Ied88f4cbc394d8faba7280fbd1af210bb7daf76a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-10 08:35:24 +00:00
Mahmoud Badri
43e074581e EffectMaker: Add the change preview bg color editor
Fixes: QDS-10623
Change-Id: I216c254421dc65d21c0a582bcaac02f2fe3227e8
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-10 08:30:00 +00:00
Mahmoud Badri
95ed1ab5b9 EffectMaker: Update color value to use the new ColorEditor
Change-Id: I70cb1786667023209539713e2aa3c2149479f3b5
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
2023-11-10 08:29:10 +00:00
Semih Yavuz
5b1aa26e47 Do not use QDir::separator() in QML reformatter test
That created a mix of / and \\ while building the path. Qt promises to
build paths that conforms to underlying OS if we always use /.

Amends  ffcbbecf27

Change-Id: Iebcb739cc02f0a2d6dd8953943ecfa9cf8fc9aea
Reviewed-by: hjk <hjk@qt.io>
2023-11-10 08:29:03 +00:00
hjk
ef9be25469 Core: Have Core::Action for Help->Contact and Change Log
Change-Id: I606bc69c860222c66b241d25363941dd71aeab85
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-10 07:09:23 +00:00
hjk
d391c0c74e Core: Use Core::Action for 'About...' stuff
... and add the necessary Action::setMenuRole()

Change-Id: I2bb309ae115c1e015ff848e0712327360ead23cd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-10 06:54:35 +00:00
Amr Essam
c946a30f36 QmlDesigner: Save effect resources
Also effects are now can be dragged in the form editor

Task-number: QDS-10500
Change-Id: I5a701b8077231bcbb299c0c4f1cbf2f5173a14dd
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-11-09 23:05:34 +00:00
Ali Kianian
0b50d22bbd QmlDesigner: Rename some expressions
Task-number: QDS-11168
Change-Id: Id402267708eeed794b78766e9b5504fbb636d357
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-11-09 17:51:36 +00:00