Candice Bentéjac
02383c68b3
[ui] Check that objects accessed by QML properties are not null before accessing them
...
Some QML properties access exposed Python objects that may or may not
be null upon their access. When these objects are accessed while null,
QML issues "TypeError" warnings. These warnings have no functional
impact as QML correctly handles trying to access null objects, but can
spam the logs.
This commit aims at fixing all these warnings by checking that the
Python objects are not null before being accessed.
2022-12-06 11:04:50 +01:00
Loïc Vital
0429accd79
[ui] filter with viewIds only when displaying view ids
2022-11-18 10:35:17 +01:00
Loïc Vital
b829a2d9f4
[ui] tab to focus search bar + click on empty area to loose focus
2022-11-18 10:03:03 +01:00
Loïc Vital
e24310d1a1
[ui] more flexible filtering mechanism + filter with viewIds
2022-11-18 10:03:03 +01:00
Loïc Vital
047b6fb589
[ui] ImageGallery: search bar to filter with filename
2022-11-18 10:03:03 +01:00
Candice Bentéjac
a531caf6fd
[ui] ImageGallery: update the Viewer2D correctly when the GridView's item changes
...
This commit ensures that any change in the ImageGallery's GridView
selection is correctly reflected in the Viewer2D. In particular:
- When a new project file is opened, the first image in the gallery
is now displayed in the 2D viewer, after a correct auto-fit has been
applied
- When an image in the gallery is removed, the adjacent image that
becomes selected is automatically displayed in the 2D viewer
2022-11-17 12:22:51 +01:00
Loïc Vital
91cc786e14
[ui] coherent naming "Image Gallery" across app
2022-10-19 09:50:20 +01:00
Loïc Vital
4e19cf44b9
[ui] update selected view from grid when using keys
2022-10-19 09:50:10 +01:00
Candice Bentéjac
0fb487b098
[ui] ImageGallery: prevent intrinsics table from overlapping with the "Group" label
2022-09-05 09:33:30 +02:00
Candice Bentéjac
e395bc08e5
[ui] ImageGallery: start group index at 1 instead of 0
...
The first group will not be displayed as "Group 0 / X" anymore,
but rather as "Group 1 / X".
2022-09-02 19:14:15 +02:00
Candice Bentéjac
93a3ad8f16
[ui] Update intrinsics table when switching between groups
2022-08-08 11:58:12 +02:00
Fabien Castan
5829206ba8
[ui] ImageGallery: fix missing function changeCurrentIndex
2022-04-26 17:08:08 +02:00
fabien servant
655dad9959
[camerainit] update parameters to use focal in mm
2022-03-25 11:07:52 +01:00
Fabien Castan
5301104661
[ui] ImageGallery: call makeCurrentItemVisible only once
2021-09-13 10:17:40 +02:00
Fabien Castan
da1f23963a
[ui] ImageGallery: fix sort and filtering
...
Keep a valid index when changing the type of view
2021-09-01 19:06:34 +02:00
Fabien Castan
d3559bd51e
[ui] fix image selection in ImageGallery
2021-09-01 14:41:32 +02:00
Nils Landrodie
500dfd96b1
[ui] Change from i++ to ++i
2021-08-27 20:03:24 +02:00
Nils Landrodie
ee910b96c5
[ui] Change buttons default display before reconstruction
2021-08-23 18:44:40 +02:00
Landrodie
56d91bde1a
[ui] Change intrinsic structure and key getter for table view
2021-08-23 18:18:29 +02:00
Nils Landrodie
4fb719e204
[ui] Update tableview to stop flicking at bounds
...
Specify boundsMovement property to avoid overshooting with the flicks
2021-08-23 17:52:42 +02:00
Nils Landrodie
0876b9e3d5
[ui] Add vertical scrollbar for high number of intrinsics
2021-08-23 17:52:42 +02:00
Nils Landrodie
eecdcffbc6
[ui] Enable focus change when clicking outside of text inputs
2021-08-23 17:52:42 +02:00
Nils Landrodie
6bb5f84f19
[ui] Clean forgotten debug
2021-08-23 17:52:41 +02:00
Nils Landrodie
6f5b6590af
[ui] Adjust column width for serial number
2021-08-23 17:52:41 +02:00
Landrodie
7c0a9666ff
[ui] Clean code
2021-08-23 17:52:41 +02:00
Landrodie
b0254de16d
[ui] UI adjustements for intrinsic display
...
* Width of columns is now provided by a column width provider
* Text inputs now cover all the column width
* Text inputs now are right aligned for easier reading/comparing
2021-08-23 17:52:40 +02:00
Landrodie
7a8f78f5e1
[ui] Fix combo box height and placeholder display status
2021-08-17 15:58:14 +02:00
Landrodie
776cbe7884
[ui] Add combo box and check box for specific intrinsics
2021-08-17 15:58:14 +02:00
Landrodie
4cabfb794f
[ui] Add dynamic view update on intrinsic changed
...
* Only displayed when button checked
* View updated when adding or deleting intrinsics
2021-08-17 15:58:14 +02:00
Landrodie
c1939e4e0f
[ui] Add horizontal scrollbar to scroll across all intrinsics attributes
2021-08-17 15:58:14 +02:00
Landrodie
b0ee91dde2
[ui] Remove old display method files
...
Remove the files used when the display was made by a list view based on the attribute editor.
2021-08-17 15:58:14 +02:00
Landrodie
379be4ad28
[ui] Update intrinsic parsing and displayed values
2021-08-17 15:58:14 +02:00
Landrodie
0deb9b49cf
[wip] Update intrinsic parsing
2021-08-17 15:58:14 +02:00
Landrodie
88cd6fb85a
[wip] Add table view to display intrinsics infos
2021-08-17 15:58:14 +02:00
Landrodie
212d8178c0
[wip] Add function to build an object from intrinsics
2021-08-17 15:58:14 +02:00
Landrodie
a3c395fa6d
[ui] Avoid undefined warning for intrinsic count
2021-08-17 15:58:14 +02:00
Nils Landrodie
469f91c4f9
[ui] Fix scroll bar conflict
2021-08-17 15:58:14 +02:00
Nils Landrodie
fef50023ce
[ui] Update enabled and visible states for intrinsics display
2021-08-17 15:58:14 +02:00
Landrodie
83c9600005
[wip] Add intrinsic display inside image gallery
2021-08-17 15:58:14 +02:00
Landrodie
53b371dff9
[wip] Display as list view
2021-08-17 15:58:14 +02:00
Landrodie
70c9f8b7e5
[wip] Add display of intrinsics
2021-08-17 15:58:14 +02:00
Landrodie
32c6d89a05
[ui] Add some padding
2021-08-17 15:58:14 +02:00
Landrodie
817c5dda67
[ui] Add number of intrinsics to display
...
Add the number of instrinsics detected on the bottom bar of the image gallery.
2021-08-17 15:58:14 +02:00
Landrodie
f532ad760c
[ui] Add filters to Image Gallery
...
Add the possibility to filter the images inside the image gallery.
* Clickables buttons
* All images filter
* Reconstructed images filter
* Non reconstructed images filter
2021-08-17 15:58:14 +02:00
Fabien Castan
9476019996
[ui] ImageGallery: fix layout issues in footer
2020-10-15 18:42:24 +02:00
Julien-Haudegond
b79795a3c9
[ui] fix binding errors
2020-08-17 11:30:37 +02:00
Fabien Castan
cfbd5a3610
[ui] ImageGallery: fix display ldrToHdr
2020-07-25 18:25:01 +02:00
Fabien Castan
278e9a5fe9
[ui] ImageGallery: param name of LdrToHdr has been updated
2020-07-09 16:20:02 +02:00
Fabien Castan
ec67c772fa
[ui] new generic way to manage "active" nodes per node type
2020-07-07 22:05:53 +02:00
Fabien Castan
33a0cec3f2
[ui] ImageGallery: add a display flag on the center image
2020-06-30 22:10:45 +02:00