Commit graph

59 commits

Author SHA1 Message Date
Vincent Demoulin
a6be4e4938 Create Init functions for nodes, submitters and pipelines 2024-07-05 15:46:58 +02:00
Candice Bentéjac
73a2a241e7 [ui] Expose ScriptEditor Python component to the QML side 2024-07-02 15:55:25 +02:00
Candice Bentéjac
5bcbc84f2a [ui] Add an activeProject property and expose the UI to the core 2024-06-27 15:46:48 +02:00
Fabien Castan
d62f499db9 [ui] minor: augment the numer of recent project files 2024-06-15 17:41:45 +02:00
Aurore LAFAURIE
104e1ae31d [ui] Project, import and import recursive in meshroom command now absolute paths
Prevent from having some files gone
2024-05-27 11:27:30 +02:00
Candice Bentéjac
2b8500666c Rename jobs with "[Meshroom] Job Title" instead of "Job Title [Meshroom]" 2024-03-26 10:08:54 +01:00
Fabien Castan
3a36cb7d86 [core] option to change verbose level from env variable
This allows to change the verbose level from the early import step to
enable verbosity on init code.
2023-03-27 13:57:54 +02:00
Fabien Castan
5943c68a93 [release] Release version 2023.1.0 and update version label/status
Add new version status: release/develop
Update version label in develop status with explicit branch and
packaging versions labels
2023-03-27 13:57:53 +02:00
Candice Bentéjac
91bdddfaf8 [ui] Add Meshroom's changelog model
The changelog is added as a model. Although it is meant to be displayed
with the licenses for Meshroom and AliceVision, the changelog model is
provided apart from the licenses' and then concatenated with it so they
are displayed together.
2023-03-24 16:23:13 +01:00
Fabien Castan
334bfc8b00
Merge pull request #1861 from alicevision/mug/thumbnailCache
[ui] Thumbnail cache
2023-02-09 11:08:09 +00:00
Fabien Castan
40b182efc5
Merge pull request #1864 from alicevision/dev/saveImportImagesFolder
[ui] Use the location of the most recently imported images as the base folder for the "Import Images" dialog
2023-01-22 18:07:56 +00:00
Fabien Castan
922ee7b652 [ui] app: temporary workaround for qInstallMessageHandler 2023-01-20 08:37:31 +01:00
Candice Bentéjac
3d0bc9eff3 [ui] Remove unused variables related to QSettings 2023-01-16 16:29:41 +01:00
Candice Bentéjac
1b5e33c9ef [ui] Save the last folders of imported images across sessions
Save up to 3 folder locations from which images have been imported.
These folder locations will be saved across Meshroom sessions, in
a similar fashion as the "Recent Files" entries.
If no folder location has been saved (or if all saved folder locations
are invalid), we fall back to the default behaviour: if a project with
images has been opened before the "Import Images" action is called, then
the base folder will be the folder containing the opened project's
images.
2023-01-16 15:10:28 +01:00
Candice Bentéjac
abd9582aa7 [ui] Fix comment in "addRecentProjectFile" slot 2023-01-16 15:10:27 +01:00
mugulmd
60c8e779d5 [ui] create thumbnails asynchronously 2023-01-09 05:52:16 -08:00
Loïc Vital
220bcfb9e2 [ui] maximum number of thumbnails on disk 2023-01-06 15:24:50 +01:00
Loïc Vital
a96d886923 [ui] override default time limit for thumbnails on disk with env var 2023-01-06 14:27:37 +01:00
mugulmd
7566544164 [ui] remove old thumbnails from disk cache when launching app 2023-01-06 02:10:34 -08:00
mugulmd
1819eacbdb [ui] override default thumbnail directory with environment variable 2023-01-05 08:59:26 -08:00
mugulmd
ff6358ea07 [ui] new Thumbnail disk cache 2023-01-05 07:01:54 -08:00
Candice Bentéjac
635f85e7fd Remove all references to pyCompatibility
- "pyCompatibility.basestring" are replaced by standard Python3 "str"
- "Sequence" and "Iterable" from "collections" are now directly imported
with "collections.abc"
2022-12-05 17:16:21 +01:00
Fabien Castan
ffca9c68e3
Merge pull request #1824 from alicevision/dev/submitterJobTitles
[submitters] Add an option to update the job title on submitters
2022-12-05 16:22:33 +01:00
Candice Bentéjac
eac43c84c3 [submitters] Add an option to update the job title on submitters 2022-12-05 15:23:10 +01:00
Candice Bentéjac
2e5f471b7b [ui] Add a "pipelineTemplateNames" property
This property simplifies and optimizes the addition of templates in
the node menu and their import into the graph, as it prevents us from
looping over the entire "pipelineTemplateFiles" dictionary to retrieve
the information we need.
2022-12-02 18:13:49 +01:00
Candice Bentéjac
ff4620dc2f [ui] Viewer2D: Enable HDR viewer by default if it is available
If the HDR viewer is unavailable, load the classic 8bit image viewer,
but do not allow the user to switch to it anymore if the HDR viewer
is available unless a specific environment variable has been provided.
2022-10-10 18:22:46 +02:00
Fabien Castan
22b662007b
Merge pull request #1754 from alicevision/dev/minModeTemplates
Add dedicated "minimal" mode for templates
2022-09-06 10:41:01 +02:00
Candice Bentéjac
ac4cb11c3d [ui] Reload the list of templates after "Save As Template" 2022-09-06 09:43:29 +02:00
Povilas Kanapickas
9365a37bde [ui] Reduce confusion when qml loading fails
Currently we disable all logging out of qml by default. This is
problematic in case qml loading fails for any reason (e.g. missing
dependencies) as the user will be presented with a message that is not
actionable: "QQmlApplicationEngine failed to load component". There is
no way to understand what's happening unless the user knows about
MESHROOM_OUTPUT_QML_WARNINGS.

