Commit graph

29 commits

Author SHA1 Message Date
Jakub Trllo
9c53837c33
AYON: Tools enhancements (#5753)
* moved universal 'TreeView' to utils

* use 'TreeView' in folders widget

* propagate 'set_deselectable' in 'FoldersWidget'

* propagate more public functionality of 'FoldersWidget'

* fix 'set_name_filer' typo

* rename 'get_current_project_name' to 'get_selected_project_name'

* added signals to task and project widgets

* implemented more helper methods in hierarchy model

* added more information to 'FolderItem'

* add empty line after docstring

* fix expected selection of folders in loader

* keep only 'double_clicked' signal

* pass full mouse event to signal
2023-10-13 10:40:41 +02:00
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
Jakub Trllo
87ed2f960d
Launcher tool: Refactor launcher tool (for AYON) (#5612)
* added helper classes to utils

* implemented base of ayon utils

* initial commit for launcher tool

* use image for extender

* actions are shown and can be triggered

* fix actions on finished refresh

* refresh automatically

* fix re-refreshing of projects model

* added page slide animation

* updated abstrack classes

* change how icon is prepared

* fix actions sorting

* show messages like in launcher tool

* do not clear items on refresh

* stop refresh timer only on close event

* use Ynput/AYON for local settings json

* register default actions in launcher action module

* change register naming

* move 'SquareButton' to utils widgets

* removed duplicated method

* removed unused variable

* removed unused import

* don't use lambda

* swap default name for 'OpenPypeSettingsRegistry'

* Change support version
2023-09-22 11:47:39 +02:00
iLLiCiTiT
ebec7236aa implemented multiselection combobox 2023-08-30 22:09:51 +02:00
Jakub Trllo
594f1014ce General: Qt scale enhancement (#5059)
* set 'QT_SCALE_FACTOR_ROUNDING_POLICY' to 'PassThrough'

* implemented 'get_openpype_qt_app' which set all openpype related attributes

* implemented get app functions in igniter and ayon common

* removed env varaibles 'QT_SCALE_FACTOR_ROUNDING_POLICY'

* formatting fixes

* fix line length

* fix args
2023-07-11 18:13:50 +02:00
Jakub Trllo
a73d19b612
Publisher: Show instances in report page (#4915)
* renamed 'validations_widget.py' to 'report_page.py'

* Implemented base logic and widgets for logs

* make one report page

* added missing imports

* added missing constants

* move and rename 'VerticallScrollArea' to 'VerticalScrollArea'

* Validation erro item have id

* use 'ReportPageWidget' in window

* change 'bg-button-hover' key to 'bg-buttons-hover' in style colors

* move publish actions widgets

* Refactored how validation error title is showed

* remove item id from validation error item but add id to group items

* remove margins from actions widget

* shrink publish frame on finished publishing

* fix dash line draw

* add missing styles

* fix dash line in thumbnail widget

* added crash widget and changed layout a little

* added infor overlay message

* export and copy report happens in main window

* fix docstrings

* added per plugin filtering for validation errors

* added implementation of 'FlowLayout'

* actions buttons are in flow layout

* fix actions order

* implemented expanding text edit widget

* expand button has some signals and properties

* description and details are separated widgets

* fix typo

* added constans to '__all__'

* parse icon def is a function

* change layout of widgets

* fix log filtering

* added state icon to instances

* fix pyside6 issues

* implemented 'ClassicExpandBtnLabel' with arrow images

* modified details separator

* added some spacing to layouts

* fix syle of description inputs and progress color

* removed unused import

* add 'is_validation_error' to errored result

* validation error has different icon in logs view

* added plugin name to ValueError if happens

* spacer before detail inputs moved out of detals widget

* fix actions visible in craash report

* ignore pyblish base classes

* filter base plugins in discovery

* use 'is' comparison instead of '__eq__'

* fix action error handling

* Fix handling of 'None' values in comparison

* formatting fix

* Report instance card have same margins as in create mode

* publish instances are grouped by family

* log messages are rstripped
2023-05-23 18:16:05 +02:00
Jakub Trllo
38347ece5a
Publisher: Small style changes (#4894)
* border hover has color without alpha

* changed border radius to 0.2em

* removed border from scroll area

* variant hint button has 0.5em width

* inputs in attribute definitions have smaller padding

* label is shown only to value inputs and added tooltips

* change spacing for attribute befinitions

* align labels to right

* implemented 'ComboBox' which ignores wheel events and has styled delegate

* PixmalLabel has minimum sizeHint

* cards are smaller

* renamed 'Options' to 'Context'

* implemented active state changes in card view

* set object name of main window to "PublishWindow"

* plugin don't have to pass 'title' to an error

* fix PySide6 support for custom keysequences

* check for exact match for all bindings

* added validation of exact match for save shortcut
2023-04-25 10:37:49 +02:00
Jakub Trllo
f6ee5db227 creasted spin boxes that allow mouse scroll changes only on active widgets 2023-02-09 20:26:49 +01:00
Jakub Trllo
854bf3a585 added more detailed helper functions to receive asset icon name and color 2023-01-05 16:19:26 +01:00
Jakub Trllo
2d4e13ae56 implemented new pixmap button which is not pushbutton based 2022-10-31 18:44:32 +01:00
Jakub Trllo
f4b123d65a added separator widget to public widgets 2022-10-21 11:01:52 +02:00
iLLiCiTiT
81469cbc54 implemented combobox that can have custom text 2022-07-12 23:25:44 +02:00
Jakub Trllo
c68b1e42c5 added MessageOverlayObject to utils init 2022-04-26 11:08:23 +02:00
Jakub Trllo
cd1e764da6 cleanup 2022-03-14 16:19:08 +01:00
Jakub Trllo
3292320868 implemented get asset icon function 2022-03-10 15:56:39 +01:00
Jakub Trllo
b22a3c9217 import qt_app_context in utils init file 2022-03-02 12:26:55 +01:00
Jakub Trllo
42f47c868b created clickable label in utils 2022-02-21 16:51:30 +01:00
Jakub Trllo
a88873c227 Merge branch 'develop' into feature/OP-2361_Store-settings-by-OpenPype-version 2022-02-07 14:20:15 +01:00
Jakub Trllo
ac6238c938 fetch project versions in thread to not stuck UI 2022-02-01 11:39:43 +01:00
Jakub Trllo
000e97f874 enhanced settings to be able define source version of settings in UI and see source version 2022-01-28 18:15:22 +01:00
Jakub Trllo
6a03efa7e6 added warning image to resources and utils function to load it 2022-01-26 11:18:22 +01:00
iLLiCiTiT
fbdd1d8ab5 moved few widgets to tools/utils and modified asset/task widgets to easily change source model 2022-01-18 17:22:08 +01:00
iLLiCiTiT
a18bdbc418 changed dialog and added restart and update action to tray 2022-01-14 17:53:56 +01:00
iLLiCiTiT
2944531434 implemented callback warpper for execution in main thread 2022-01-13 13:02:51 +01:00
iLLiCiTiT
7d72481b86 create base of error dialog in utils 2022-01-05 18:31:08 +01:00
iLLiCiTiT
b2f09495c4 implemented expand button showing icon and having clicked signal 2022-01-05 17:47:54 +01:00
iLLiCiTiT
13aa752c40 added clickable frame to utils 2022-01-05 17:47:32 +01:00
iLLiCiTiT
611c9bb792 use PlaceholderLineEdit where placeholder is set 2021-12-02 15:50:48 +01:00
iLLiCiTiT
c8ee348422 moved loader, library loader and related widgets to openpype tools 2021-09-17 11:07:19 +02:00