Commit graph

6 commits

Author SHA1 Message Date
Candice Bentéjac
4933911f0b [components] Edge: Remove use of deprecated functions
QMouseEvent::x() and QMouseEvent::y() have been marked as deprecated and
should be replaced with QMouseEvent::position().x() and
QMouseEvent::position().y().
2024-11-07 18:13:32 +01:00
Candice Bentéjac
579371fd7c [qt6] Replace all PySide2/shiboken2 imports by PySide6/shiboken6 2024-11-07 18:08:54 +01:00
Yann Lanthony
6d07323580
[ui] compatibility fixes for PySide2 5.12.x 2019-05-07 10:39:20 +02: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
788fe7d4dc [ui] simplify EdgeMouseArea component
Removed independant start/end points; cubic spline starts from (0,0) to (width, height)
2017-10-31 16:53:35 +01:00
Yann Lanthony
af53dd4ae7 [ui] new EdgeMouseArea QtQuick Component
QtQuick components providing mouse interaction for edges (cubic splines)
2017-10-13 18:01:49 +02:00