Commit graph

7 commits

Author SHA1 Message Date
Candice Bentéjac
091346cbb8 [qml] Optimize QML files and fix syntax warnings
This commit addresses warnings that were raised by QtCreator's linter:
- IDs declared more than once
- variables declared more than once in the same scope
- type coercions
- variables declared as "var" when their type is known
- unclosed "case" in switch-case
2023-07-04 12:04:14 +02:00
Candice Bentéjac
9b5dd40b02 [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02: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
b75ccdb02f [ui] GraphEditor: use dash lines for input/input edges 2020-12-18 01:09:34 +01:00
Yann Lanthony
efb8e1ed67 [ui] Edge: fix control points distance
Avoid getting increasingly distorted curves with edge width.
2020-01-24 11:52:32 +01:00
Yann Lanthony
53be806019 [ui] GraphEditor: improve Edge UI
* increase EdgeMouseArea thickness for easier picking
* EdgeMouseArea: propagate modifiers on pressed
* increase edge visual thickness when hovered
* add edge contextual menu on right click
* Alt+RighClick shortcut to delete an edge
2018-07-27 19:05:53 +02:00
Yann Lanthony
886ded7f19 [ui] create GraphEditor module 2017-12-12 17:47:27 +01:00
Renamed from meshroom/ui/qml/Edge.qml (Browse further)