Commit graph

254 commits

Author SHA1 Message Date
Candice Bentéjac
ede24713d0 Add "Copy" and "Paste" actions in the "Edit" menu
Also add a "Copy Node(s)" option in the nodes' right click menu.
2022-08-25 11:32:37 +02:00
Candice Bentéjac
e11452efdb Extend copy/paste support to selections containing multiple nodes 2022-08-25 11:08:57 +02:00
Candice Bentéjac
5b65866e49 [ui] Paste a node on the mouse's position
When creating a node with a "paste" operation, place the node
on the mouse's position in the graph instead of default position (0,0).

If the mouse is placed on an existing node, the pasted node will be
placed on the mouse's position plus an offset so that the pasted node
does not directly overlap with the existing node.
2022-08-19 12:02:09 +02:00
Candice Bentéjac
ddda62a652 Add node to graph with Ctrl+V if valid node content is in the clipboard
Attempt to paste the clipboard's content in the graph when Ctrl+V is
pressed. If the clipboard contains a valid node description, add the
corresponding node to the graph.
Otherwise, do nothing.
2022-08-19 12:00:16 +02:00
Candice Bentéjac
751bad96c6 Copy selected node's content to the clipboard when Ctrl+C is pressed
When Ctrl+C is pressed while a node selected, its content is formatted
to JSON and copied to the system's clipboard.
2022-08-19 11:31:31 +02:00
Fabien Castan
b291a9ed07
Merge pull request #1727 from alicevision/dev/externalPipelines
Use project files to define pipelines
2022-07-26 15:06:16 +02:00
Candice Bentéjac
8310b5c532 [ui] Highlight attributes' pins correctly
Harmonize the highlighting of the attributes' pins when they
are hovered and clicked on, may they already be connected to
other nodes or not.
2022-07-19 10:57:16 +02:00
Candice Bentéjac
352c8403e1 [ui] Fix vertical alignment of attributes' pins
The attributes' pins are now vertically aligned with their
matching labels.
2022-07-19 10:55:50 +02:00
Candice Bentéjac
47a99963fb [ui] Ensure the edge connecting two nodes is following the mouse
Moving the mouse rapidly when starting to connect two nodes'
attributes could lead to an unwanted offset between the tip of
the edge and the mouse's position; it forced the user to move
the mouse further than the attribute pin they wanted to connect
to in order to actually be able to connect to it.
2022-07-19 10:49:52 +02:00
Candice Bentéjac
708eb85c9c Evaluate variables in nodes' string parameters 2022-07-12 09:31:37 +02:00
luz paz
f4dcf6557f Fix various typos in the source code
## Description
Fix various typos in the source code. This includes user facing code, documentation, and source comments. This PR has not been tested.
Closes #1605
2022-01-22 07:39:05 -05:00
asoftbird
0d61ebd5f1
Update StatViewer.qml 2021-10-07 10:54:59 +02:00
Guillaume Buisson
67c4cf3c65 [attribute] hue semantic editor: add text editor and colored display 2021-07-19 12:03:11 +02:00
Fabien Castan
dc3f4dd2be [nodes] add semantic to customize attibute UI 2021-07-19 12:03:00 +02:00
ChemicalXandco
ecb1662b6b [ui] GraphEditor: highlight the edge that will be deleted when it is replaced with another edge 2021-06-04 19:59:49 +01:00
Fabien Castan
18be350e6f
Merge pull request #1227 from ChemicalXandco/box_select
[ui] add support for selecting multiple nodes at once
2021-05-03 23:42:11 +02:00
ChemicalXandco
fdfabf0066 [ui] GraphEditor: use entire node selection when handling '_ from here' operations 2021-04-18 14:33:17 +01:00
ChemicalXandco
e8a5491178 [ui] GraphEditor: select duplicated nodes and select following nodes on alt + left click 2021-04-14 23:14:51 +01:00
Fabien Castan
a781044c8e
Merge pull request #1357 from ChemicalXandco/fix_node_highlight
Node highlight radius
2021-04-13 21:31:49 +02:00
ChemicalXandco
3ea721a2ed [ui] GraphEditor: allow replacing edges 2021-04-09 16:28:15 +01:00
ChemicalXandco
975ee5e414 [ui] GraphEditor: fix node highlight radius 2021-03-29 16:37:21 +01:00
ChemicalXandco
e18f815af9 [nodes] add node categories 2021-02-14 17:03:42 +00:00
ChemicalXandco
3d33134ca9 [ui] add support for node categories 2021-02-14 16:12:39 +00:00
ChemicalXandco
55b16bc6d3 [tests] update node duplication test 2021-02-03 22:29:31 +00:00
ChemicalXandco
acf1bf2116 [ui] grapheditor: explicitly pass selected nodes argument 2021-01-26 21:13:16 +00:00
Fabien Castan
66cdc03884 [ui] Node stats viewer: limit curves sampling to avoid performance issues 2021-01-25 17:40:41 +01:00
Fabien Castan
a26122e546 [ui] NodeEditor: tabs width 2021-01-25 17:38:33 +01:00
ChemicalXandco
aef50d9bde [ui] GraphEditor: fix error when node is clicked with control and not selected 2021-01-22 22:49:44 +00:00
Fabien Castan
e5ad4b2e64 [ui] GraphEditor: improve readOnly behavior on attributes 2021-01-22 14:53:57 +01:00
Fabien Castan
078120696a [ui] GraphEditor: fix some readOnly regarding CompatibilityNodes 2021-01-22 14:30:33 +01:00
Fabien Castan
00242f8c4e [ui] NodeStats: disable time if no info 2021-01-22 13:13:19 +01:00
Fabien Castan
831443c29d [ui] NodeEditor: refactor ChunksList and add global stats 2021-01-22 11:38:53 +01:00
Fabien Castan
bd5d447d12 [ui] Stats: fix to avoid qml warnings
Fix https://github.com/alicevision/meshroom/issues/1130
2021-01-20 13:40:59 +01:00
ChemicalXandco
6f50f652c2 [ui] GraphEditor: fix cursor shape
cursor is only 'closed hand'  when scrolling the graph
2021-01-15 20:16:14 +00:00
ChemicalXandco
c253e7d363 [ui] add support for selecting multiple nodes at once 2021-01-15 18:16:45 +00:00
Fabien Castan
8ef793a488 [ui] GraphEditor: output attributes are never read-only
Also allow to expand attributes list on a locked node.
2020-12-28 19:01:36 +01:00
Fabien Castan
5fb6a5fb0f [ui] GraphEditor: only connect compatible attributes 2020-12-28 16:18:51 +01:00
Fabien Castan
85044e50cb [ui] GraphEditor: improve dash pattern on edges
- Avoid variation in dash pattern when the stroke is hovered by compensating strokeWidth.
- Use a dash pattern of [6,4] to get a stronger feeling of a dashed line (VS a dotted line).
2020-12-28 12:01:17 +01:00
Fabien Castan
ecf10a65f7 [ui] GraphEditor: visualize edges between params (non File attributes) 2020-12-18 01:13:54 +01:00
Fabien Castan
b75ccdb02f [ui] GraphEditor: use dash lines for input/input edges 2020-12-18 01:09:34 +01:00
Fabien Castan
bfdf2eae8b [ui] GraphEditor: use globalExecMode method 2020-12-02 19:56:23 +01:00
Fabien Castan
1102ce84e0 Merge branch 'develop' of github.com:alicevision/meshroom into dev/nodesAndTaskManager
Conflicts:
	meshroom/core/graph.py
	meshroom/ui/qml/main.qml
