Since the CMake presets is built upon Imports, when loading the presets
it's better to only use the candidates from preset Kits and not any
matching Kit that could handle the build directory.
This makes working with CMake Presets a bit easier.
Task-number: QTCREATORBUG-29535
Change-Id: I895e2e9162763e4cf3af5cdef5c9d5b228211fab
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Now spinboxes use IntValidator if decimals is set to zero.
Fixes: QDS-11922
Change-Id: Ibe8c8a18294a6764a0cd2182d09c30cdf9fb27cc
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
The block might have had some highlighting before the update, so compare
the new ranges against the one from the layout and update the layout if
the format ranges differ.
Change-Id: Ia6a0025e74fa8941b1cccc00baa93d3d37cb9ff9
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
If the same file is available under asset_imports and outside it,
prefer hiding the copy under asset_imports in UrlChooser when duplicate
hiding is enabled.
Fixes: QDS-11908
Change-Id: I06ac298e1ea45f6a94c66eb20cc4c0d4655103f4
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>
Cdb always report the type name with all typedefs resolved so we have to
check the original type name for cdb.
Change-Id: Ib7166276075b18e011ea786a5d3468db0e24e9c0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This way a project importer implementation can modify the filterText edit
field from the Project setup page.
Task-number: QTCREATORBUG-29535
Change-Id: I22b3d613ff84111b918c4a4447cd5656d7c593b9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Move clangformat output to infolabel in clangformatconfigwidget
to reduce noiziness in cli and to enhance the convenience of editing
the .clang-format file.
Fixes: QTCREATORBUG-30269
Change-Id: I78053bde9791122172f1d3d4ba712a9954ea9c4e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
- Fix add definition for templated/not templated function in templated
class inside namespace
Fixes: QTCREATORBUG-22076
Change-Id: I565cbdc8c6ab8d09727b4cd6f1c8fb45741c213f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
... to a Qt meta-method invocation.
Fixes: QTCREATORBUG-15972
Change-Id: Id84c83c5832cef32a877a451b0931ec47d2afe9d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Create the editor parameter structures in-place, and also
include the other two parameters in the struct to simplify
the signature of the c'tor.
Change-Id: Iff7d5ddf3096f4a3ed18e53265ae74806823af32
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
When our window loses focus the editingFinished signal is triggered.
This can happen multiple times (QTBUG-121983) if the result of the edit
is a modal dialog and the user clicks outside our application.
This would call editingFinished again, resulting in multiple message
boxes being opened. (Easiest to reproduce is changing the build
directory of a project which displays a message box confirming the
change)
This patch checks, via a recursion Guard, that the slot is not already
in the process of being called.
Change-Id: I5e61e1b57680f0b1f2483a81682e791bfb5c0867
Reviewed-by: hjk <hjk@qt.io>
This works for single quotes, angle brackets, and square brackets, too.
Task-number: QTCREATORBUG-30209
Change-Id: Icb07d87fe95ee8779ffc29f4623a7dfbdfca9e4d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Improves dumping of QObjects when the staticMetaObject is defined in a
different module than the object itself.
Change-Id: Ic02103016d14b4925978d8afeaf2dbcc5dcebf85
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Will be propagated to the calling code further.
The minor inefficiency here is in my opinion outweighed by the more
common setup. The structure is small and we don't have thousands of
VcsEditors.
Change-Id: Ifc0d6e4acd5ef206d5fcadf55f9eb28bd567967c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
- Update the screenshot of "Interface" preferences.
- Use the term "cursor" also when describing how to make the locator
wider.
Task-number: QTCREATORBUG-29980
Task-number: QTCREATORBUG-30209
Change-Id: I5ca0d5c57932f32871a7354a2ea69f98482a2585
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Keep the user data outside of combo boxes.
Use addItems(), which should probably be the fastest
insertion method.
Change-Id: Iec7e3fbe551a30e6a0e477e93add9c474c7f41fc
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The action is present for some time, but so far it had been
unimplemented.
Change-Id: I75722282cbe08aad6656e193822a5cb517ba17b3
Reviewed-by: David Schulz <david.schulz@qt.io>
For the users that have a space in their user name, the location of the
shellintegration.ps1 is a path with a space in it.
This patchset fixes the escaping of that space.
Change-Id: Iae84b2e8a8f1b4e2b7e523e28417caaeb77bc5cd
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>