Commit graph

72 commits

Author SHA1 Message Date
waaake
7883b51c20 [ui] Added selectionLine and delegate variant to allow drawing an edge
The drawn edge is checked for intersection with individual node edges and any edge found interesecting is emitted when the selection ends
2025-03-18 17:47:34 +01:00
Yann Lanthony
ccc77c3153 [ui] FilterComboBox: rework filtering behavior
Reverse relationship between combobox and filter field.
- Make textfield filter the main active focus item
that forwards its key event to the combobox.
- Make sure highlighted item is always valid.
- Block combobox validation when the filter is invalid.
2025-02-13 18:42:58 +01:00
Yann Lanthony
583088035b [ui] FilterComboBox: fix issue clicking on last menu item
Disable the horizontal scrollbar in the popup menu that was
interfering with mouse click selection on the last item.
Also, remove the unneeded Layout policy on the root ColumLayout
of this popup's contentItem.
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
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
waaake
f78ee9bb67 [ui] SearchBar: Search bar can now be toggled to become visible with the search button.
SearchBar gets the clear text feature allowing text to be cleared with a single click.

Added accepted signal for the Searchbar with Return and Enter key Press
2024-11-30 19:53:46 +05:30
Yann Lanthony
e800cd4e31
Merge pull request #2604 from alicevision/dev/NodeColoring
[ui] Graph Editor Update: Quick Node Coloring with the Color Selector Tool
2024-11-29 11:16:25 +01:00
waaake
418bd638ad [ui] ColorSelector: Update the color palette with darker shades
Current meshroom nodes have the FG text in gray and the background color needs to constrast well else the text becomes unreadable
2024-11-27 18:59:55 +05:30
Candice Bentéjac
fdcf35c3fc [Controls] ExpandableGroup: Fix MouseArea on the header of groups 2024-11-25 16:19:29 +01:00
waaake
d77b7a398a [ui] Coloring a Node: Added ColorSelector to the Graph Editor
The color selector in the Graph Editor provides a quick way to color nodes with predefined palette of colors.

Added Command to allow the Coloring to be undone and redone using QUndoStack
2024-11-25 09:22:14 +05:30
Grégoire De Lillo
9b48531cb7 [ui] Controls: Add DirectionalLightPane component 2024-11-14 10:49:56 +00:00
Candice Bentéjac
5a0b1c0c95 [qt6][qml] Clean-up code and harmonize comments 2024-11-07 18:15:37 +01:00
Candice Bentéjac
b12d1fed06 [qt6][qml] Remove unnecessary module imports 2024-11-07 18:13:36 +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
Fabien Castan
b79d8fc098 [ui] SplitView: avoid transparency in handle 2024-09-20 22:26:22 +02:00
Fabien Castan
0037cf5567 [ui] SplitView handle: display update 2024-09-20 09:14:41 +02:00
Fabien Castan
2852a4cf19 [ui] Custom SplitView to have a larger handle 2024-09-19 20:39:43 +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
Fabien Castan
48d08b1f88 [ui] GraphEditor: improve alignments
Reduce usage of anchors (except centerIn/fill).
Display of Next/Previous for IntSelector.
2024-09-02 17:08:02 +02:00
Aurore LAFAURIE
019e137386 [ui/core] First version of For Loop implementation
If you connect a list to an attribute, you can iterate over the list as a for loop
2024-09-02 17:08:01 +02:00
Aurore LAFAURIE
5b92df328f Implementation of Homepage 2024-08-26 16:21:26 +02:00
Candice Bentéjac
7abbb50302 [Utils] fixing rounding issues in time display
Prevent getting strings like "5m60s" when rounding up.
2024-06-16 23:34:50 +02:00
Aurore LAFAURIE
b0f9427757 [ui] Scroll available in FliterComboBox 2024-04-18 15:09:01 +02:00
Aurore LAFAURIE
eaa021dbaa [ui] Placement of ComboBox according to space available 2024-04-09 14:46:24 +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
Candice Bentéjac
4f4e31a249 [Controls] Add a custom ExpandableGroup object
The `ExpandableGroup` is based on QML's `GroupBox`. It is very similar
to the `Group` object, with the difference that it can be hidden/expanded
by clicking on the group's title/label.
2023-11-07 16:45:01 +01:00
Candice Bentéjac
2908aa94a3 [Controls] Clean-up: Harmonize syntax across all files 2023-11-06 16:28:22 +01:00
Candice Bentéjac
caa5a1e3eb [qml] Qt5.15: Une new syntax for all the "onLinkActivated" slots 2023-07-04 12:04:17 +02:00
Candice Bentéjac
9b5dd40b02 [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
mugulmd
7e4b1a77ac [ui] factorize exif orientation transform in utility functions 2023-02-06 08:16:42 -08:00
mugulmd
17093279f5 [ui] fix scaling for Exif orientation tags 5 to 8 2023-01-04 00:18:11 -08:00
mugulmd
116d6467f1 [ui] new ExifOrientedViewer component to factorize orientation code 2022-12-29 05:46:38 -08: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
24f31213cd [ui] use grey-green-yellow-red for duration color scale 2022-10-11 11:46:32 +02:00
Loïc Vital
6250190519 [ui] default value for undefined log-line to remove qml warnings 2022-10-04 11:06:04 +02:00
Loïc Vital
3e2478bd24 [ui] show tooltip when hovering over line number or color bar 2022-10-04 10:54:00 +02:00
Loïc Vital
f4b8cb080d [ui] interpolated color scale from grey to red 2022-10-03 17:55:28 +02:00
Loïc Vital
5b973cb349 [ui] using coherent format for elapsed time 2022-10-03 16:26:57 +02:00
Loïc Vital
c2f8c0f97a [ui] color bar fills line heigt 2022-10-03 16:11:08 +02:00
Loïc Vital
d4bdbeef12 [ui] some comments 2022-09-30 12:24:02 +02:00
Loïc Vital
627664e167 [ui] add tooltip on lineNumber Labels to show elapsed time 2022-09-30 11:59:40 +02:00
Loïc Vital
e7c84b9483 [ui] use ListModel for storing log-line and duration to avoid evaluation order issues 2022-09-30 11:06:41 +02:00
Loïc Vital
7b286ff901 [ui] parse log lines to find duration when possible and color line number accordingly 2022-09-27 18:21:18 +02:00
luz paz
f4dcf6557f Fix various typos in the source code
## Description
Fix various typos in the source code. This includes user facing code, documentation, and source comments. This PR has not been tested.
Closes #1605
2022-01-22 07:39:05 -05:00
ChemicalXandco
3d33134ca9 [ui] add support for node categories 2021-02-14 16:12:39 +00:00
Fabien Castan
831443c29d [ui] NodeEditor: refactor ChunksList and add global stats 2021-01-22 11:38:53 +01:00
Fabien Castan
bab908d2eb Merge branch 'develop' into dev/nodesAndTaskManager 2020-07-30 10:56:19 +02:00
Theo
ed0bea22dd [ui] Panel: add entry for loading information 2020-05-14 13:55:27 +02:00