* use 'get_qt_icon' to convert icon definition
* check if site sync is enabled before getting sites info
* convert containers to list
* Fix wrong method name
---------
Co-authored-by: Petr Kalis <petr.kalis@gmail.com>
* Fix usage of correct values
Returned item is dictionary of version_id: links, previous loop was looping through [[]].
* Fix usage of studio icon
local and studio have both same provider, local_drive. Both of them should be differentiate by icon though.
* Fix - pull only paths from icon_def
Icon_def is dictionary with `type` and `path` keys, not directly 'path'.
It must be massaged first.
* Revert back, fixed in different PR
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Fix looping
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* make publisher a window without always on top
* put publisher window to the top on process
* make sure screenshot window is active
* removed unnecessary variable
* keep current subset version when switch repre
* added comment and safe switch repres
* more clearly variable names and revert last feat
* check selected but no change
* fix switch hero version
* Added new SiteSync model
Used to get information from SiteSync module to enhance Loader UI.
* Added new SiteSync method to controller
Other models will be using these to get information pertaining SiteSync
* Added missed commit
* Implemented collection of SiteSync info
* Added AvailabilityDelegate
Shows how many representations are present locally and remotely in Loader summary page.
* Added fields to store progress info
* Fix HiddenAttr to carry value
* Refactored to internal variable
Changes made after discussion
* Implemented ActionItems for upload/download/remove
Replaced old Launcher approach, now it is not necessary after refactor of Ayon launcher.
* Update openpype/tools/ayon_loader/abstract.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Hound
* Refactor better retrieval of icon
* Refactor better readability
* Refactor renamed delegate
* Refactor better retrieval of icons
* Refactor better readability
* Refactor removed unneeded explicit refresh
* Hound
* Hound
* Hound
* Fix used wrong type
* Update openpype/tools/ayon_loader/ui/products_delegates.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Refactor renamed variable name
* Refactor formatting
* Added progress for representations
* cache version availability
* cache representations sync status
* changed representations count logic and moved it to products model
* site sync enabled is cached
* active and remote site names are cached
* small tweaks in site sync model
* change methods called by controller
* hide site sync columns if site sync not enabled
* use string conversion before iteration
* smal formatting changes
* updated abstract class with abstract methods
* renamed site sync model variable
* fixed method name
* fix used method name
* rename '_sitesync_addon' to '_site_sync_addon'
* fix remote site name cache
* small formatting changes in delegate
* modify site sync delegate to be more dynamic
* fix delegate painting
* do not handle repre progress in products model
* Add comma back
* simplify delegate code
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
* implemented base hierarchy expected selection model
* use existing models and widgets in ayon workfiles tool
* move private method under public method
* added more methods to cache
* reset models during controller reset
* create workfile info all the time