Commit graph

58 commits

Author SHA1 Message Date
Loïc Vital
aca308dbf9 [ui] thumbnails: fallback if thumbnailDir could not be created 2023-06-15 01:43:32 -07:00
broods
731440eaa1 [ui] add new patterns to load images in viewer2D 2023-04-18 14:46:02 +02:00
Loïc Vital
68d11726f9 [ui] thumbnail cache: remove thumbnail if input image changed 2023-02-15 11:25:16 +01:00
mugulmd
c758bf043b [ui] thumbnail cache: use thread pool to manage thread lifetime automatically 2023-02-09 01:50:38 -08:00
mugulmd
9b0be36278 [ui] improve thumbnails quality 2023-01-26 05:10:35 -08:00
mugulmd
c48233141a [ui] ThumbnailCache: asynchronous cache cleaning 2023-01-23 06:29:15 -08:00
mugulmd
dd235dcbf1 [ui] clear thumbnail requests when changing viewpoints 2023-01-17 07:11:32 -08:00
mugulmd
3f96778f2a [ui] ThumbnailCache: check if thumbnail has been created by another thread 2023-01-17 03:09:39 -08:00
mugulmd
374b9abb77 [ui] ThumbnailCache: replace thread pool with custom thread spawning
This is so we can control in which order the requests are handled, as we want LIFO ordering instead of FIFO for smoother interaction.
2023-01-17 02:53:03 -08:00
mugulmd
7e371edc61 [ui] ThumbnailCache: resolve default cache dir in initialize method 2023-01-16 06:45:59 -08:00
mugulmd
80174e22af [ui] ImageGallery: faster thumbnail dispatch using caller ID 2023-01-16 06:21:48 -08:00
mugulmd
8551135514 [ui] ThumbnailCache: catch FileNotFoundError when removing thumbnails 2023-01-16 04:57:56 -08:00
mugulmd
7abbf1bbf3 [ui] ThumbnailCache: reduce number of system calls 2023-01-16 03:43:26 -08:00
mugulmd
dfb120c6d7 [ui] ThumbnailCache: limit number of worker threads to 3 2023-01-16 02:57:13 -08:00
mugulmd
268f608344 [ui] ThumbnailCache: use QStandardPath for default cache dir 2023-01-16 02:52:01 -08: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
Loïc Vital
b372946516 [ui] ThumbnailCache: check cache dir existence before cleaning 2023-01-06 12:47:02 +01:00
mugulmd
bfdcfb52cc [ui] ThumbnailCache: use logging instead of print 2023-01-06 02:17:18 -08: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
78e25709c0
Merge pull request #1707 from alicevision/dev/manipulatorPanorama
Manipulator for panorama viewer
2022-11-03 00:52:16 +00:00
fabien servant
603b9df7c4 [ui] PanoramaViewer: change the way the user interact with the panorama widget 2022-11-03 01:40:42 +01:00
Fabien Castan
d0331d3d2e [ui] convert to CG coordinate system: some renaming and comments 2022-11-03 01:01:31 +01:00
fabien servant
5a05628a14 [mesh] update bounding box display to use the correct geometric frame 2022-11-03 01:01:30 +01:00
Candice Bentéjac
08d502f4a6 Clear clipboard's content when exiting
Workaround for a bug in QClipboard that occurs when the clipboard
has been used within the app and its content exceeds a certain size
on X11/XCB.
This issue will hold up the app when exiting and is present in Qt5
versions.

With this workaround, the content of the clipboard will be lost when
exiting, but the app will exit normally.
2022-08-19 15:24:30 +02:00
Candice Bentéjac
ddda62a652 Add node to graph with Ctrl+V if valid node content is in the clipboard
Attempt to paste the clipboard's content in the graph when Ctrl+V is
pressed. If the clipboard contains a valid node description, add the
corresponding node to the graph.
Otherwise, do nothing.
2022-08-19 12:00:16 +02:00
Fabien Castan
2f77a236b3 [ui] Viewer3D: do not load too large EXR files in 3D to avoid crashes in qt 2020-09-14 21:50:43 +02:00
Fabien Castan
cfd03016b2
[ui] CRF: minor core cleanup 2020-08-24 18:36:47 +02:00
Fabien Castan
b295242576 [ui] Camera Response Function display: make it safer
More checks on file content and catch exception.
Check nbColumns using a slot instead of using the property.
Use a workaround on the CVS loader to avoid a crash (do not set active
to False).
2020-08-24 11:33:26 +02:00
Julien-Haudegond
f614e63a99 [doc] add a lot of developer's information 2020-08-13 14:24:44 +02:00
Julien-Haudegond
c979ed36c1 [ui] Components: fix typo in Scene3D 2020-08-13 14:24:44 +02:00
Julien-Haudegond
f746f0bf9e [ui] Viewer3D: TransformGizmo - better mouse control 2020-08-13 14:24:44 +02:00
Julien-Haudegond
d0a78d96ab [ui] Viewer3D: TransformGizmo - ready to be set with absolute values
- Now, we can set the transformation with a position vector, Euler angles and a scale vector.
2020-08-13 14:24:44 +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
baaccb0562 [ui] CsvData: fix data update 2020-08-12 13:40:10 +02:00
Fabien Castan
de93f795fb [ui] CsvData: declare Qt parent 2020-08-06 19:26:30 +02:00
Fabien Castan
b9cdd35241 [ui] CsvData: use signal/slot connection 2020-08-06 19:24:51 +02:00
Fabien Castan
b43d59f347 [ui] CSV: case insensitive extension check 2020-08-06 19:23:22 +02:00
Julien-Haudegond
385d1f7738 [ui] Components: fix documentation 2020-08-05 12:23:23 +02:00
Julien-Haudegond
e0c42fb42a [ui] Components: fix CsvData error 2020-08-05 11:16:45 +02:00
Julien-Haudegond
aa5e2b76b6 [ui] Components: add a CSV Data container 2020-08-04 17:27:13 +02:00
Fabien Castan
dbcfce7c90
[ui] WorkspaceView: open images in the 2D Viewer from the Graph/NodeEditor
Double click on a node or an attribute with an image file to display it
in the 2D viewer.
2019-12-12 18:50:18 +01:00
Yann Lanthony
cee8d1b612
[ui] Viewer3D: add support for vertex-colored meshes
Use PerVertexColorMaterial if any vertex color data is available on a mesh without textures.
2019-07-10 16:35:44 +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
Yann Lanthony
6d07323580
[ui] compatibility fixes for PySide2 5.12.x 2019-05-07 10:39:20 +02:00
Yann Lanthony
b2e1743a6f [ui] Viewer3D: move TrackballController code to Python side
Port JS trackball camera controller code to Python for improved performance and stability.
2018-12-11 16:54:26 +01:00