Fabien Castan
c38f0c3fa3
[ui] minor qml warning fix
2020-01-27 13:16:23 +01:00
Yann Lanthony
991aca989b
Merge develop into dev/nodesAndTaskManager
2020-01-24 14:54:08 +01:00
Yann Lanthony
16c9e0ce4f
[ui] TaskManager: minor QML fix
2020-01-24 12:01:49 +01:00
Yann Lanthony
79d35ac5e3
[ui] Node: display Attribute labels instead of technical names
2020-01-24 12:00:35 +01:00
Yann Lanthony
efb8e1ed67
[ui] Edge: fix control points distance
...
Avoid getting increasingly distorted curves with edge width.
2020-01-24 11:52:32 +01:00
Yann Lanthony
61866708ac
[ui] Node: improve node UI
...
* unify colors and spacing
* simplify status icon display
* remove duplicated code
2020-01-24 11:41:58 +01:00
Yann Lanthony
e2ef6520d7
[ui] Node: improve attribute display
...
* display filled pin when attribute has output connections
* start removing duplicated code
* tweak sizing/spacing
* fix anchor errors
2020-01-24 11:37:59 +01:00
Yann Lanthony
97e18e02e1
[ui] Node: only display File attributes as Node attribute pins
2019-12-13 19:27:15 +01:00
Fabien Castan
65c472fe50
[ui] GraphEditor: change node background color
2019-11-29 11:34:15 +01:00
Fabien Castan
72e0e64e27
[ui] GraphEditor: fix QML errors
...
- fix anchors/layout/padding conflicts
- fix references to non-existing variables
- fix anchors to a position and not to an object
2019-11-29 11:34:15 +01:00
Fabien Castan
bbe40e0bc6
[ui] GraphEditor: use node label in duplicates tooltip
2019-11-29 11:34:15 +01:00
Lee Geertsen
70509f5dd2
Delete old readOnly property on GraphEditor
2019-11-29 11:34:15 +01:00
Lee Geertsen
f083309973
AttributePin: move drag functionality to state
2019-11-29 11:34:15 +01:00
Lee Geertsen
9f5775cc6b
[ui]Do not allow to start a new connection on an already connected input
2019-11-29 11:34:15 +01:00
Lee Geertsen
502e912f77
[UI] change node attributePin ui
2019-11-29 11:34:15 +01:00
Lee Geertsen
3ff5ba8d54
[core] Submit and Compute buttons are disabled if needed
2019-11-29 11:34:15 +01:00
Lee Geertsen
72c0606b1b
[UI] Add node name to top bar, push icons right + add radius on node
2019-11-29 11:34:15 +01:00
Lee Geertsen
3c32aaeecd
Fix problem for removing edge while computing
2019-11-29 11:34:10 +01:00
Lee Geertsen
6d83985b39
Lock Nodes and Edges during computing
2019-11-29 11:34:10 +01:00
Lee Geertsen
f4e5e84478
Redesign node UI, added state icons and separate inputs and outputs
2019-11-29 11:34:10 +01:00
Lee Geertsen
fe3c55e57c
Add ability to select node in the task manager tab
2019-11-29 11:34:10 +01:00
Lee Geertsen
c00db25c23
Don't lock graph and node editor while computing nodes
...
Add possibilty to, while computing nodes:
add more nodes to the task manager,
edit, duplicate and remove nodes without breaking the tasks that are submitted
2019-11-29 11:34:10 +01:00
Lee Geertsen
51d6c18840
Create TaskManager with a task overview
...
Create a seperate class to handle the logic of computing nodes
+ An UI overview with all submitted nodes
2019-11-29 11:34:10 +01:00
Fabien Castan
40c3430707
[ui] StatViewer: do not display uninitialied values
2019-09-10 18:56:23 +02:00
Fabien Castan
4cc78ad5ec
[ui] StatViewer: more compatibility with previous "statistics" files
...
* compute max peak ram if no total ram info
* hide GPU chart if the file is from a previous version
2019-09-10 18:56:22 +02:00
Fabien Castan
8f630d5c09
[ui] StatViewer: compatibility with previous "statistics" files
2019-09-10 17:52:37 +02:00
Yann Lanthony
07ced073f3
[ui] StatViewer: introduce custom ChartViewLegend system
...
* add a generic ChartViewLegend component that provides an interactive legend for ChartViews
* rely more on data bindings to control Series visibility and display
2019-08-06 10:39:39 +02:00
Yann Lanthony
aedf10c838
[ui] StatViewer: fix "Toggle CPU" button
...
use MaterialLabel instead of Text
2019-08-06 10:31:39 +02:00
Yann Lanthony
001d9a3de8
[ui] StatViewer: fix average computation
2019-08-06 10:28:12 +02:00
Yann Lanthony
bedda0c5b6
[ui] simplify loading of statistics file
...
* NodeLog: remove intermediate property for Loader
* StatViewer
* keep only one function to load source file
* only send request only after the previous one fully completed
* update deltaTime before initializing charts
* reset "sourceModified" property when source changes
2019-08-06 10:23:59 +02:00
Lee Geertsen
1822bbe13d
Dynamically load TextFileViewer or StatViewer depending on selected tab
2019-07-26 11:35:44 +02:00
Lee Geertsen
e48039bb2f
Add StatViewer component to view statistics charts
2019-07-26 11:34:43 +02:00
Yann Lanthony
eb8023e02c
[ui] NodeEditor: display AttributeEditor by default
2019-06-26 12:57:30 +02:00
Yann Lanthony
d7f8311dcf
[ui] NodeLog: set TextFileViewer source when chunks ListView is ready
...
Avoid going through an empty source when switching from one node to another (currentChunk being invalid the time the ListView is being constructed).
2019-05-15 20:17:09 +02:00
Yann Lanthony
17556427fd
[ui] NodeLog: PySide2 5.11 compatibility fixes
...
* downgrade imports to work with versions prior to 5.12
* remove ES7 syntax
2019-05-09 18:18:48 +02:00
Yann Lanthony
55dba55d19
[ui] New TextFileViewer for displaying log files
...
Introduce a new TextFileViewer component with auto-reload feature based on a ListView instead of a TextArea for performance reasons. Uses the text content split on line breaks as ListView's model.
Features:
* auto-scroll to bottom
* display line numbers
* customizable line delegates (e.g.: display a real progress bar)
* color lines according to log level
2019-05-07 11:47:09 +02:00
Yann Lanthony
45faa860c9
[ui] AttributeEditor: remove SortFilterDelegateModel
...
Usage of DelegateModel for model filtering has not proven to be the most stable solution, and might be responsible for random crashes happening during engine's garbage collection. Implement Loader-based alternative:
* first delegate is a Loader which creates the AttributeItemDelegate if necessary
* compensate spacing using negative height when element is hidden
2019-02-08 15:37:06 +01:00
Fabien Castan
e63725c4e0
Merge pull request #379 from alicevision/dev_unsavedDialog
...
Show unsaved project warning dialog also when computing from GraphEditor
2019-01-30 10:02:54 +01:00
Yann Lanthony
28e7e64f3d
[ui] show unsaved project warning dialog also when computing from GraphEditor
2019-01-30 09:48:37 +01:00
Yann Lanthony
4d6195cf81
[ui] Node: use TextMetrics to expand elided attribute pins at hover
2019-01-29 16:12:19 +01:00
Yann Lanthony
2990129e0f
[ui] GraphEditor: display ClosedHandCursor while dragging
2019-01-07 18:47:20 +01:00
Yann Lanthony
b46a2dbba1
[ui] Controls: add SearchBar component + better keyboard focus handling
...
* use it in MetadataListView and GraphEditor 'add Node' menu
* GraphEditor: forward MenuItem key events to searchBar to be able to continue editing the filter even if it lost active focus
2019-01-07 16:48:17 +01:00
Yann Lanthony
b5c985b3fb
[ui] GraphEditor: solo 3D media with Double Click + Control modifier
...
* allow to solo a 3D media from the GraphEditor by double clicking on a node or an attribute with the Control modifier pressed
* consistent with Viewer3D.MediaLibrary behavior (solo on Ctrl+Click on visibility button)
* handle supported file extensions in Viewer3DSettings
2019-01-07 16:19:42 +01:00
Yann Lanthony
4541d825ad
[ui] GraphEditor: consistent readOnly mode when computing
...
* lock edit actions when graph is being computed
* add an advanced option to control this behavior and unlock it (stored in persistent settings)
2019-01-07 15:39:47 +01:00
Yann Lanthony
34ca607261
[ui] GraphEditor : add "Clear Pending Status" tool at Graph level
...
* allow to clear status of all submitted nodes in the graph
* unify wording
2019-01-07 10:47:25 +01:00
Yann Lanthony
b09068dc68
[ui] Node: add "Clear Data From Here" menu entry + confirmation dialog
2019-01-07 10:47:25 +01:00
Yann Lanthony
d1bf04bdf5
[ui] Node: gather single and "From Here" actions in the same menu entry
...
* add a ToolButton for duplicating/removing following nodes in corresponding entries instead of having a separate item
* change text when those button are hovered to reflect the change of action
* wording: rename "Delete Node" to "Remove Node"
2019-01-07 10:47:25 +01:00
Yann Lanthony
d10c779914
[ui] GraphEditor: add "Delete From Here" in node contextual menu
...
* ease the deletion of a branch from a given starting point
* accessible with alt+del on a node
* re-order menu to put the most destructive operation (Clear Data) at the very end
2019-01-07 10:47:25 +01:00
Yann Lanthony
b50f9fb44d
[ui] GraphEditor: only display "Submit" in node menu if available
2019-01-07 10:47:25 +01:00
Yann Lanthony
5a38295184
[ui][AttributeEditor] display attribute technical name in tooltip
...
+ convert attribute description from plain text to html
2019-01-04 17:30:38 +01:00