Github Push to hicknhack-software/Qt-Creator
-
QmlDesigner: Add 'Isolate Selection' to Navigator context menu
Task-number: QDS-14803
Change-Id: I111d3d6e3f174346a1e6c8b2e37e1c0e0a6ab9d8
Reviewed-by: Mahmoud Badri
-
QmlDesigner: Use 'PointingHand' cursor for hyperlinks
Also did tweaks to font size to maintain consistency across views.
Fixes: QDS-14850
Change-Id: Ic755c928b4fa39e121f18f60a5690dc7411d6b08
Reviewed-by: Ali Kianian
-
qmlpuppet: watch changes of new dynamic properties
qmlpuppet took into account predefined properties and dynamic properties
that were already defined when the instance was created. Dynamic properties created after instance creation where not considered (NodeInstanceSignalSpy wasn't watching them). With a given change, it also monitors changes of dynamic properties that are added to an existing instance, e.g. through the Property Editor.
Task-number: QDS-13513
Change-Id: I50ae9c25f358378f17e08d4dd957d78db6b97b98
Reviewed-by: Thomas Hartmann
-
DynamicPropertiesModel: handle instance property changes
Instance property changes are now taken into account for dynamic properties.
This avoids situations where the property value is cleared unintentionally.
Task-number: QDS-13513
Change-Id: I2b52ae2db721bf09b2310ba7c5bd4b3e0de3fab2
Reviewed-by: Thomas Hartmann
-
QmlDesigner: Lock node in properties view
Task-number: QDS-14557
Change-Id: I0b9bf07fe95f6ae85b8bf81eec29c09ab0aa5531
Reviewed-by: Miikka Heikkinen
Reviewed-by: Mahmoud Badri
Reviewed-by: Thomas Hartmann
-
ProjectExplorer: Request popup asynchronously
Showing the output pane can have side effects on the widget that
is sending the request.
Task-number: QDS-14921
Change-Id: I38f7fcb1e104bae4e28f09eec43be318b01b6b52
Reviewed-by: Eike Ziller
-
QmlDesigner: Unify the selection for nodes, materials, and textures
* Multiple nodes can be selected in MaterialBrowser
* If a node is selected in MaterialBrowser, it's also selected in
the document model.
* If multiple materials/textures are selected from the outside of the
MaterialBrowser, they are marked as selected in Material Browser
* Right-clicking on a material/texture does not select it. The reason
is that the user should be able to apply a texture to a
material/model
* The thick border of the focusMaterialSection is removed
* A dashed-border is added to illustrate the right-clicked item
* Selected items are exposed as roles for both models
(material and texture).
* The item found in the search is exposed as MatchedSearch role
* `selectedMaterialIsComponent` is removed, and instead, a role is
added to the MaterialBrowserModel
Task-number: QDS-14623
Change-Id: Id0a3bd76ae795f276c36483bcc52df487070f8e4
Reviewed-by: Miikka Heikkinen
Reviewed-by: Mahmoud Badri
-
QmlDesigner: Open PropertyEditor after MaterialBrowser actions
The actions are:
* Create
* Duplicate
* Delete
* DoubleClick
Also customNotifications are removed for MaterialEditor and
TextureEditor
Task-number: QDS-14903
Change-Id: Ia56a5f6ff443b105994d98451e875001666a9767
Reviewed-by: Miikka Heikkinen
-
QmlDesigner: Handle multiselection for Materials and textures
* Material Preview is removed for multiselected nodes
* Name field shows `multiselection`
* Showing material type in multiselection is handled
* Setting a type for multiselected materials is handled
* Renaming a material/texture changes the id as well
Task-number: QDS-14895
Change-Id: I61b6ebf8bf320f5a9e27e318f66d6823d9e91272
Reviewed-by: Miikka Heikkinen
Reviewed-by: Mahmoud Badri
-
QmlDesigner: Always use old syntax for Qt4MCU
Qt4MCU does require the signature for new syntax.
The signature is not used on most cases and supporting the
signature is not worth the effort at the moment.
Therefore we fall back to the old syntax for Qt4MCU.
Pick-to: qds/4.7
Task-number: QDS-14904
Change-Id: Id0c5962ac91849897229ab9e816879e8089893ee
Reviewed-by: Aleksei German
Reviewed-by: Marco Bubke
-
QmlDesigner: add verification that the function exists
Add verification that the function exists before invoking it.
It causes warnings when the method does not exist in a pane.
Also all of the panes don't need this.
In addition, removing the placeholder with an empty function,
as it is no longer needed.
Task-number: QDS-14709
Change-Id: Ieaff5cf4759514c84e09ca0faaecc22b357b9a94
Reviewed-by: Ali Kianian
Reviewed-by: Mahmoud Badri
-
QmlDesigner: Load DesignSystem automatically
* Connect to onCollectionsChanged and trigger load model in QML frontend
* Connect to project and document changes and load design system
* Fix DesignSystemView::loadDesignSystem
* Add saving of design system collection
* Fix late collections clear
* Change load to refresh button
* Add IgnoreErrors to design system view
* Add clear model function in frontend
When a project is loaded we now load the design system. We also load the
design system if a file in Generated/DesignSystem is changed. Here we
have to take care of reflection.
Change-Id: Ie6b8b4becfee4ed05760e31b766d8d0a9b79a666
Reviewed-by: Vikas Pachdha
Reviewed-by: Henning Gründl
-
QmlDesigner: Remove QmlJS usage from 3D related content
Removed unnecessary QmlJS usage from 3D importer, lights baking, and
bundle importer. Also simplified bundle importer significantly and
added usage of new addQuick3DImportAndView3D() function to 3D importer
instead of just adding QtQuick3D import.
Fixes: QDS-14922
Change-Id: I5c8a4073a146ebe3fbbc89705acffa16cb466ea6
Reviewed-by: Mahmoud Badri
-
QmlDesigner: Fix dragging effects, images, and fonts to 2D view
Fixes: QDS-14923
Change-Id: Icdd53a706ca3bb1bdbd09be22390db55a8e670cf
Reviewed-by: Mahmoud Badri
-
QmlDesigner: Remove FlowView import for Qt 5
Change-Id: I34c0e84e281d8456d8997858269b2f2df7f6c564
Reviewed-by: Thomas Hartmann
-
UnitTests: Improve error messages
Adding the a property and field matcher string makes it easier to read
the error messages.
Change-Id: I0b9a4bf39d227eabd1342b3269ec70eca4e06d25
Reviewed-by: Thomas Hartmann
-
QmlDesigner: Implement extract component feature
A feature in the navigator where user can click a context menu button
to extract a component into the the parent view
Task-number: QDS-14799
Change-Id: I415fc521a226574489c38c95b0167b433412c8be
Reviewed-by: Miikka Heikkinen
-
QmlDesigner: proper std::to_chars float fallback
On older toolchains (e.g., RHEL 8, macOS < 13.3), std::to_chars
for floating-point types is may be partially implemented.
Task-number: QDS-14932
Change-Id: I63b17d640efa240e223f506333538a54b121de2c
Reviewed-by: Marco Bubke
-
QmlDesigner: Allow adding multiple 3D nodes to the content lib
Fixes: QDS-13201
Change-Id: I5812e7fb90f9d98d3ffa15eaa049a402181b1265
Reviewed-by: Shrief Gabr
Reviewed-by: Miikka Heikkinen
-
PropertyEditor: Forward currentNodes to backend
Since PropertyEditor has introduced `selection locking feature`, it
should keep its own selection for the cases that the change should
affect multiple nodes.
It means that model selected node might be different than the
propertyEditor working nodes.
Also model selection changes should be notified separately.
Change-Id: I692414811369680e16b3e25213bfa4b683576c55
Reviewed-by: Miikka Heikkinen
Reviewed-by: Mahmoud Badri