2020-12-01 20:02:43 +01:00
Julien-Haudegond
bd4c816e5b [ui] GraphEditor: fix edges removing when nodes are locked 2020-09-05 13:25:58 +02:00
Julien-Haudegond
827e98a83a [ui] Node: improve duplicates' button ToolTip 2020-09-05 13:14:25 +02:00
Julien-Haudegond
95c7a9b87f [ui] Node: move compatibility badge inside the node icon bar 2020-09-02 15:39:31 +02:00
Julien-Haudegond
06b821349f [ui] Node: duplicates button improvement but still perf issues
As described in the comment, for an unknown reason, the icon seems to make the UI slow in some cases but not always.
2020-08-27 16:28:23 +02:00
Julien-Haudegond
44821a1c5e [ui] GraphEditor: move stop/cancel computation check into a Python slot 2020-08-26 15:52:00 +02:00
Julien-Haudegond
a00c82cd2f [ui] GraphEditor: check sessionUid for stop/cancel computation 2020-08-26 15:33:45 +02:00
Julien-Haudegond
044ef1710f [ui] GraphEditor: enable stop/cancel computation only on locked nodes 2020-08-25 11:11:00 +02:00
Fabien Castan
9211434cf2
Merge pull request #1033 from ChemicalXandco/fix_ram_stats
[ui] Fix graph axes naming for ram statistics
2020-08-24 22:38:40 +02:00