Extract a part responsible for creating scripts to ScriptEditorForm,
which can be used in both: Connection Editor and Property Editor.
Task-number: QDS-10449
Change-Id: Ie6b8b4becfee4ed05760e31b742d8d0a9b79a113
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
ConnectionModelBackendDelegate refactoring to extract logic responsible
for generating scripts to a reusable backend component.
ScriptEditorBackend can be used in the property editor to handle script
creation in scripting components (such as ScriptAction or
StateChangeScript) and as a base for ConnectionModelBackendDelegate.
Task-number: QDS-10449
Change-Id: Ie83f413f42bc1134ebb866aa6e7ea9d6b37da49b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
When user creates new project in the same QDS session,
assets view were empty.
Fixes: QDS-14523
Change-Id: Ifc56e85b556b73eaf8d29fff031e207e8f9ee182
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Shrief Gabr <shrief.gabr@qt.io>
Doubleclicking .q3d file in assets view will trigger edit component on
the imported 3d component represented by that file.
Context menu for .q3d files now also has "Edit Component" option that
does the same.
Fixes: QDS-14789
Change-Id: I97a041f5bfe521058c03ee717479b2752bc45ff0
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
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>
Added a template wizard with the ability to enable hands,
passthrough, and spatial anchors.
Change-Id: I5f9864f955af3941d283fcfbbbf2949d0385c648
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
A GDB pretty printer's to_string method can return a plain string
as well as a Value object. We did not account for the latter.
Fixes: QTCREATORBUG-32480
Change-Id: I3429c30a022a1c810e677a567e2d2aba59c22a79
Reviewed-by: hjk <hjk@qt.io>
A placeholder .q3d file is created under content for imported 3D
components found under Generated/QtQuick3D on asset view attach and
every time new import is done. .q3d file contains a project root
relative path to component's import folder.
.q3d files get generated preview as icon in assets view.
Imported 3D items are no longer shown in Components view.
Removing .q3d file will remove the corresponding module as well
as all model nodes created from that asset.
Removing last model node of asset will remove the import statement
on next document save.
Fixes: QDS-12193
Fixes: QDS-14565
Change-Id: If01546ca4c78334bac73b055ed156276f6f8f2a4
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
F-strings are Python 3.6 feature and we have users with older versions.
Task-number: QTCREATORBUG-32475
Change-Id: Ia4e70f64a8d63b399e92902e952330d7267ad60b
Reviewed-by: hjk <hjk@qt.io>
This copies the section between ";DS Theme Palette START" and
";DS controls theme END" from design[-light].creatortheme to the Qt
Creator themes.
Any theme loading warning should disappear with this change.
Change-Id: Ib5983f8962d1fc0f5e7ce8c67fd46c73ce9d2733
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Fixed some (primarily related to `QMap`) alignment/padding issues
on ARM-based Macs.
Note that this change does not completely fix `StdMap` debugger dumper
test, which still fails due to incorrect reported alignment of
`std::string`.
Task-number: QTCREATORBUG-32309
Change-Id: I06b8be49453546fafacfefe88acbc7197d6c9434
(cherry picked from commit caf06b1a3b)
Reviewed-by: hjk <hjk@qt.io>
If a QImage is displayed in a separate window, `nbytes` variable
used to become unbound if the expression
had not been previously expanded.
Simply moved the splitting outside of the conditional block,
so that the variable is always available.
Fixes: QTCREATORBUG-32390
Change-Id: Id3d0f02e9c6a564c4d7cedfde8d7f94ba65c8d68
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
(cherry picked from commit 563e2d3e73)
* Fetch user info when opening the share dialog to keep the shown data
up to date
* Add a small button to trigger an immediate refresh of the user info
Task-number: QDS-14408
Change-Id: Idff4d8684963333a2e1997465325c10f5e69a6b1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Also did a minor fix for has3DNode
Fixes: QDS-14527
Change-Id: I57b41606fddad3de2da6b7b95c3115c945eb07d2
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Since Qt 6.8 is an LTS release we bump the default version.
Change-Id: I743b124237f9345d94c38c4417a67c4972bc573a
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
- Feedback popup is now displayed automatically on the 5th shutdown. Only
user-initiated shutdowns are counted. It can still be accessed from the
Help menu at anytime.
- Did some tweaks to the UI; added padding and changed display text.
- Cleaned up some deprecated telemetry identifiers that might clutter Insight's dashboard.
Fixes: QDS-11315
Fixes: QDS-14626
Change-Id: If2a69573f36bb54c7bfff4851a24d82b8ded4e7b
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit will add the CMake boilerplate code that will just allow the
resulted plugin project to "Run".
A custom CMake target named "RunQtCreator" will be created. The Qt
Creator executable referenced by the Qt Creator "Devel" package will be
used as command whth the '-pluginpath' of the newely created plugin.
Change-Id: I503a2bc5004ab2c890032e0af0cb1f4bbfcd4326
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
I only picked/added the token and inc files.
The rest only had a change related to CodeModel_Info_TextMarkColor
which we do not have to pick. The enum was otherwise already complete.
Task-number: QDS-14564
Change-Id: I7b2394178613fcfc48a30299c28a89780dde71d6
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Adding ToolTipArea to the HeaderView. Adding the tooltips to headerData().
Task-number: QDS-14500
Change-Id: I90554a9e49fab02ce42781243cf0357d25212ac8
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Active was renamed to Enabled. This has to be reflected in QML, too.
Task-number: QDS-14559
Change-Id: I3eb0a373ae79550d36b77ce388cc778922170037
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Change placeholder text to: Set target device IP
Task-number: QDS-14499
Change-Id: I8fe46cc8f120543251840705a244387e959b5f6e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Add Windows and Linux arm64 cross-compilation support.
This way all official Qt Creator platforms are supported:
* macOS universal
* Windows x64 and arm64
* Linux x64 and arm64
Change-Id: I1be148759ab02aa2629ea0adfc9940cdaae6d6cb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>