mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 09:18:27 +02:00
[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
This commit is contained in:
parent
618b7e18b6
commit
f1b42acc14
11 changed files with 88 additions and 59 deletions
|
@ -68,7 +68,7 @@ Item {
|
|||
Image {
|
||||
anchors.fill: parent
|
||||
anchors.margins: 4
|
||||
source: Filepath.stringToFile(imageDelegate.source)
|
||||
source: Filepath.stringToUrl(imageDelegate.source)
|
||||
sourceSize: Qt.size(100, 100)
|
||||
asynchronous: true
|
||||
autoTransform: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue