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>
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>
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>
- 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>
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>
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>
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>