Make the target path more nested.
Task-number: QTCREATORBUG-28151
Change-Id: Iae0660294d873e82e3fef0cbf2411f7c22ef526f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
In addition to file names, Json wizards can define directories as
"File" source. That triggers a specialized code path which broke
with the conversion to using Utils::FilePath.
Amends: 389b1eceb9
Change-Id: I17be01dd04f3fe053966a87e16882659e341da5e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reduces the overhead of the function by a factor of ~500(depending on
the event count) by having the Range(start) index to the RangeEnd so
that we can only increment the RangeEnds that actually
need to be incremented.
Fixes: QTCREATORBUG-28162
Change-Id: I9daa711d0a1d960b232c5ed30564271daa68d1aa
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
... for a document.
This was only ever implemented for the built-in code model.
Fixes: QTCREATORBUG-20423
Change-Id: Ia99d0136e9995a5626058ad06173ea077be024d8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
For better keeping track of what is happening add logging
for the states of the server and runner.
Change-Id: I6666ce5bdcfb0c2ab1b05758ad293e2169dee0a3
Reviewed-by: David Schulz <david.schulz@qt.io>
The SquishControlBar becomes unexpectedly parent of the
critical error message box.
If the runner stops e.g. with a broken connection to the
server due to license issues the stop triggers a shutdown
of the server which in turn destructs the control bar, but
this crashes due to the message box.
Use the "real" main window instead which also corrects the
positioning of the message box.
Change-Id: I8ec3a100a51761169d8820175196dfc84b092410
Reviewed-by: David Schulz <david.schulz@qt.io>
Different runner modes get different handlings, so reflect
this in code and have easier maintenance.
Change-Id: Ia879a0e2db1d99dd50e43dfbe439dc6d679d7da6
Reviewed-by: David Schulz <david.schulz@qt.io>
And also collect global actions from the ActionManager.
Change-Id: Ia22374a709a0cb15b314d33009e15562d226cc7b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This already has been implemented in change
dc64f3207b, but was reverted with
change f220cb0e23) because this does not
work with text wrapping rendering, due to internal limitations of Qt.
Since this is a highly requested feature (e.g. QTCREATORBUG-13727), but
an internal change within Qt is not in sight, the approach taken here
is to offer the text wrapping feature in the settings only when the
line spacing is set to 100%. Additionally, a change has been made to
the layout of the display settings page to reflect this.
Fixes: QTCREATORBUG-13727
Change-Id: Ib233cf90a5f336bc591fa1bf860e162fa774dfe3
Reviewed-by: David Schulz <david.schulz@qt.io>
This is done to avoid recursive writes to model.
Change-Id: Ie7cdd9c38fc54276a2c6617ba51137fd78946f4a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Provide editor templates for Texture, TextureInput, and vectorXd
type dynamic properties exposed by components.
Change-Id: Ie7ae62aeffc5e151a1300b3aefdfc68584ccda6a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This replaces lots of custom painting/animating code with a simplified
implementation and cross-platform visual unification.
Task-number: QTCREATORBUG-27801
Change-Id: I18b12e8c7f0bba4ba5d8a05271ab1e757769dc5f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Separate states and modes according to their use.
Remove state handling from perspective, let tools switch
the perspective mode, and reflect perspective mode
immediately on the perspective.
Change-Id: Ibb0338974b90fcc099517c13d685f800d9774a7d
Reviewed-by: David Schulz <david.schulz@qt.io>
The old version looks crisper. Downgrade to
Roman fonts version 2.030 and Italic fonts version 1.050
Fixes: QTCREATORBUG-28106
Fixes: QTCREATORBUG-28139
Change-Id: Iec077fddf2ddba71b8b2cd7de92f397e12b6dc65
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Most IDEs support the "filename:linenumber" format to create shortcuts
to locations in code. This changes QTC_ASSERT() to output this format,
to make it easier to understand the reported issues.
Change-Id: I74f3f121c04ba262628ab73c457fa3e5fa760a04
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Converted old auxiliary properties usage in material preview to
the new API. Since most properties need to be both persisted to the
document and used by puppet, those properties had to be duplicated.
Fixes: QTCREATORBUG-28085
Fixes: QDS-7624
Change-Id: Idf51c773a2d49d44413bfaf69d4a683692ea8a0d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This fixes the case for qsTranslate. A context has to be provided.
Change-Id: I96004f13c84e2269b4226d6c184c7874d74955b0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Adds:
stripedTranslatableTextFunction()
convertToCorrectTranslatableFunction()
Change-Id: I9f8b50924c4c99cda43d32c03080bab83cfaff44
Reviewed-by: Aleksei German <aleksei.german@qt.io>
This converts the translation functions when dragging in items
from the library.
Task-number: QDS-7598
Change-Id: Iaed0f6683c2083e1d103ddfc07fe7ba2a2e9224c
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Due to high frequency of re-usage of the processes we may clash
with the destruction of a formerly running process using the same
QtcProcess object. Explicitly closing it before (re)starting
cleanly destructs the former process.
Change-Id: Id26e55ac3aaf5c24178d168c6391ae0c51139684
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>