Up and Down now change selection--they work only for files, they skip
directories.
The Delete key will (ask confirmation to) delete the selected files,
just as it happens when clicking Delete from the Context menu.
Also, did a small fix in the AssetDelegate, where, on mouse release,
you could have a directory added to the selection list.
Task-number: QDS-8710
Change-Id: I05e232ed0ce94709df41a5150a49300ad65c0a86
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
TableView.modelIndex function was deprecated in Qt 6.4.3 and replaced
with TableView.index function.
Change-Id: I65638c002015c556a78ce6341ebcb3ce6448e825
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
There is no need to run asynchronous task in this case.
Change-Id: Iaca0a5950572c167b996a8d8f0a376d9c35c38ab
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This dialog is a standalone QQuickView with its own engine, so we
shouldn't use MaterialBrowserBackend as it is not defined.
Change-Id: Ibcca023d3f85f652f080c1eee70bac550181ef9a
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
... for the architecture and toolset fields.
Task-number: QTCREATORBUG-28721
Change-Id: Ieac6c4bc1553204a1e34ea0ea05028e6e4975adc
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
There are qml directories without a qmldir. To identify them we use the
directory source id instead of the qmldir source id.
Task-number: QDS-9345
Change-Id: I1356ad332c091b64cbdad389a3ac505133716634
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
There are qml directories without a qmldir. To identify them we use the
directory source id instead of the qmldir source id.
Task-number: QDS-9345
Change-Id: I4ed4596a21576e6bbd18c5117753669ef8a68a28
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
If there are no cached data all importatnt files should be now being
watched.
Task-number: QDS-9178
Change-Id: I0c9093e41e6a2d4f3a5aa3d62aba1fd41e047da4
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
The key generation was changed to omit filename suffix.
Change-Id: I46f19fa0b8b750ebf10271cffa99682277d283b6
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
For now changing the path triggers the "restart needed" dialog. Some
refactoring (for future) is needed to make the change works right away.
Also added few missing ContentLibraryBackend uses.
Fixes: QDS-9233
Change-Id: I3a576d397b0452a70d9940edaaa38193c41af347
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Using Quick Test with cmake as "build tool" does not list the
important part for the testing - the test sources.
Explicitly add the qml files to the project and list them to
be able to see and access them directly.
Change-Id: Id136a017989a5bfb4b9058576e008edb792e5866
Reviewed-by: David Schulz <david.schulz@qt.io>
The event filter has to be installed on the actual QQuickWidget.
Using registerPropertyMap instead of global context properties.
Task-number: QDS-9124
Change-Id: Ic4d26081bb10b4cb4c8cca7050180feb1c081664
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
The event filter has to be installed on the actual QQuickWidget.
Using registerPropertyMap instead of global context properties.
Task-number: QDS-9124
Change-Id: I9e0e59d4bdf312d98177b8da51761bca8073c9e5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
The event filter has to be installed on the actual QQuickWidget.
Using registerPropertyMap instead of global context properties.
Task-number: QDS-9124
Change-Id: I148ecc6b489f6d72d80a345aa195f74676a92d51
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
When setting the locator to open as a centered popup, everything locator
is triggered, the search term is cleared.
Don't delete the popup when closing it. That keeps the input field alive,
and the text in it. We manage a singleton instance of it in
locatormanager.cpp/locatorWidget(), and it will eventually be delete
because it has a parent.
Change-Id: I237029bc2793f7394c5eb6ea7d658a4dd4a2c1cf
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Instead of trying to update all files in a single lupdate call,
make the ts_all targets just depend on the individual language targets.
It is less efficient, but not used often, simpler to setup and since
lconvert cannot work on mutliple .ts files simultanously easier to
setup a ts_all_cleaned target.
Change-Id: I60718408a661f011d84f3f74645e2f8fd49a95d1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
If the user wants to clear the log in order to read it only "from now
on", then the sensible way to do that is to clear the log, finish the
debugging session, then copy the output from the log pane.
But this flow did not work, because when the debugger is done, you no
longer have access to the live log window, only to the global window,
and this pane is not cleared, so all the logs are still there.
Change-Id: I89d8a5b8aab22c53e8c2eceac4c5482931cdd8b6
Reviewed-by: hjk <hjk@qt.io>
Previously the editor opened the translation file when starting
a new project. It makes more sense to open up the main QML file.
Task-number: QTCREATORBUG-28790
Change-Id: If1f61d23e4863143cacf004246ca7813dd04a1ab
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The minimum CMake version was changed to 3.21.1 with Qul 2.3.
Updating the minimum CMake version for the qmlproject template
project, but keeping the old minimum for the template targeting
older versions of Qt for MCUs
Task-number: QTCREATORBUG-28825
Change-Id: Ia6cb43a47cee81b3b299f188d6008ebd0576daba
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
QDS requires 3D imports to use QDS compatibility mode to work correctly,
so we force designStudioWorkarounds option on in all imports we do and
hide the option from UI so user can't toggle it off.
Since designStudioWorkarounds supercedes expandValueComponents option,
we also hide that as setting it has no effect.
Fixes: QDS-9219
Change-Id: Id40a45338ea630228f59b111703eba661ebd357b
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
When the Project's source directory would be used as a working directory
for the terminal, conpty would fail to start the shell.
Change-Id: I1050ec11c2bb46e17187431114a1319c86dd449c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>