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>
In the run settings for a remote linux device.
Task-number: QTCREATORBUG-29392
Change-Id: Ib46241b62b4b0208f4f1e52419cc1b2a18e40295
Reviewed-by: Christian Kandeler <christian.kandeler@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>
This patch updates the LoginUI States Tutorial document.
Removes an old image and adds a new image to support
the current connection view update. Also, changes some texts
to keep the process relevant.
Fixes: QDS-10936
Change-Id: I52f403a1f4a4a7c36b5346069f50c1a633c437cc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This patch updates the Concepts and Terms document.
Removes an old image and adds new images to support
the current connection view update.
Fixes: QDS-11000
Change-Id: I7d5d1bea4287e13c2344138af7cce5b8f9f4321d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Some of the images was outdated as the connection view
format got changed in the latest version of Qt Design
Studio. This patch will change the old images to the new ones.
Fixes: QDS-10939
Change-Id: I62a3a342a1f2f38241a769ff96c25bb7d8f1e087
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Work around a Qt issue that the left key directly jumps to the parent if
the horizontal scroll bar is not left-most.
Task-number: QTBUG-118515
Change-Id: Icfc2a58863a3847a84bca05fc2de4b28e384106c
Reviewed-by: Alessandro Portale <alessandro.portale@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>
- Some labels changed
- "Use QML Language Server advanced features" was added
Task-number: QTCREATORBUG-29392
Change-Id: I2c4f4d43b8f8e9d74186439e31a9d8cf13ec4967
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
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>
The object that is installed as an event filter doesn't implement
eventFilter.
Change-Id: Icc51346e0c9eadf7448a4889df4c447d3bc3082c
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>
* Fix minimumSizeHint handling
* Set DockWidget to not force scroll area
* Set background color on dock widgets
* Add setting to activate/deactivate minimumSizeHint handling
* Fix missing ADS changes from last merge
* Fix ADS comments
Task-number: QDS-10925
Change-Id: I7e8e0d2e7c3f9ee6636a2dc0796f6bd1fff3b2ee
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
One could have a toolchainfile that sets the CMAKE_SYSROOT. We need to
be able to read the value later, and not just from the CMake Presets
cmakeCache array.
Task-number: QTCREATORBUG-29643
Change-Id: I63697219195b043813516c8214329ce583dc0676
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
- Add the instructions for finding the Preferences menu to the
"Find a particular preference" topic and rename it "Find preferences".
- Remove the "Find menu items on macOS" topic
Change-Id: I627e5c20d2c63efb4490d446608b923ac15a6aac
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
In case we have no documentation for an "F1 help request"
we display some temporary with a small hint. Disallow opening
this inside the Help mode to avoid triggering an open request
which ends up in a system dialog trying to open the temporary
local file.
Fixes: QTCREATORBUG-29371
Change-Id: If61c37eb2576cf6f9dcc70b58527a66b284b30f0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>