QLineEdit::textEdited is only called when the user types.
It is not triggered if the text changes due to undo/redo.
QLineEdit::textChanged is triggered for all changes.
We also have to make sure that we don't call
QLineEdit::setTextKeepingActiveCursor unnecessarily
as that would clear the undo/redo stack of the QLineEdit.
Change-Id: I19562d0804e6a34b11f19e86abd256a807e147d6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
We want to suppress the push button's behavior to
open the menu on the `pressed` signal.
In Qt 6.7 this internal connection was changed to a
C++11 style connection to the push button's private,
so we have no direct way to remove this connection only.
Remove all connections to `pressed` (which we do not use atm)
and document the behavior correspondingly.
See qtbase/9ef16d94719b186051174d1df1d75b758f9a98c9
Change-Id: I0d50af23e80d98063da3a47713e5f59de4458819
Reviewed-by: hjk <hjk@qt.io>
Drop a call to currentProject(), as currentBuildSystem()
already implies currentProject() isn't nullptr.
Amends a998269d7e
Change-Id: Ibf902dc78af5c59c6475366f52d0b3489e989789
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
By taking the default CMake tool in Qt Creator. Similar to the editor.
Change-Id: Id1effa3c4f71dc59dcf940f0fc246aa87c9ba0f7
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Some quick3d utility functions were moved under QSSGUtils namespace.
We only used one one-liner function from there, so just copied the
implementation into puppet to avoid this dependency.
Change-Id: I0b08157732161c750b3e53873fd10e1b20137b04
(cherry picked from commit 291e3096cd)
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
That is, collect the quickfixes only when the refactor menu is expanded,
not when opening the context menu.
Task-number: QTCREATORBUG-29611
Change-Id: Ib827940ecbe8878e0b695e4f453926f759b05572
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
When particle mode is enabled in 3D view, only the animations related
to the selected particle system are played instead of all animations
in the scene. Timeline animations are never played, as those are
controlled with timeline controls.
Animation is considered related to selected particle system if the
animation target is either descendant or ancestor of the selected
system, or the system itself.
Fixes: QDS-10678
Change-Id: Iaaaec14f86d61c7aba2347b16bc757fc188601a0
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Also fix clicking outside the comboboxes doesn't close them.
Change-Id: I461501f90756f4e4eb96dace3839e9b6f0c0d9b8
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This reverts commit cd8bc98e52.
Reason for revert: Breaks compilation
Change-Id: I27ef9b718adf8cd4b8ac72e77161515ff637bd6e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Use the language client in qmljseditorWidget to do 'go to definition'
aka 'findLinkAt', when the language client is enabled.
Also move static helper method getQmllsClient up in the file.
Task-number: QTCREATORBUG-29567
Change-Id: I4f9132ba5f6bffc5090f3b1f7f6ccfd0c7b40e2a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
In preparation of running it in another thread.
Change-Id: I2cbac1bd45885416f8ee0dfdc95a4998e87d2f8e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
QVERIFY2 evaluates its second argument even if the first one is false.
Uncovered by 768f12e033.
Change-Id: I57a175791c21fe416efaabd69920cdcb5e6da38c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
When the lldbbridge is imported from the debug_script.py in qtbase,
it's imported using the module name 'qt', to distinguish it from
when Qt Creator imports the bridge.
So when we add the synthetic child provider, we need to use the
'qt' module name. This fixes the warning:
The provided class does not exist - please define
it before attempting to use this synthetic provider
If for some reason the lldbbridge.py is imported into a LLDB session
directly, we mirror the 'lldbbrdige' module name to 'qt' as well,
so that the class reference still holds.
Change-Id: I531b10fd5e10eb0c2acd6014169a02ba3157c704
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
m_rect has otherwise invalid data at some point.
Change-Id: I325522123ca4b0240235cf95cd6fb026f4ab9c98
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
- Remove dependency on project.withAutotests by adding local
{Qt,Cpp}Application overrides that alias QtcManualTest. This way, the
respective products are a QtcManualTest when inside Qt Creator, while
also working outside the source tree.
- Rename QtcManualtest to QtcManualTest. (The reason QtcAutotest is not
camel-cased is because "autotest" is a single word.)
- Plus some minor clean-ups.
Change-Id: Idd77191f0b433d6d7443c639eebda383ab110082
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Does not build before Qt6.4 and cmake build only builds
it from Qt6.4.3 onwards.
Change-Id: Ie3ffa37eb1c164b4fd151e2cf73918cfd4740175
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>