Commit graph

15 commits

Author SHA1 Message Date
Yann Lanthony
ee02e5724e [ui] set organization and application names 2018-01-15 14:34:57 +01:00
Yann Lanthony
22c54bd1c5 [ui] force application exit on KeyboardInterrupt from command line 2018-01-10 11:47:32 +01:00
Yann Lanthony
a26a3f9af5 [ui] GraphEditor: add node creation menu
* expose node types model as context property
* right clicking on an empty space inside the Graph Editor opens Node Creation menu with all available node types
2017-12-18 19:46:45 +01:00
Yann Lanthony
b771352694 [ui] add main qml folder in QML import path 2017-12-05 16:00:33 +01:00
Yann Lanthony
1723f4abdc [ui] fix missing replacements QGuiApplication -> QApplication 2017-12-01 18:22:44 +01:00
Yann Lanthony
ab563dd4f5 [ui] use QApplication for Platform.FileDialog fallback
From Qt docs: "The Qt Labs Platform module uses Qt Widgets as a fallback on platforms that do not have a native implementation available. Therefore, applications that use types from the Qt Labs Platform module should link to QtWidgets and use QApplication instead of QGuiApplication."
2017-12-01 17:33:33 +01:00
Yann Lanthony
911b5ea6d0 [ui] dev: watch qml source files recursively 2017-11-17 17:43:14 +01:00
Yann Lanthony
2749e1dcdd [ui] add placeholder application icon
use AliceVision logo until meshroom has its own icon
2017-11-17 17:42:52 +01:00
Yann Lanthony
83c6d68954 [ui] add palette variation for dark theme
Crtl+Shift+P allows to toggle between light and dark theme on the fly
2017-11-17 17:40:27 +01:00
Yann Lanthony
e683238a8d [ui] update main
* use Fusion style by default (Qt >= 5.10)
* enable high DPI scaling
* parent main Reconstruction to the application
2017-10-31 16:53:35 +01:00
Yann Lanthony
c1b80ff3e3 [ui] stop potential computations when app is about to exit 2017-10-13 18:02:39 +02: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
Yann Lanthony
81398e63a6 [ui] add and use QmlInstantEngine for QML hot reload 2017-10-06 15:56:38 +02:00
Yann Lanthony
4d265a08e2 [ui] main: remove hacks due to a faulty PySide2 installation 2017-10-06 15:50:51 +02:00
Yann Lanthony
48941a5782 [ui] first basic debugging UI + elementary commands
* nodes as a ListView (right click to delete a node)
* editable attributes 
* undo/redo for adding/removing nodes and attribute edition
2017-09-25 20:18:27 +02:00