Commit graph

13 commits

Author SHA1 Message Date
Fabien Castan
dbcfce7c90
[ui] WorkspaceView: open images in the 2D Viewer from the Graph/NodeEditor
Double click on a node or an attribute with an image file to display it
in the 2D viewer.
2019-12-12 18:50:18 +01:00
Yann Lanthony
cee8d1b612
[ui] Viewer3D: add support for vertex-colored meshes
Use PerVertexColorMaterial if any vertex color data is available on a mesh without textures.
2019-07-10 16:35:44 +02:00
Yann Lanthony
438622a14b
[ui] Introduce ClipboardHelper for copying to clipboard from QML
* add ClipboardHelper class that contains a QClipboard and exposes its method as Slots
* use Clipboard instead of hidden TextEdit where meaningful
2019-05-07 11:47:09 +02:00
Yann Lanthony
6d07323580
[ui] compatibility fixes for PySide2 5.12.x 2019-05-07 10:39:20 +02:00
Yann Lanthony
b2e1743a6f [ui] Viewer3D: move TrackballController code to Python side
Port JS trackball camera controller code to Python for improved performance and stability.
2018-12-11 16:54:26 +01:00
Yann Lanthony
87d5a62846 [ui] Viewer3D: new Trackball camera manipulator 2018-12-10 15:13:27 +01:00
Yann Lanthony
c3750a33c3 [ui] Inspector3D: add media contextual menu
Contextual menu to expose additional actions:
 * open media containing folder
 * copy media path
 * advanced manual control over media (un)loading
+ fix MediaLibrary to avoid binding loop on 'visible' when directly modifying 'request' property
2018-12-10 15:13:26 +01:00
Yann Lanthony
2f50587904 [ui] introduce Scene3DHelper object
Expose missing QEntity methods and helper functions to QML via this Python class.
2018-12-07 15:55:48 +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
Fabien Castan
d83022714f [core] add pyCompatibility module
For python 2 / 3 compatibility
2018-05-21 17:12:22 +02:00
Yann Lanthony
f1b42acc14 [ui] add FilepathHelper Python class to manipulate paths and QUrls
* avoid non-cross platform hacks to convert string path to urls
* use standard python API
2018-03-06 15:32:33 +01: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