Commit graph

4077 commits

Author SHA1 Message Date
Fabien Castan
e077e8cb36
Merge pull request #2528 from alicevision/dev/exposingAttributesInGraphEditor
[core/ui] Exposed property added to attributeDesc
2024-09-11 20:03:18 +02:00
Fabien Castan
8ca3d091c1
Merge pull request #2526 from alicevision/fix/clickOnNodeMenu
[ui] Fix click on Category in Node Menu to keep the nodes displayed
2024-09-11 20:01:20 +02:00
Fabien Castan
8bf21e9de1
Merge pull request #2527 from alicevision/dev/tooltipforAttributeType
[AttributePin] Add tooltip to display type of attribute
2024-09-11 19:56:01 +02:00
Fabien Castan
dd171a6d24
Merge pull request #2530 from alicevision/dev/minorUimodif
[ui] Minor UI modifications
2024-09-11 19:51:48 +02:00
Aurore LAFAURIE
f8d963e0b0 [ui] Add MScrollBar for better visibility
Always visible if height or width need it, with specific colors for hovered and pressed behaviors.
2024-09-11 17:33:29 +02:00
Aurore LAFAURIE
eb3ac6cd50 [ui] Correct case for Open Project 2024-09-11 17:31:46 +02:00
Aurore LAFAURIE
da3335ee94 [core/ui] Exposed property added to attributeDesc
Exposed is useful to display the attribute in the upper part of the node in the Graph Editor.
By default, File attributes are exposed.
2024-09-11 11:53:34 +02:00
Aurore LAFAURIE
de5ca552f7 [AttributePin] Add tooltip to display type of attribute 2024-09-11 11:34:40 +02:00
Aurore LAFAURIE
7d93a54b4c [ui] Fix click on Category in Node Menu to keep the nodes displayed 2024-09-10 12:37:44 +02:00
Fabien Castan
9c33c57305
Merge pull request #2525 from alicevision/dev/homepageOpenProject
[ui] Open project from browser in homepage & quick adjustments
2024-09-09 19:50:19 +02:00
Fabien Castan
cd3c5b5d97
Merge pull request #2524 from alicevision/dev/alignLidar
add lineup to sfmTransform
2024-09-09 19:35:44 +02:00
Fabien Servant @ TCS
221ba1a7ec
Apply suggestions from code review
Co-authored-by: Fabien Castan <fabcastan@gmail.com>
2024-09-09 18:06:55 +02:00
Aurore LAFAURIE
ac5b02d0fe [ui/img] Add academic sponsors to homepage 2024-09-09 17:51:54 +02:00
Fabien Castan
6cdbd461f9
Merge pull request #2517 from alicevision/dev/lockOpticalCenter
Add locks for intrinsics
2024-09-09 16:55:39 +02:00
Aurore LAFAURIE
f78efe69fb [ui] Open project from browser in homepage & quick adjustments
Modification of tooltips, ensure computing is false before going back to homepage...
2024-09-09 15:06:51 +02:00
Fabien Servant
34782098d6 add lineup to sfmTransform 2024-09-09 12:50:28 +02:00
Fabien Castan
4502e98a4c
Merge pull request #2243 from alicevision/dev/ps_sh
[Photometric Stereo] MultiView fusion in Texturing
2024-09-06 22:03:39 +02:00
Fabien Castan
24a623acc8 Add space in category label 2024-09-06 21:57:24 +02:00
Fabien Castan
61c3102b89 [nodes] LightingCalibration: add visualization 2024-09-06 11:28:14 +02:00
Fabien Castan
431e480299
Merge pull request #2519 from alicevision/fix/qmlInvalidCtx
[ui] Fix function evaluations in invalid QML context and minor fixes
2024-09-05 21:14:59 +02:00
Candice Bentéjac
7686c48e89 [GraphEditor] Do not assign undefined to edge-related properties
This fixes the following QML warnings that may appear when performing
lots of operations on edges:
`Unable to assign [undefined] to QString/bool`

These warnings do not seem to have any functional impact on the connection
processes.
2024-09-05 09:36:18 +02:00
Candice Bentéjac
321ffec85f [Viewer3D] MediaLibrary: Check current node's existence before accessing it 2024-09-05 09:36:18 +02:00
Candice Bentéjac
801ac369cd [GraphEditor] Do not update pins when the app is closing
When an edge is removed, the pins it is connected to are
updated depending on their status while the edge is getting destroyed. When the window is
closing, all the components are being destroyed while the QML context is being invalidated: no function call to components that are being destroyed should be made in that context.
2024-09-05 09:36:17 +02:00
Candice Bentéjac
06ed3cb7cf [ui] Add property to detect if the main window is closing 2024-09-05 09:36:17 +02:00
Fabien Castan
91ebc1619c
Merge pull request #2504 from alicevision/dev/forLoop
First version of For Loop implementation
2024-09-04 23:36:33 +02:00
Fabien Castan
c4cc5b6882
Merge pull request #2521 from alicevision/fix/dialogsErrors
[ui] Add proper distinction between the main window and the application
2024-09-04 22:45:11 +02:00
Candice Bentéjac
d8c851961d [ui] Correctly retrieve path of most recent project to initialize dialogs 2024-09-04 14:57:00 +02:00
Candice Bentéjac
f56a9579f2 [ui] Correctly distinguish "save" from "save as" cases in unsavedDialog
Prior to this commit, even if the current graph had never been saved,
we ended up going through the "save current file" use case rather than
the "save as" because the `saveAction` button was always enabled.

