Yann Lanthony
634197583c
[ui] AttributeEditor: Generic TextField param editor improvements
...
* Use disabled text color when attribute is readonly.
* Improved UX: text cursor on mouse hovering.
* Simplify context menu handling.
2025-02-26 15:24:21 +01:00
Yann Lanthony
212384bd1c
[ui] GraphEditor: redesign non exclusive ChoiceParam control
...
* Move the control to its own file.
* Add support for displaying custom values (elements outside the predefined possible values).
2025-02-13 11:40:09 +01:00
Yann Lanthony
ba272eddc7
[ui] GraphEditor: Move ChoiceParam control to its own file
...
Start modularization of attribute controls for better readability
and maintenance.
Make Choice control independent from the MeshroomUI API.
2025-02-13 11:40:09 +01:00
Yann Lanthony
cfc2979653
[ui] Redesign exclusive ChoiceParam UI component
...
Simplify the FilterComboBox to rely on the default behavior
provided by the ComboBox control.
Improve the filtering system and the ability to set a custom value.
Turn to a more declarative approach with regard to handling
value update and its mapping to the combobox's current index.
2025-02-13 11:40:09 +01:00
Candice Bentéjac
cb301b2aaa
[GraphEditor] Fix injections into signal handlers with JS functions
2024-12-26 15:44:11 +01:00
Candice Bentéjac
e565458131
[GraphEditor] AttributeItemDelegate: Use MaterialLabel for uncomputed components
2024-12-11 14:59:35 +01:00
Candice Bentéjac
5a0b1c0c95
[qt6][qml] Clean-up code and harmonize comments
2024-11-07 18:15:37 +01:00
Candice Bentéjac
9867773953
[qt6][GraphEditor] Check for object's existence before accessing it
2024-11-07 18:13:20 +01:00
Candice Bentéjac
d5b5163828
[qt6] Remove shaders from Meshroom and move them to QtAliceVision
2024-11-07 18:09:05 +01:00
Candice Bentéjac
a62bed08eb
[qt6][GraphEditor] Fix ColorDialog
selection
2024-11-07 18:09:03 +01:00
Candice Bentéjac
b9ec8fe3b7
[qt6][GraphEditor] Rename identifiers for attribute items
2024-11-07 18:09:03 +01:00
Candice Bentéjac
0e71f2a520
[qt6] Update versions for all the imported modules
...
Qt3D.Extras cannot be updated to 2.6 yet, otherwise there are errors.
2024-11-07 18:09:01 +01:00
Candice Bentéjac
6d845376eb
[qt6] Use JS functions format to declare explicit parameters in slots
...
This fixes all the "Injection of parameters into signal handlers
is deprecated. Use JavaScript functions with formal parameters instead."
warnings.
2024-11-07 18:08:59 +01:00
Candice Bentéjac
02be73df65
[qt6] Remove properties that do not exist anymore in Qt6.6
2024-11-07 18:08:55 +01:00
Candice Bentéjac
96a70c04ff
[qt6] Remove imports of QML modules that do not exist anymore with Qt6.6
2024-11-07 18:08:55 +01:00
Candice Bentéjac
ccd5f369e4
Merge pull request #2532 from alicevision/fix/descriptionAttributeTooltip
...
[AttributeItemDelegate] Position the attribute description tooltip
2024-09-16 15:15:37 +02:00
Aurore LAFAURIE
fbfe83e371
[AttributeItemDelegate] Type of attribute in tooltip doesn't need to be bold
2024-09-13 16:42:07 +02:00
Aurore LAFAURIE
2186a61fd8
[AttributeItemDelegate] Position the attribute description tooltip under the mouse position to be sure it doesn't slide on the screen
2024-09-12 15:21:13 +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
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
de5ca552f7
[AttributePin] Add tooltip to display type of attribute
2024-09-11 11:34:40 +02:00
Candice Bentéjac
39c51df065
[GraphEditor] Base ChoiceParam
model on attribute instead of description
2024-08-09 14:47:28 +02:00
Candice Bentéjac
45e6f43c40
[GraphEditor] AttributeItemDelegate: Return valid component for PushButton
...
The value of a `PushButtonParam` being always `None`, it is necessary
to check that the type of the component is not `PushButtonParam` before
comparing its value to `undefined`. Otherwise, any `PushButtonParam`
will always be represented by a "notComputed" component.
2024-07-29 17:48:38 +02:00
Candice Bentéjac
bd74ee2829
[ui] do not display the value if it is not valid, not computed dynamic output attributes
2024-07-19 10:53:47 +02:00
Aurore LAFAURIE
12c3a1f8b9
[ui] Large Multiline Component added
2024-06-14 23:48:24 +02:00
Fabien Castan
d5d2ee3095
Merge pull request #2366 from alicevision/dev/copyPasteAttributeEditor
...
[ui] Right click on text element in AttributeEditor open Copy/Paste menu
2024-05-25 14:28:21 +02:00
Fabien Castan
00acdb5a88
[ui] GraphEditor: Add Copy/Paste on the attribute label too
2024-05-25 14:04:03 +02:00
Fabien Castan
02ab2ef931
[ui] GraphEditor: attribute now loses focus when Enter or Escape is pressed
2024-05-25 14:03:26 +02:00
Fabien Castan
49c0d0feea
[ui] GraphEditor: manage selection for text copy/paste
2024-05-25 14:00:41 +02:00
Aurore LAFAURIE
dd7e19dd2c
[ui] Selection of text for copy of text attribute fixed
...
If there is no text selected, then it copies all the attribute, otherwise it copies only the selected text.
2024-05-23 16:55:29 +02:00
Fabien Castan
de1938e55c
Merge pull request #2384 from alicevision/dev/internalAttributeColorPickerDisabled
...
[GraphEditor] Internal Custom Color Picker disabled when node is locked
2024-05-20 21:56:47 +02:00
Aurore LAFAURIE
55c657dc1d
[core/ui] Modifiable label and description of node available
2024-04-25 17:03:33 +02:00
Aurore LAFAURIE
1cdcc6dd78
[GraphEditor] Internal Custom Color Picker disabled when node is locked
2024-04-24 18:11:57 +02:00
Aurore LAFAURIE
e3e25e677e
[ui] Right click on text element in AttributeEditor open Copy/Paste menu
2024-04-24 16:02:26 +02:00
Aurore LAFAURIE
c5f440b8a8
[ui] Add PushButton component to AttributeItemDelegate
2024-04-24 15:29:45 +02:00
Aurore LAFAURIE
0a770f474f
[ui] Disabled behavior applied to all types of parameters and attributes
...
Disabled behavior applied to all types of parameters and attributes
2024-04-19 17:16:21 +02:00
Aurore LAFAURIE
8d0dc4d62e
[ui] Usage of Colors palette
...
Use of Colors palette instead of Qt palette because doesn't work by now
for disabled elements (until Qt6).
2024-04-19 17:16:21 +02:00
Aurore LAFAURIE
1b55dc8649
[ui] Attribute becomes grey in graph editor and attribute editor when connected but disabled
...
If attribute is disabled but has output connections, it becomes grey.
If the connection is removed while being disabled, it hides itself.
Both is working in GraphEditor on the nodes and in the AttributeEditor.
2024-04-19 17:16:20 +02:00
Aurore LAFAURIE
27aceb33e1
[ui] fix : invalide value when reopening AttributeEditor
2024-04-09 14:46:25 +02:00
Candice Bentéjac
3f3f2e647d
[GraphEditor] Use attribute.values
for the model
...
Following the modifications that introduce the dynamic choices, we use
the list of attributes instead of the description of the attributes.
2024-04-09 14:46:25 +02:00
Aurore LAFAURIE
9007dbdbfd
[ui] Validate value even if not in values of ComboBox, Arrow Keys Navigation and Case insensitive
2024-04-08 17:46:57 +02:00
Aurore LAFAURIE
57a02fc50c
Filter text reset when attribute reset
2024-04-08 17:46:56 +02:00
Aurore LAFAURIE
c439c5a06e
Add FilterComboBox.qml and update AttributeItemDelegate.qml
2024-04-08 17:46:31 +02:00
Aurore LAFAURIE
498fd6cbd2
[core] Add new type of ChoiceParam that changes dynamically according to other values
...
Add new type of ChoiceParam that changes dynamically according to other
values.
When value of an attribute is changed onAttributeChanged is called,
allowing to have unique reaction within node files.
Also add of callDesc function to be able to have other functions such as
onNodeCreated at creation of node.
2024-03-28 12:06:40 +01:00
Candice Bentéjac
e9d80611c7
[GraphEditor] Clean-up: Harmonize syntax across all files
2023-11-06 16:28:22 +01:00
Candice Bentéjac
b916a923e1
[GraphEditor] AttributeItemDelegate: Fix binding loop warning
2023-11-06 16:28:20 +01:00
Abdelrahman AL MAROUK
b5093ac3a0
[ui] improve atts filtering and add search bar ...
...
...for node attributes and 3D inspector
- add search bar for node attributes
- add search bar for 3D inspector
- improve attributes filtering by adding more flexibility
and fixing some issues
2023-08-30 16:21:11 +02:00
Loïc Vital
363115b201
[ui] AttributeItemDelegate: remove redundant error icon
2023-08-21 16:46:38 +02:00
Candice Bentéjac
1e14b2c5a0
[ui] GraphEditor: Flag an attribute's label when its value is invalid
...
If an attribute's `validValue` is false, and it has a non-empty
`errorMessage`, the following will happen:
- An icon indicating an error will be added next to the attribute's name;
- The color of the label's background will change to red to clearly
indicate that something is wrong with the current value;
- The error message that has been set for this attribute will be displayed
in its tooltip, before its regular description.
2023-08-21 16:30:11 +02:00
Candice Bentéjac
091346cbb8
[qml] Optimize QML files and fix syntax warnings
...
This commit addresses warnings that were raised by QtCreator's linter:
- IDs declared more than once
- variables declared more than once in the same scope
- type coercions
- variables declared as "var" when their type is known
- unclosed "case" in switch-case
2023-07-04 12:04:14 +02:00