We have to use ItemIgnoresTransformations and calculate
the correct position.
SelectionIndicator::updateItems() is called when the zoom is changed.
Change-Id: Id3e9d643b20c15c831a4e2d8ac72eea15a6b0d1f
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This reverts commit c0637b8283.
Reason for revert: Does not fix the issue and is unnecessary complicated
Change-Id: I3a1d48a736241ca031462c7694bf21afe93dcccb
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
... and only switch the root node in the UI thread.
Creating the project tree can take some time for larger projects; no
need to block the UI for that.
Task-number: QTCREATORBUG-18533
Change-Id: I093dc9fb8f3454011a3c64bcc0f785e8b7753b4e
Reviewed-by: hjk <hjk@qt.io>
- Fix class name in the \class command
- Add missing docs
Task-number: QTCREATORBUG-23544
Change-Id: I6ec6b6637cd6d766bb5870f01d5f374f32c7fe12
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
... by letting callers pass in a generator function.
This takes some load off the UI thread for larger projects.
For now only used by the QbsProjectManager, which can provide a thread-
safe generator function due to the project data existing in "value"
form.
Task-number: QTCREATORBUG-18533
Change-Id: I525dea36a4c4079bd1bd5a4fff844617547d56f1
Reviewed-by: hjk <hjk@qt.io>
These are different when the factories are used as real members,
as already done in Bazaar.
Change-Id: I3c187896dcbacb5156be1543424ccacb9140a493
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Give the reason for a kit being disabled in the tooltip.
E.g. for a CMake project you will now get
"Kit is invalid: No CMake tool set."
instead of a generic error message about the kit being invalid.
Change-Id: Ic776dc24149d65ebf27163b605ec2e52a3a504a7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
- Remove internal and duplicate docs
- Add missing docs
- Edit language and formatting
- Remove unnecessary \fn commands, so the signatures don't need
to be maintained
Task-number: QTCREATORBUG-23544
Change-Id: I85193979e4679b4e2fd2c219132eab4c977ac886
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
A quick3d private API used was introduced in 5.14.2
Change-Id: I03e48fb79068e16a24b2c2a1e128d59efb6c8fad
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
If a selected kit stays visible after a kit filter change, then keep
this kit selected.
Kits that do not get matched by the filter are unselected automatically.
I find this way more intuitive to use: E.g. when you filter a selection,
check something while filtered and then reset the filter the selection
now stays.
Change-Id: Ib557d5149a2009725a946183445911f13db76af5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
There were a couple of typos breaking the functionality.
Also separate updating extra compilers and the code model.
Change-Id: Ie8f7bbf62d4b7817af3a26298401ad99c011b6e5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
No direct advantage locally, but gets rid of one QObject parent
use of IEditorFactory.
Change-Id: I15611e96d0e6a38ee2c301cb6ba7387ad207265d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The standard pattern, and allows to drop the QObject parent on
the editor factory which gets into the way of de-QObject-ifing
the IEditorFactory hierarchy.
Change-Id: I5c6a50f8075a99592ed4459b417ca8ba7471ae96
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This patch makes the TargetSetupPage only check one kit by default,
independent of whether or not a preferredKitPredicate is set or not.
The logic is the following:
* Use the default kit first if it is preferred
* Use any preferred kit
* Use the default kit
* Use any enabled kit
* Do not check kits when the kit filter changes for now, that is
for a later patch.
* Do not change kit selection as Kits get added/removed/modified if
that is not necessary
Change-Id: I1e2bf594b902cf3e64d62588cde1dfb8e797bd3f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
- Mark internal functions \internal.
- Remove docs for signals that QDoc seems to consider internal.
- Remove obsolete information.
- Edit for language and style.
Task-number: QTCREATORBUG-23544
Change-Id: I8c7b48e6c338acd3d529b81203b4beb64ab4fe24
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Now camera frustum visualization should always appear correctly in
3D edit view, as the QSSGRenderCamera node is created at frustum
geometry update time if it's missing. Active scene change
also triggers geometry update for camera gizmos.
Change-Id: If24e97490b2ff6607049b5288c6e167aa29a86b2
Fixes: QDS-1472
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Not overly useful in the times of QT_RESTRICTED_CAST_FROM_ASCII
Change-Id: I87032b1da9cc4e8205d2a9c8596bc9ba832acf30
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
So it doesn't need to be named twice in the editor factory setup.
This intentially includes a de-optimiztion: storing the parameters
by value, not by pointer. That's more natural, does not need to
keep the parameters alive on the caller side, and it's uncritical
in this context.
Change-Id: I92867d3f2f75c38911ae82d3eeb4759cba71b723
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Plan is to avoid client use down there, so extract the actually
used data first and pass it down.
Change-Id: I088fc9cc3086e8f6e1e0c3c9d3a35445f752e6f0
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
... in TextEditorFactory explicitly. Plan is to remove the QObject
inheritance of the factory, so it can't serve as a parent anymore.
Change-Id: I7bad358b5d150c695befc7ad4afcf7c2be7fd248
Reviewed-by: David Schulz <david.schulz@qt.io>
Fix \fn command values and document missing enum and arguments.
Remove unnecessary \fn commands, so that the signatures don't
need to be maintained.
Fix formatting and language issues.
Task-number: QTCREATORBUG-23544
Change-Id: Iddddb704a51e7a4fa9ac79fa2d4a89aa6abeefd5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
These are required for publishing the manual at doc.qt.io.
Because this doc is more a collection of articles than a
traditional guide, list the topics in this guide in the
TOC in alphabetic order.
Change-Id: I2f604ee19f81dcaaccf4601440f178b41b77ec9a
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Add missing docs for Aggregate::changed().
Fix some formatting and style issues.
Remove \fn commands where they are not needed, so that the signatures
don't need to be maintained.
Task-number: QTCREATORBUG-23544
Change-Id: Ie5aac577d936aaa739588c99c36011e74a3313fe
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Also, replace or remove unneeded Q_OBJECTs, and make base
setters and adders protected.
Change-Id: I212257ef53984d8852dc8c478537199fc9483486
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
With the possibility to connect to any function that's not needed
anymore.
Change-Id: I307f706aa922a3b7d9f1cd7e2e88cece71090946
Reviewed-by: Orgad Shaneh <orgads@gmail.com>