This led to the callback being fired before the "save as" dialog had
been closed.
2024-09-03 16:19:36 +02:00
Candice Bentéjac
d89aec0250 [ui] Rename general and UI settings components 2024-09-03 10:51:49 +01:00
Candice Bentéjac
d1b728c68b [ui] Remove unused QML imports from main.qml 2024-09-03 10:46:05 +01:00
Candice Bentéjac
e0120fd287 [ui] Improve separation between main and Application
All the actions, file dialogs and message dialogs that are specific to
the application are removed from `main.qml` and placed instead in
`Application.qml`.

Only elements and functions related to the main window remain in
`main.qml`. As such, the `ensureSaved` and `ensureNotComputing` functions,
used when closing the main window, remain in `main.qml`.

Message dialogs that may be opened by these functions however are moved
to `Application.qml` as they are application-specific and can't be opened
on the homepage.

Application dialogs that may need to be called when triggering the closure
of the main window are aliased from `Application.qml` to remain callable
through the `StackView`.
2024-09-03 10:37:07 +01:00
Candice Bentéjac
e0ec0aef55 [ui] Use correct DontUseNativeDialog option for all dialogs 2024-09-03 10:37:06 +01:00
Fabien Castan
a0ef38da6c
Merge pull request #2520 from alicevision/dev/homepageEnhancements
Homepage Quick Adjustments
2024-09-03 09:24:30 +02:00
Aurore LAFAURIE
85bfc5614b [ui] Thicker edges for for loops and better draw of them
If it's a for loop edge, it needs 2 shapes to draw from each side of the info section
2024-09-02 19:04:22 +02:00
Aurore LAFAURIE
17099aef05 [Edge] Area of for loop info on edge is now selectable 2024-09-02 19:04:09 +02:00
Aurore LAFAURIE
1ec8c9c7ad [ui] Fix Collapse error
It comes from the update of the edges so we need to update the array of allSrc correctly.
2024-09-02 17:08:04 +02:00
Aurore LAFAURIE
f9ec52a39b [ui] Prevent modification of iterations while expanded for loop 2024-09-02 17:08:04 +02:00
Aurore LAFAURIE
0d346ab2da [ui] Value of current edge iteration and TaskManager protected 2024-09-02 17:08:04 +02:00
Aurore LAFAURIE
0d397b4baf [ui] Reset ListAttribute connected as for loop remove also edges in one element of undo stack 2024-09-02 17:08:03 +02:00
Fabien Castan
a9b22b0aaa [ui] GraphEditor: fix tooltip camel case 2024-09-02 17:08:03 +02:00
Fabien Castan
62ea6924f6 [ui] GraphEditor: simplify foreach loop menu 2024-09-02 17:08:03 +02:00
Fabien Castan
f84654b2ae [ui] Graph.canExpandForLoop: fix corner case 2024-09-02 17:08:03 +02:00
Fabien Castan
2456350dc5 [ui] Graph: fix expand/collapse 2024-09-02 17:08:03 +02:00
Fabien Castan
31192bd1bd [ui] GraphEditor.Edge: Avoid binding loop 2024-09-02 17:08:03 +02:00
Fabien Castan
48d08b1f88 [ui] GraphEditor: improve alignments
Reduce usage of anchors (except centerIn/fill).
Display of Next/Previous for IntSelector.
2024-09-02 17:08:02 +02:00
Aurore LAFAURIE
ff86a5182e [GraphEditor] Close edge popup when action is triggered 2024-09-02 17:08:02 +02:00
Aurore LAFAURIE
c60c4d4d6c [ui] Collapse and Expand for loop are not allowed for Compatibility Nodes 2024-09-02 17:08:02 +02:00
Aurore LAFAURIE
aba045f4aa [ui] Display for loop size on edges 2024-09-02 17:08:02 +02:00
Aurore LAFAURIE
1f995c23d6 [ui] While expanding for loop, first reconnect to first element of list and then expand 2024-09-02 17:08:01 +02:00
Aurore LAFAURIE
019e137386 [ui/core] First version of For Loop implementation
If you connect a list to an attribute, you can iterate over the list as a for loop
2024-09-02 17:08:01 +02:00