[ui] new EdgeMouseArea QtQuick Component

QtQuick components providing mouse interaction for edges (cubic splines)
This commit is contained in:
Yann Lanthony 2017-10-13 18:01:49 +02:00
parent 23541db54d
commit af53dd4ae7
3 changed files with 219 additions and 0 deletions

View file

@ -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)