This is improved by checking for presence of "QQmlApplicationEngine
failed to load component" and warning if qml logging is disabled in that
case.
2022-08-25 18:47:16 +03:00
Fabien Castan
25cb8f80d8
Merge branch 'develop' into fix-pyside2-decorator-bug 2022-07-28 10:31:01 +02:00
Candice Bentéjac
578c1f01c0 [ui] Generate the "New Pipeline" menu based on the found project files
The "New Pipeline" menu is automatically filled with the list
of the project files that were found dynamically. Pipelines can thus
be initialized with templates without restarting Meshroom app.
2022-07-13 18:20:34 +02:00
Candice Bentéjac
8fb0c778d1 Add support for external pipelines using project files
- Support loading external pipelines as templates with project files
- Add template files for some standard pipelines
- Remove the hard-coded generation of new pipelines
- Update multiviewPipeline test: the multiviewPipeline test relied on the hard-coded generation of
pipelines.
2022-07-12 14:56:24 +02:00
Povilas Kanapickas
e725f599c5 [ui] Work around PySide2 bug affecting property decorators
PySide 5.15.1 and newer have a bug
(https://bugreports.qt.io/browse/PYSIDE-1426) which results in the
following error emitted on certain @Property decorators:

TypeError: A constant property cannot have a WRITE method or a NOTIFY
signal.

Until the bug is fixed on PySide2 side workaround is to not use Property
as a decorator, but as a simple function wrapper emitting the property
as a class member.

Fixes #1239.
2022-07-08 01:00:43 +03:00
ChemicalXandco
3d33134ca9 [ui] add support for node categories 2021-02-14 16:12:39 +00:00
Fabien Castan
1102ce84e0 Merge branch 'develop' of github.com:alicevision/meshroom into dev/nodesAndTaskManager
Conflicts:
	meshroom/core/graph.py
	meshroom/ui/qml/main.qml
2020-12-01 20:02:43 +01:00
Fabien Castan
589856ecdc Rename hdri into panoramaHdr 2020-09-05 01:16:51 +02:00
Julien-Haudegond
e0389ad957 [ui] move UndoStack and TaskManager instantiations into app.py 2020-08-31 17:43:17 +02:00
Julien-Haudegond
da765a5f98 [ui] Viewer3D: TransformGizmo - moving transform operations to Python
- Moving transform operations from QML to Python to get access to more Qt functionalities and to make a better separation of logic/display.
2020-08-13 14:24:44 +02:00
Fabien Castan
0e434908a5 [ui] improve open recent files
* fix path conversion on windows
* remove invalid paths from the list on error
* explicit error message for "No Such File"
2020-03-17 14:07:00 +01:00
Fabien Castan
d001cc9e73 [ui] add Open Recent Project 2020-03-10 12:50:31 +01:00
Fabien Castan
b244e2e92b [ui] add verbose option 2020-01-17 12:28:44 +01:00
Fabien Castan
a0d6d23191 [ui] add option to save the new project file from the command line 2020-01-15 20:12:53 +01:00
Fabien Castan
be0fb571f9 [ui] set AA_EnableHighDpiScaling earlier to fix qt warnings 2019-12-18 19:03:53 +01:00
Fabien Castan
07f564d6e0 [bin] meshroom: option to choose HDRI pipeline 2019-11-04 00:30:22 +01:00
Fabien Castan
ce6dcbae4d [ui] simplify meshroom command line rules 2019-09-25 21:12:46 +02:00
Fabien Castan
fa7b4587ca [ui] meshroom: improve import command line arguments
-  explicit error messages
-  allow to combine multiple inputs with new --import and --importRecursive options
2019-09-21 18:04:26 +02:00
Fabien Castan
231125efdf [ui] improve meshroom command line
- "meshroom -h / --help": now provides command line documentation (so
argparse is done before GUI creation)
- new positional argument to set project file or input folder
- new "--pipeline" option to set a default pipeline, also support an
environment variable
2019-09-12 21:14:52 +02:00
Yann Lanthony
a85b4660ce
[packaging] dissociate meshroom.__version__ / __version_name__
Introduce meshroom.__version_name__ variable in order not to modify meshroom.__version__ and use this as displayed application version. 
meshroom.__version__ is stored in scene files and used when making a package and should not contain anything other than major.minor.micro information.
2019-06-17 12:46:26 +02:00
Yann Lanthony
e40b0e57b8
[ui] ChunksMonitor: asynchronous status files modification time polling
* make last modification time check on status asynchronous using a dedicated thread + use a ThreadPool to run tasks in parallel
* avoid UI freeze when checking for status updates + increase performances
2019-05-07 12:32:38 +02:00
Yann Lanthony
438622a14b
[ui] Introduce ClipboardHelper for copying to clipboard from QML
* add ClipboardHelper class that contains a QClipboard and exposes its method as Slots
* use Clipboard instead of hidden TextEdit where meaningful
2019-05-07 11:47:09 +02:00