Commit graph

83 commits

Author SHA1 Message Date
waaake
3a0d167bce [ui][fix] Edge: Updated Overridden geometryChanged -> geometryChange
With Qt6 the geometryChanged method was updated to be called as geometryChange and with that update QQuickItem was not getting internal updateShape to get invoked upon updates
2025-01-23 10:41:52 +05:30
waaake
9fa772442d [ui] ScriptEditorManager: Added properties to get if we have history of scripts
hasPreviousScript and hasNextScript are getters for history if that is available
2025-01-10 07:43:04 +01:00
waaake
07309361ad [ui] Qt6 Compatibility for ScriptEditor: Updated QRegexp -> QRegularExpression 2025-01-07 09:32:13 +05:30
waaake
2e577274e6 [ui] ScriptEditor: Added syntax colorization for the script editor
Python syntax within the script editor is now highlighted making it easier to understand and write smaller code in it.
2025-01-07 09:32:12 +05:30
waaake
8984aac20e [ui] ScriptEditor: Updated Core ScriptEditor Manager to show better exceptions
ScriptEditorManager now also allows the code to be saved and retrieved back. Exceptions are now shown with a better output to the user.
2025-01-07 09:25:12 +05:30
waaake
9b96cfcc99 [helper] Filepath: Added accessibility helper method
Accessibility method helps identify whether a given save path directory is accessible for the user to write to.
2024-12-23 09:01:56 +05:30
Yann Lanthony
6d2e9a2ba9 [ui] Utils: add SelectionBox and DelegateSelectionBox
- SelectionBox: generic Selection box component.
- DelegateSelectionBox: specialized SelectionBox to select model delegates
  from an instantiator (Repeater, ListView).

Also Introduce a Geom2D helper class to provide missing features for
intersection testing in QML.
2024-12-06 10:12:11 +01:00
Grégoire De Lillo
9df260ac6c [ui] scene3D: Add getRotatedCameraViewVector function 2024-11-14 10:49:56 +00:00
Candice Bentéjac
4933911f0b [components] Edge: Remove use of deprecated functions
QMouseEvent::x() and QMouseEvent::y() have been marked as deprecated and
should be replaced with QMouseEvent::position().x() and
QMouseEvent::position().y().
2024-11-07 18:13:32 +01:00
Candice Bentéjac
2a7844480b [qt6][components] Update Scene3DHelper and TrackballController
Call the `QGeometry` objects from the correct module, and initialize
correctly the Camera object upon the construction of the
TrackballController object.
2024-11-07 18:09:08 +01:00
Candice Bentéjac
579371fd7c [qt6] Replace all PySide2/shiboken2 imports by PySide6/shiboken6 2024-11-07 18:08:54 +01:00
Aurore LAFAURIE
52c6bb7c46 [ui] Asynchronous load of thumbnails for Homepage 2024-08-29 18:39:33 +02:00
Aurore LAFAURIE
f326d45024 [ui] Better handling of thumbnails for Homepage
We need to check and create the thumbnail if it does not exist.
2024-08-26 16:21:27 +02:00
Fabien Castan
e366dc9308 [ui] components: fix issues for a seq containing a single file
pyseq returns a sequence for a single file, but without extracting the
number as a frame number, so the pyseq formatting does not work.
2024-08-19 19:42:31 +02:00
Fabien Castan
15c1ce16b5 [ui] Improve sequence display
- allows multiple "*" in the files search expression
- fix a bug if we only provide a folder
- keep the current frame if the frame range has not changed
2024-08-16 17:22:21 +02:00
Candice Bentéjac
45c9c1796c [components] ScriptEditor: Fix reset of the history index 2024-07-03 11:39:28 +02:00
Candice Bentéjac
ff63860424 [components] Add a basic component for a Python script editor 2024-07-01 18:22:16 +02:00
Aurore LAFAURIE
cc2099534b [ui] Use of pyseq for getting sequences
[ui] To squash
2024-06-20 11:54:30 +02:00
Aurore LAFAURIE
1168ccaacb [ui] Resolve Sequence and ImageList on Python side 2024-06-20 11:54:30 +02:00
Aurore LAFAURIE
4590868317 [ui] Support for imageList and sequence in SequencePlayer 2024-06-20 11:54:30 +02:00
Aurore LAFAURIE
b0063b0dde [ui] Load image sequence from node output in SequencePlayer 2024-06-20 11:54:29 +02:00
Fabien Castan
e96960913d [ui] filepath: retrieve the Viewpoint param value only once 2024-06-15 18:05:24 +02:00
Aurore LAFAURIE
82dbad1632 [ui] Add <EXTENSION> replacement 2024-06-03 15:36:55 +02:00
Aurore LAFAURIE
f6332efa7e [ui] uvCenterOffset set according to principal point corrected or not + undistorted image path resolve according to output value of node 2024-05-23 12:30:00 +02:00
Fabien Servant
a0dc87c19b Bug threadpool 2023-12-29 12:28:33 +01:00
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