Reduce the size of the gizmo and adjust gizmo components accordingly.
Colors were also adjusted.
Fixes: QDS-11038
Change-Id: Ia1a01bf6e705cabf875dd5145d93af2a46196f0e
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Previously the path would be created based on the build device
instead of the target device. Therefore when building on windows with a
linux target the path might become "c:\usr\bin\..." instead of
"/usr/bin/...".
Fixes: QTCREATORBUG-29797
Change-Id: I13a9941b87b863f3e1b8420bcab230db1f70a28b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Standard sets to Auto a few lines further.
Change-Id: Id0bb61cb38fbabd682123baa3860ebdaf5b10846
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
For some reason I never noticed that it was missing.
Fixes: QTCREATORBUG-29809
Change-Id: I1da933d3e220c035ecdeb2f0a5d044d68081b413
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
If the model is detached, because the application is shutdown,
those could be already deleted.
Change-Id: Ibee260da04ab19a3f0e5381996fe71e1884b9af2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
The code for generating random colors nowadays results in
HSL parameters out of range warnings. Fix the generation of
random color values.
Change-Id: I27dfb1c59ced8f6776e83679532b296b69c089a9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
...just use it when needed. Avoids a crash when heading back from
Quick Designer view.
Change-Id: I1dae404d0d1cd41518d46773b35a78b4cdb03947
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
The dialog parent is supposed to fall back to the main window, if there
is no modal window and the active window is not a popup or a splash
screen.
But testing for "popup or splash screen" does not work with
`testAnyFlags(Popup | SplashScreen)` because these flags are combined
flags - e.g. "Popup" is "Window + something", so when using
testAnyFlags(Popup), that returns true for _any_ Window, regardless of
popup or not.
Amends 60f11cf637
Fixes: QTCREATORBUG-29741
Change-Id: I9e8defc6dd7193f5008decda0eda04dedc62f9df
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
filePathInfo() should not result in warning messages if the path is for
a non existing device, just like exists etc.
Fixes: QTCREATORBUG-28439
Change-Id: I47a66bd38a40a86460c4769c1a2156167e467c1b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
If we are in a state, we sync the texteditor not with the node,
but with the state or property change if it does exist.
Task-number: QDS-7261
Change-Id: I71a7c53f4d83ebc4d6fcb95283012898505a1c2a
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
As it turns out, changes to "objectName" and "layoutName" both result in
the objectNameChanged() signal getting emitted. We must handle these the
same way.
Fixes: QTCREATORBUG-29644
Change-Id: I41ecc4867f3df8eedf325eda750b947a57c90c10
Reviewed-by: David Schulz <david.schulz@qt.io>
On left-to-right KDE systems, the clear icon on the right was originally
(up to QtC 11) pointing to the left. In Qt Creator 12 it started
pointing to the right.
Reproducible with KDE Plasma 5.27.
This change restores the prior mapping of "writing direction" to "clear
icon direction". It also restores the fall back to the freedesktop
standard name "clear-icon".
Amends: 67212a31ee
Change-Id: I3d1340195a82422ac310128b9e81982e0d57a6ca
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
The activationsMap logs were a specific view was opened last.
We need to clear outdated information from the navigation widgets'
(left|right) settings (if a view was opened last in the left widget,
that was written to the left widget's settings, but it was not cleared
from the right widget's settings, so if it ever was opened last on the
right side, that information stuck).
When restoring the state of the left|right widgets, we may not overwrite
the previously restored activationsMap.
Fixes: QTCREATORBUG-29770
Change-Id: I14c85c24f279208fb94707514cc4a8cba184e03c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
qtbase removed some indirect include somewhere.
Change-Id: I477e6dccebda4fbb81f6fffd179115840c67002f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Retaining ModelNodes from detached model causes issues down the line.
Change-Id: I2bd1969d014fef76210a727312eb8bb9da96ffa6
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>