Commit graph

19 commits

Author SHA1 Message Date
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
Renamed from meshroom/ui/qml/AttributePin.qml (Browse further)