Candice Bentéjac
a61231916f
[qt6][GraphEditor] Node: Ensure readOnly
is set with a boolean
2024-11-07 18:19:13 +01:00
Candice Bentéjac
5a0b1c0c95
[qt6][qml] Clean-up code and harmonize comments
2024-11-07 18:15:37 +01:00
Candice Bentéjac
b12d1fed06
[qt6][qml] Remove unnecessary module imports
2024-11-07 18:13:36 +01:00
Candice Bentéjac
039504782f
[qt6][GraphEditor] Fix connections to ListAttribute
pins
...
The callbacks of `childrenRepeater` (which was used to "fill"
`ListAttributes` with children) were not correctly set. Their prototypes
were missing the `index` argument, meaning that instead of being
provided with the child attribute that was added or deleted,
they were provided with its index in the model.
The added children attributes were also instatiated as empty attribute
pins that were still visible, thus increasing indirectly the spacing of
the initial pin.
2024-11-07 18:13:34 +01:00
Candice Bentéjac
52444ef0ad
[GraphEditor] Edge: Set curve scale after initializing EdgeMouseArea
...
The curve scale of the mouse area for an edge used to be defined when
initializing the `EdgeMouseArea` for that edge. Setting it triggers a
chain of event that allow the mouse area to be active, thus correctly
detecting when it is being hovered or clicked on.
With Qt6, these events unfolded before the `EdgeMouseArea` had finished
initializing, which then caused it to not be active until the edge's
shape was modified (and the chain of events triggered again). It is now
set once the component has been created, so all the events can happen
in an environment where they are taken into account.
2024-11-07 18:13:33 +01:00
Candice Bentéjac
645b822e56
[qt6][GraphEditor] Fix the width for the TaskManager's list
2024-11-07 18:13:26 +01:00
Candice Bentéjac
8007bc51e8
[qt6][GraphEditor] Set preferred size for the list of chunks
2024-11-07 18:13:23 +01:00
Candice Bentéjac
fbe72a0ad6
[qt6][GraphEditor] Correctly detect clicks on edges
2024-11-07 18:13:22 +01:00
Candice Bentéjac
9867773953
[qt6][GraphEditor] Check for object's existence before accessing it
2024-11-07 18:13:20 +01:00
Candice Bentéjac
05e7d9eaee
[qt6] Use JS functions format to declare explicit parameters in slots
2024-11-07 18:09:14 +01:00
Candice Bentéjac
3ff279d99a
[qt6] Use JS functions format to declare explicit parameters in slots
2024-11-07 18:09:10 +01:00
Candice Bentéjac
d5b5163828
[qt6] Remove shaders from Meshroom and move them to QtAliceVision
2024-11-07 18:09:05 +01:00
Candice Bentéjac
a62bed08eb
[qt6][GraphEditor] Fix ColorDialog
selection
2024-11-07 18:09:03 +01:00
Candice Bentéjac
b9ec8fe3b7
[qt6][GraphEditor] Rename identifiers for attribute items
2024-11-07 18:09:03 +01:00
Candice Bentéjac
0e71f2a520
[qt6] Update versions for all the imported modules
...
Qt3D.Extras cannot be updated to 2.6 yet, otherwise there are errors.
2024-11-07 18:09:01 +01:00
Candice Bentéjac
6d845376eb
[qt6] Use JS functions format to declare explicit parameters in slots
...
This fixes all the "Injection of parameters into signal handlers
is deprecated. Use JavaScript functions with formal parameters instead."
warnings.
2024-11-07 18:08:59 +01:00
Candice Bentéjac
1b9e75cd4f
[qt6] Replace Qt.labs.settings with QtCore.Settings
2024-11-07 18:08:58 +01:00
Candice Bentéjac
02be73df65
[qt6] Remove properties that do not exist anymore in Qt6.6
2024-11-07 18:08:55 +01:00
Candice Bentéjac
96a70c04ff
[qt6] Remove imports of QML modules that do not exist anymore with Qt6.6
2024-11-07 18:08:55 +01:00
Candice Bentéjac
12249de216
[GraphEditor] Stop manually editing pins based on the edge's visibility
...
Editing the pins manually was useful when trying to hide fully the
connection whenever there was an edge connected to an attribute that
was disabled. Disabled attributes now have a special display if they are
connected, meaning both ends of the edge do not need artificial updates.
2024-10-15 16:05:41 +02:00
Candice Bentéjac
3bac0d0e37
[GraphEditor] AttributePin: Fix condition for the highlight pin display
2024-10-15 16:05:40 +02:00
Fabien Castan
52ecb18471
[ui] GraphEditor: SplitView fixes
2024-10-15 15:05:19 +02:00
Candice Bentéjac
d563451a53
[ui] GraphEditor: check node is valid
...
Only count valid nodes
2024-10-15 15:05:11 +02:00
Fabien Castan
2852a4cf19
[ui] Custom SplitView to have a larger handle
2024-09-19 20:39:43 +02:00
Aurore LAFAURIE
ccd88c4646
[ui] Replacement of Controls1 SplitView to Controls2 SplitView
2024-09-17 18:32:59 +02:00
Candice Bentéjac
ccd5f369e4
Merge pull request #2532 from alicevision/fix/descriptionAttributeTooltip
...
[AttributeItemDelegate] Position the attribute description tooltip
2024-09-16 15:15:37 +02:00
Aurore LAFAURIE
23caca0a36
[AttributePin] Fix set position tooltip in custom component to not override all tooltips position
2024-09-16 11:52:54 +02:00
Aurore LAFAURIE
b6df2852e7
[ui] Recompute and Re-submit not allowed with Compatibility Nodes
...
Renaming of canCompute to canComputeTopologically to understand the static aspect of the function
2024-09-13 18:32:46 +02:00
Aurore LAFAURIE
fbfe83e371
[AttributeItemDelegate] Type of attribute in tooltip doesn't need to be bold
2024-09-13 16:42:07 +02:00
Aurore LAFAURIE
2186a61fd8
[AttributeItemDelegate] Position the attribute description tooltip under the mouse position to be sure it doesn't slide on the screen
2024-09-12 15:21:13 +02:00
Fabien Castan
e077e8cb36
Merge pull request #2528 from alicevision/dev/exposingAttributesInGraphEditor
...
[core/ui] Exposed property added to attributeDesc
2024-09-11 20:03:18 +02:00
Fabien Castan
8ca3d091c1
Merge pull request #2526 from alicevision/fix/clickOnNodeMenu
...
[ui] Fix click on Category in Node Menu to keep the nodes displayed
2024-09-11 20:01:20 +02:00
Fabien Castan
8bf21e9de1
Merge pull request #2527 from alicevision/dev/tooltipforAttributeType
...
[AttributePin] Add tooltip to display type of attribute
2024-09-11 19:56:01 +02:00
Aurore LAFAURIE
f8d963e0b0
[ui] Add MScrollBar for better visibility
...
Always visible if height or width need it, with specific colors for hovered and pressed behaviors.
2024-09-11 17:33:29 +02:00
Aurore LAFAURIE
da3335ee94
[core/ui] Exposed property added to attributeDesc
...
Exposed is useful to display the attribute in the upper part of the node in the Graph Editor.
By default, File attributes are exposed.
2024-09-11 11:53:34 +02:00
Aurore LAFAURIE
de5ca552f7
[AttributePin] Add tooltip to display type of attribute
2024-09-11 11:34:40 +02:00
Aurore LAFAURIE
7d93a54b4c
[ui] Fix click on Category in Node Menu to keep the nodes displayed
2024-09-10 12:37:44 +02:00
Candice Bentéjac
7686c48e89
[GraphEditor] Do not assign undefined
to edge-related properties
...
This fixes the following QML warnings that may appear when performing
lots of operations on edges:
`Unable to assign [undefined] to QString/bool`
These warnings do not seem to have any functional impact on the connection
processes.
2024-09-05 09:36:18 +02:00
Candice Bentéjac
801ac369cd
[GraphEditor] Do not update pins when the app is closing
...
When an edge is removed, the pins it is connected to are
updated depending on their status while the edge is getting destroyed. When the window is
closing, all the components are being destroyed while the QML context is being invalidated: no function call to components that are being destroyed should be made in that context.
2024-09-05 09:36:17 +02:00
Aurore LAFAURIE
85bfc5614b
[ui] Thicker edges for for loops and better draw of them
...
If it's a for loop edge, it needs 2 shapes to draw from each side of the info section
2024-09-02 19:04:22 +02:00
Aurore LAFAURIE
17099aef05
[Edge] Area of for loop info on edge is now selectable
2024-09-02 19:04:09 +02:00
Aurore LAFAURIE
f9ec52a39b
[ui] Prevent modification of iterations while expanded for loop
2024-09-02 17:08:04 +02:00
Aurore LAFAURIE
0d346ab2da
[ui] Value of current edge iteration and TaskManager protected
2024-09-02 17:08:04 +02:00
Fabien Castan
a9b22b0aaa
[ui] GraphEditor: fix tooltip camel case
2024-09-02 17:08:03 +02:00
Fabien Castan
62ea6924f6
[ui] GraphEditor: simplify foreach loop menu
2024-09-02 17:08:03 +02:00
Fabien Castan
31192bd1bd
[ui] GraphEditor.Edge: Avoid binding loop
2024-09-02 17:08:03 +02:00
Fabien Castan
48d08b1f88
[ui] GraphEditor: improve alignments
...
Reduce usage of anchors (except centerIn/fill).
Display of Next/Previous for IntSelector.
2024-09-02 17:08:02 +02:00
Aurore LAFAURIE
ff86a5182e
[GraphEditor] Close edge popup when action is triggered
2024-09-02 17:08:02 +02:00
Aurore LAFAURIE
c60c4d4d6c
[ui] Collapse and Expand for loop are not allowed for Compatibility Nodes
2024-09-02 17:08:02 +02:00
Aurore LAFAURIE
aba045f4aa
[ui] Display for loop size on edges
2024-09-02 17:08:02 +02:00