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
Aurore LAFAURIE
019e137386
[ui/core] First version of For Loop implementation
...
If you connect a list to an attribute, you can iterate over the list as a for loop
2024-09-02 17:08:01 +02:00
Fabien Castan
47db2ded8a
Merge pull request #2452 from alicevision/dev/homepage
...
First Homepage
2024-08-30 22:55:48 +02:00
Candice Bentéjac
da2c3fda05
[GraphEditor] Return empty bbox if the graph is empty
...
This commit checks whether there is a node in the graph before trying
to determine the size and position of the bounding box. If the graph is
empty, an bounding box set with 0s is returned.
2024-08-26 16:21:28 +02:00
Aurore LAFAURIE
d9cdf51bf9
[ui] Fix lose focus of text Attribute
2024-08-26 15:32:08 +02:00
Fabien Castan
6646bde7a9
[ui] GraphEditor.newNodeMenu: fix unstable menu height
...
Use an explicit height on the newNodeMenu, this fixes the issue with
unstable size of the menu.
2024-08-22 22:23:28 +02:00
Fabien Castan
5c379c508c
[ui] GraphEditor: highlight chunks with lighter/darker
2024-08-20 19:37:03 +02:00
Fabien Castan
40c2caac5d
[ui] GraphEditor: add 1 pixel margin between chunks
2024-08-20 19:36:09 +02:00
Aurore LAFAURIE
87e6969d9f
[GraphEditor] Chunks in progress bar are visible thanks to alternate of dark and light color
2024-08-20 14:35:06 +02:00
Candice Bentéjac
39c51df065
[GraphEditor] Base ChoiceParam
model on attribute instead of description
2024-08-09 14:47:28 +02:00
Candice Bentéjac
16e951bad8
[ui] Update Delete data label according to selected nodes
2024-08-01 14:53:43 +02:00
Aurore LAFAURIE
82dd2a1f31
[ui] Re-submit behavior implemented
2024-08-01 11:07:29 +01:00
Aurore LAFAURIE
72201a80ff
[GraphEditor] Implementation of Recompute Button
...
Allows to do Delete data + Compute in less clicks
2024-08-01 11:07:29 +01:00
Candice Bentéjac
45e6f43c40
[GraphEditor] AttributeItemDelegate: Return valid component for PushButton
...
The value of a `PushButtonParam` being always `None`, it is necessary
to check that the type of the component is not `PushButtonParam` before
comparing its value to `undefined`. Otherwise, any `PushButtonParam`
will always be represented by a "notComputed" component.
2024-07-29 17:48:38 +02:00
Candice Bentéjac
bd74ee2829
[ui] do not display the value if it is not valid, not computed dynamic output attributes
2024-07-19 10:53:47 +02:00
Aurore LAFAURIE
cc6acbc610
[ui] Removal of useless option for Compute and Submit selected nodes
...
It is now included directly in Compute and Submit options.
2024-07-17 16:08:01 +02:00
Aurore LAFAURIE
887844541c
Compute or Submit selected nodes
2024-07-17 16:08:00 +02:00
Candice Bentéjac
692f25f38f
[GraphEditor] Add a ScriptEditor
component
2024-07-03 08:41:07 +01:00
Aurore LAFAURIE
8935dedc34
[ui] Timer not displayed on node not computable
2024-06-20 11:54:31 +02:00
Aurore LAFAURIE
9acc0a7492
[ui] Eye displayed for node with sequence output
2024-06-20 11:54:30 +02:00
Candice Bentéjac
7abbb50302
[Utils] fixing rounding issues in time display
...
Prevent getting strings like "5m60s" when rounding up.
2024-06-16 23:34:50 +02:00
Aurore LAFAURIE
12c3a1f8b9
[ui] Large Multiline Component added
2024-06-14 23:48:24 +02:00
Aurore LAFAURIE
51656db05d
[ui] Computation time label color according to status of node
2024-06-14 12:46:46 +02:00
broods
606e8e2f03
[ui] node editor header: change signal for update, remove chunks computation display
2024-06-11 11:18:29 +02:00
broods
a5de8b86dc
[ui] change SubmittedOrRunning function to only Running, string computation, function naming
2024-06-11 11:18:28 +02:00
broods
a29061efd5
[ui] add node computation on error status
2024-06-11 11:18:28 +02:00
broods
e556f4f276
[ui] add chunk computed counter in node editor
2024-06-11 11:18:28 +02:00
broods
0adbcd1c47
[ui] add node computation time in real time in node editor
...
[ui] add node computation time in real time in node editor
[ui] add node computation time in real time in node editor
2024-06-11 11:18:28 +02:00
Aurore LAFAURIE
c95afc8179
[GraphEditor] Eye on displayable node even if not computed
2024-06-07 10:21:55 +02:00
Aurore LAFAURIE
840ed3a8b8
[Node] Show all outputs of node in Graph
2024-05-28 18:07:31 +02:00
Aurore LAFAURIE
796493417d
[Node] Fix visible property usage for nodes output in Graph
2024-05-28 18:06:35 +02:00
Aurore LAFAURIE
927f261a93
[ui] NodeEditor index tabBar updated for nonComputing nodes
2024-05-27 22:03:42 +02:00
Aurore LAFAURIE
671b3ff128
[ui] InputNode behavior for menu and display
2024-05-27 22:03:42 +02:00
Fabien Castan
d5d2ee3095
Merge pull request #2366 from alicevision/dev/copyPasteAttributeEditor
...
[ui] Right click on text element in AttributeEditor open Copy/Paste menu
2024-05-25 14:28:21 +02:00
Fabien Castan
00acdb5a88
[ui] GraphEditor: Add Copy/Paste on the attribute label too
2024-05-25 14:04:03 +02:00
Fabien Castan
02ab2ef931
[ui] GraphEditor: attribute now loses focus when Enter or Escape is pressed
2024-05-25 14:03:26 +02:00
Fabien Castan
49c0d0feea
[ui] GraphEditor: manage selection for text copy/paste
2024-05-25 14:00:41 +02:00
Aurore LAFAURIE
dd7e19dd2c
[ui] Selection of text for copy of text attribute fixed
...
If there is no text selected, then it copies all the attribute, otherwise it copies only the selected text.
2024-05-23 16:55:29 +02:00