We can't use SCREEN_TEXTURE to apply fade as it doesn't contain
transparent objects. However, it turns out it's not actually necessary
if the grid itself is also transparent (opacity 0.99 is sufficient),
so SCREEN_TEXTURE use was removed.
Fixed all components of the helper grid to have same bounding boxes, as
it appears bounding box of the mesh is relevant to alpha calculations.
Now subdiv lines of the grid no longer randomly change their alpha
values when just orbiting the camera.
Orbiting the camera also caused constant property updates on the grid
material due to float math rounding errors, so round the result to
five significant digits there.
Limited the grid area to 30000 units as there is not much point
in bigger grid due to the fade and very large objects can cause other
issues.
Fixes: QDS-10821
Change-Id: I65c31e99a45fd30186dcdcb185f9978b5c1b322e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This fixes the issue that the SelectionAspect was read incorrectly,
causing an invalid settings entry of "-1".
Also the settings key changed for the quite probable case that some
early testers have the invalid "-1" in their settings.
Change-Id: I97061e2787068bc3bb6cf4bd2d7b0aab767598d5
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Mechanical, plan is to move m_mainWindow there and switch
around construction.
Change-Id: Ic7936623586ac68c2cdd69a40042262802579d23
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
To improve the speed of parsing the result of a remote
cmake call, we move the file fetching and parsing into a
mapped concurrent call.
We also first uniquify the list of files to remove duplicates.
Fixes: QTCREATORBUG-29618
Change-Id: I18108928ba3b5f4f8ec3d5610b216c5ccf060877
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
In Qt 6, the API and environment variables intended to influence the
HighDPI behavior changed quite a bit. Until recently, (see "Amends"
change), Qt Creator still supported the Qt 5 options instead of the Qt 6
options.
With Qt 6, HighDpi support is always enabled. Just the DPI rounding
policy should be set by user or application.
This change adds a ComboBox in the General settings, which allows to
select a DPI rounding policy:
https://doc.qt.io/qt-6/qt.html#HighDpiScaleFactorRoundingPolicy-enum
The default setting is "PassThrough", which is the default policy for Qt
6, and which is also the default in Qt Creator since version 11.0.2.
Amends: d1deeb2c0d
Fixes: QTCREATORBUG-29501
Change-Id: Ib19b40cb3945cecc71b7c10f42fa2b06b3cc6153
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
E.g. cppquickfix_test.cpp in Qt Creator is ~260KB, and editing it is
quite sluggish with ClangFormat enabled.
Change-Id: Ifa0db8198b8c15fd03571176b9e94f046da3e44d
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Remove the unnecessary re-setting of the text edit
content due to the undo => edit => undo => edit
connection.
Fixes: QTCREATORBUG-29688
Change-Id: I7838ed594ae3741df757fa5eb3cdd90506428be3
Reviewed-by: hjk <hjk@qt.io>
Make sure that the container state is synchronized
with the main thread.
Change-Id: I8b50a380779038b273a1eb6645aa08309e90bc56
Reviewed-by: hjk <hjk@qt.io>
We test for equality by the pointer. To ensure it is uniqueness we now
search for the qualified name. If we get a hit, we use that instance. We
have to add the qualified key too into the cache to make it work.
Change-Id: I7f09203aad5591c41798902a75fc971ece7e1c05
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
You can now return a container and it will be appended to the result
container. That has the drawback of generating temporary container but
if we get them already it makes the code much more readable than a raw
loop.
Change-Id: Ibcd38e85ef759c18cd8da0fac0185f0f6fc123e2
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This patch updates the custom property editor tab documentation
from the Connections view. It also includes new images to
present the newly design custom property in the document.
Images were added in "webp" format.
Fixes: QDS-10816
Change-Id: I37a1471477f0f58138819511aa18abe4d6b54e2f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Other plugins that depend on ProjectExplorer will use it, for example
CMakeProjectManager.
Change-Id: Ic5cb0ecac4e06ad04da7590f7759bf1ccdd59b3a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
If we import an indirect import can be added too. So if we remove that
import we have to remove the related indirect imports too.
Change-Id: I4cb09fdc8986c473db2a8194766778956bc7069a
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
It is only activated if the project storage is activated
Task-number: QDS-10578
Change-Id: Id93673eba470aa37a249072b3ef9e0231499095a
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Instead of running detection for (non-mingw-)gcc and mingw twice
and discarding "non-matching" results, run detection once and
determine the subtype afterwards.
This practically halves the time for their detection except
for Mac hosts where only mingw was searched before.
Change-Id: Id5c43c82125ca95570b890fef7ccd59d1edd5a6e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This patch updates the Bindings editor tab documentation
from the Connections view. It also changes the old images to
present the newly design bindings editor in the document.
Images were added in "webp" format.
Fixes: QDS-10764
Change-Id: Id2b3a141b1aa40c8a141e1600bfa91fab9095347
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This is where the user would expect it.
It is an action, so the user can assign a keyboard shortcut if needed.
Change-Id: I4c6db3b1dafb5fb173a07c21d271715310a2b091
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
This patch updates the Connection editor tab documentation
from the Connections view. It also changes the old images to
present the newly design connection editor in the document.
Images were added in "webp" format.
Fixes: QDS-10765
Change-Id: I1ead92ffff1f53c8e6560ed5b6a71501efa9d1bf
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
conversion from 'size_t' to 'int', possible loss of data
Change-Id: Iaea0dde9be1bec467dd788058dc7b64c7af33da4
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
The revision is part of the Utils::appInfo() structure. Make sure to
display it when is set.
Change-Id: I0dece3bdd011127f63974b963e35f73834416b6c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Dragging to exactly (0,0,0) value wasn't registered as the null vector
got discarded when splitting it into subproperties.
Scale snap was snapping always to higher interval when new scale was
less than one, so it would never snap to zero.
Fixes: QDS-10652
Change-Id: I65135c258feeb10b9b17ea621e4d65c1d97e1794
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>