Commit graph

8 commits

Author SHA1 Message Date
waaake
5bcc55c19f [ui] Edge: Added slot to fetch if a point exists on the path
Removed mousePress and mouseReleased events

Invoking custom Event or querying mouse buttons from the provided QMouseEvent crashes meshroom, this comes as first part of the workaround for querying when a point exists on the path
2025-02-03 16:59:31 +05:30
waaake
3a0d167bce [ui][fix] Edge: Updated Overridden geometryChanged -> geometryChange
With Qt6 the geometryChanged method was updated to be called as geometryChange and with that update QQuickItem was not getting internal updateShape to get invoked upon updates
2025-01-23 10:41:52 +05:30
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