Small images get blurry if scaled up, so just show the original image
in the thumbnail if it is smaller than the thumbnail.
Fixes: QDS-10671
Change-Id: I76b5b1c5b316fb66e7df71602383b894dd7bc635
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
There's nothing inherently tied to the main window here.
Change-Id: I48ae09777a4408fc4c955d23fdee3483d8a97dd0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This prepares using (relative) URLs gotten from Dashboard instead of using
hard-coded ones.
Change-Id: Iea19c4010eac1e3f30a33d495a738d37738dc083
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
Without correct accept header the server tends to react in unexpected ways in
non-good cases.
Change-Id: I79e5084c2f0921679ece7e88ec9572f2c4f3beec
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
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>