Commit Graph

10 Commits

Author SHA1 Message Date
Shrief Gabr
88026e33b3 QmlDesigner: Fix timeline playhead sync issue
Fixes: QDS-14683
Change-Id: Ifdb103b9b31240a290a3d847cc1bfada06b38161
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2025-02-25 16:40:32 +00:00
Tim Jenssen
9e6a2cc2da Merge remote-tracking branch 'origin/16.0' into HEAD
solved conflicts in:
	cmake/Utils.cmake
	src/libs/sqlite/sqliteids.h
	src/libs/utils/filepath.cpp
	src/plugins/effectcomposer/effectcomposermodel.cpp
	src/plugins/effectcomposer/effectcomposerview.cpp
	src/plugins/effectcomposer/effectshaderscodeeditor.h
	src/plugins/mcusupport/mcubuildstep.cpp
	src/plugins/qmldesigner/components/assetslibrary/assetslibrarywidget.cpp
	src/plugins/qmldesigner/components/devicesharing/devicemanager.cpp
	src/plugins/qmldesigner/qmldesignerprojectmanager.cpp
	src/plugins/qmlprojectmanager/qmlprojectexporter/resourcegenerator.cpp

Change-Id: Ia2f6ccfd39007dad1cb8317f5ac878109621aaa2
2025-02-17 18:08:12 +00:00
Miikka Heikkinen
fcf8d2bde4 QmlDesigner: Change ImageCache to use new qml-renderer puppet
ImageCacheCollector now uses new qml-renderer puppet to generate
preview images.

Removed -W and -H args from qml-renderer and added --minW, --minH,
--maxW and --maxH args to specify acceptable range for final scaled
size of the image. If natural size of the rendered image fits within
this range, then the image is not scaled.

Added --libIcon arg to qml-renderer to suppress background on 3D nodes.

Also changed item library icons to respect aspect ratio.

Fixes: QDS-14692
Change-Id: I88f3461626f69191770c0c5e7d79c14d7e82e609
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2025-02-17 11:56:56 +00:00
hjk
2d9d6aa315 Utils: Rename FilePath::toString() into toUrlishString()
toString() is almost always the wrong conversion, but unfortunately
too easy to find and often even working at least for local setup.

This here raises the bar as the non-availability of the "obvious"
toString() hopefully helps people to think about the semantics of
the needed conversion and choose the right toXXX() function.

The chosen new name is intentional ugly to reduce the likelihood
that this (still almost always wrong) function is used out of
convenience.

Change-Id: I57f1618dd95ef2629d7d978688d130275e096c0f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2025-01-10 13:05:29 +00:00
Thomas Hartmann
41f04cd991 QmlDesigner: Do not use context together with Tr::tr
Change-Id: Idf1d138ddf8dabc685befc0ee12caa2dd5e484c1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
2024-12-16 15:18:48 +00:00
Thomas Hartmann
8a0a64ba0d QmlDesigner: Use Tr::tr
When using Tr::tr we have a single translation context,
which makes the translators easier.

Change-Id: Ia3be8504c7fe6111b6eb0d6477b32a315b178b59
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-12-12 18:32:11 +00:00
Tim Jenßen
9bf7e8e2f6 QmlDesigner: improve terminology consistency
- Removed secondary name "QML Emulation Layer," which was introduced
  to hide the term "QML Puppet" from normal users
- "QML Puppet" settings are nowadays hidden from normal users anyway
- Added crash info indicating it is an internal process; this is the
  only location where "QML Puppet" is exposed to normal users
- Removed outdated CMake comments

Task-number: QDS-13345
Change-Id: Idb8b909580269a8396842f1cc4ad056649075d01
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2024-12-12 10:30:09 +00:00
Rafal Stawarski
f4380de722 FormEditorView: setupRootItemSize improvement
The improvement is that auxiliary dimensions are only used when no other (explicit or implicit) dimensions are defined.

Task-number: QDS-11292
Change-Id: I3c51d7a3cb1028a5aa5bc038f2bdf696191f4cb6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2024-12-09 09:53:09 +00:00
Marco Bubke
38b2150970 QmlDesigner: Integrate Model::singletonMetaInfos()
THe backend model is removed because it is not anymore used.

Task-number: QDS-13603
Change-Id: I9e9857e8698d450e81246009d6f463c50d4ae392
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2024-09-16 13:31:48 +00:00
Marco Bubke
5bb5166d2c QmlDesigner: Fix false dependencies
We want to get the rewriter under tests. And we want to use the designer
core in
other projects. There we cannot use plugins. So there should be no
dependency on
any plugins. There is a follow up patch which ensures, that there cannot
any
dependency on a plugin in a library.

Task-number: QDS-13406
Change-Id: I9a944fb12f7d206252946e6fe9c721c56f8536cf
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-08-29 09:06:45 +00:00