mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 08:48:40 +02:00
[ui] new EdgeMouseArea QtQuick Component
QtQuick components providing mouse interaction for edges (cubic splines)
This commit is contained in:
parent
23541db54d
commit
af53dd4ae7
3 changed files with 219 additions and 0 deletions
|
@ -7,6 +7,7 @@ from PySide2.QtQml import QQmlApplicationEngine
|
|||
from meshroom.ui.reconstruction import Reconstruction
|
||||
from meshroom.ui.utils import QmlInstantEngine
|
||||
|
||||
from meshroom.ui import components
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
@ -17,6 +18,8 @@ if __name__ == "__main__":
|
|||
engine = QmlInstantEngine()
|
||||
engine.addFilesFromDirectory(qmlDir)
|
||||
engine.setWatching(os.environ.get("MESHROOM_INSTANT_CODING", False))
|
||||
components.registerTypes()
|
||||
|
||||
r = Reconstruction()
|
||||
engine.rootContext().setContextProperty("_reconstruction", r)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue