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
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
ChemicalXandco
3ea721a2ed
[ui] GraphEditor: allow replacing edges
2021-04-09 16:28:15 +01:00
Fabien Castan
e5ad4b2e64
[ui] GraphEditor: improve readOnly behavior on attributes
2021-01-22 14:53:57 +01: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
Julien-Haudegond
ae7daf0365
[ui] GraphEditor: fix binding warnings
2020-08-24 15:34:51 +02:00
Julien-Haudegond
79e1c69d5d
Merge remote-tracking branch 'origin/develop' into dev/nodesAndTaskManager
2020-08-24 15:19:31 +02:00
Julien-Haudegond
12de900e96
[ui] fix binding warnings when closing Meshroom
2020-08-17 17:50:44 +02:00
Yann Lanthony
79d35ac5e3
[ui] Node: display Attribute labels instead of technical names
2020-01-24 12:00:35 +01:00
Yann Lanthony
e2ef6520d7
[ui] Node: improve attribute display
...
* display filled pin when attribute has output connections
* start removing duplicated code
* tweak sizing/spacing
* fix anchor errors
2020-01-24 11:37:59 +01:00
Fabien Castan
72e0e64e27
[ui] GraphEditor: fix QML errors
...
- fix anchors/layout/padding conflicts
- fix references to non-existing variables
- fix anchors to a position and not to an object
2019-11-29 11:34:15 +01:00
Lee Geertsen
f083309973
AttributePin: move drag functionality to state
2019-11-29 11:34:15 +01:00
Lee Geertsen
9f5775cc6b
[ui]Do not allow to start a new connection on an already connected input
2019-11-29 11:34:15 +01:00
Lee Geertsen
502e912f77
[UI] change node attributePin ui
2019-11-29 11:34:15 +01:00
Lee Geertsen
f4e5e84478
Redesign node UI, added state icons and separate inputs and outputs
2019-11-29 11:34:10 +01:00
Yann Lanthony
4d6195cf81
[ui] Node: use TextMetrics to expand elided attribute pins at hover
2019-01-29 16:12:19 +01:00
Yann Lanthony
713ca7c6a3
[ui] GraphEditor: simplify attributes connection
...
* make Drag/DropArea overflow on the attribute's label to be more tolerant when connecting attributes
* add visual feedback when hovering interactive areas
* tweak spacings between attributes
2018-07-27 19:12:53 +02:00
Yann Lanthony
d5d8fa77dc
[ui] graph: better ListAttribute connections filtering
...
* fix ListAttribute => ListAttribute with children (was breaking multiple simple connections to a ListAttribute)
* add missing case ListAttribute => Attribute
2018-06-26 12:29:55 +02:00
Yann Lanthony
99d6068250
[graph] make ListAttribute connectable at root level
...
ListAttribute can now be connected :
* at root level to another ListAttribute (new)
* at child level to basic Attributes
2018-06-18 14:58:35 +02:00
Yann Lanthony
2f2390e465
[ui] fix Palette propagation
...
* bugfix: in latest PySide2 versions, application palette is not properly applied to all QtQuick Controls 2 components. Force this by exposing QApplication palette and bind it to the root ApplicationWindow.
* rename all "palette" ids to "activePalette" to avoid clashes with "palette" property on QtQuick Controls 2
* use parent component palette when it makes sense to propagate active/disabled style (instead of always using Active SystemPalette)
2018-05-28 15:30:09 +02:00
Yann Lanthony
1634555bf0
[ui] replace anchors by alignments inside Layouts
2018-05-03 16:52:00 +02:00
Yann Lanthony
014c1fe25f
[ui] specify keys for DropAreas
2018-04-13 22:48:46 +02:00
Yann Lanthony
a9bffb6c74
[ui] Node: elide attribute names + extend at mouse hover
2017-12-19 16:17:44 +01:00
Yann Lanthony
886ded7f19
[ui] create GraphEditor module
2017-12-12 17:47:27 +01:00