ayon-core/openpype/tools/utils
Jakub Trllo 0498a4016d
Loader tool: Refactor loader tool (for AYON) (#5729)
* initial commitof ayon loader

* tweaks in ayon utils

* implemented product type filtering

* products have icons and proper style

* fix refresh of products

* added enable grouping checkbox

* added icons and sorting of grouped items

* fix version delegate

* add splitter between context and product type filtering

* fix products filtering by name

* implemented 'filter_repre_contexts_by_loader'

* implemented base of action items

* implemented folder underline colors

* changed version items to dictionary

* use 'product_id' instead of 'subset_id'

* base implementation of info widget

* require less to trigger action

* set selection of version ids in controller

* added representation widget and related logic changes

* implemented actions in representations widget

* handle load error

* use versions for subset loader

* fix representations widget

* implemente "in scene" logic properly

* use ayon loader in host tools

* fix used function to get tasks

* show actions per representation name

* center window

* add window flag to loader window

* added 'ThumbnailPainterWidget' to tool utils

* implemented thumbnails model

* implement thumbnail widget

* fix FolderItem args docstring

* bypass bug in ayon_api

* fix sorting of folders

* added refresh button

* added expected selection and go to current context

* added information if project item is library project

* added more filtering options to projects widget

* added missing information abou is library to model items

* remove select project item on selection change

* filter out non library projects

* set current context project to project combobox

* change window title

* fix hero version queries

* move current project to the top

* fix reset

* change icon for library projects

* added libraries separator to project widget

* show libraries separator in loader

* ise single line expression

* library loader tool is loader tool in AYON mode

* fixes in grouping model

* implemented grouping logic

* use loader in tray action

* better initial sizes

* moved 'ActionItem' to abstract

* filter loaders by tool name based on current context project

* formatting fixes

* separate abstract classes into frontend and backend abstractions

* added docstrings to abstractions

* implemented 'to_data' and 'from_data' for action item options

* added more docstrings

* first filter representation contexts and then create action items

* implemented 'refresh' method

* do not reset controller in '_on_first_show'

Method '_on_show_timer' will take about the reset.

* 'ThumbnailPainterWidget' have more options of bg painting

* do not use checkerboard in loader thumbnail

* fix condition

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-10-11 18:16:45 +02:00
..
images Loader tool: Refactor loader tool (for AYON) (#5729) 2023-10-11 18:16:45 +02:00
__init__.py Loader tool: Refactor loader tool (for AYON) (#5729) 2023-10-11 18:16:45 +02:00
assets_widget.py AYON: Preparation for products (#5038) 2023-07-11 18:13:50 +02:00
constants.py Qt UI: Multiselection combobox PySide6 compatibility (#5314) 2023-07-18 16:00:36 +02:00
delegates.py Loader: Hide inactive versions in UI (#5100) 2023-06-08 11:54:41 +02:00
error_dialog.py use qtpy in remaining qt utils 2022-12-21 13:52:52 +01:00
host_tools.py Loader tool: Refactor loader tool (for AYON) (#5729) 2023-10-11 18:16:45 +02:00
layouts.py Publisher: Show instances in report page (#4915) 2023-05-23 18:16:05 +02:00
lib.py do not override scale factor rounding policy if has defined value through env variable 2023-09-01 17:33:57 +02:00
models.py Tools: Fix recursive filtering (#4597) 2023-03-13 11:20:59 +01:00
multiselection_combobox.py fix repaint when custom text changed 2023-09-04 10:56:30 +02:00
overlay_messages.py General: Small code cleanups (#5034) 2023-05-26 14:44:47 +02:00
tasks_widget.py Update ayon-python-api (#5512) 2023-08-29 12:01:29 +02:00
thumbnail_paint_widget.py Loader tool: Refactor loader tool (for AYON) (#5729) 2023-10-11 18:16:45 +02:00
views.py use qtpy in remaining qt utils 2022-12-21 13:52:52 +01:00
widgets.py Launcher tool: Refactor launcher tool (for AYON) (#5612) 2023-09-22 11:47:39 +02:00