Commit graph

248 commits

Author SHA1 Message Date
Jakub Trllo
b7d9fb76fd use full color for branch icon background 2023-11-21 17:54:36 +01:00
Jakub Trllo
076d16a50d
Workfiles tool: Refactor workfiles tool (for AYON) (#5550)
* ayon workfiles tool initial commit

* separated models into smaller files

* workfile can be listed and opened

* added browse logic

* added TODO for helper functions

* modified abstract controller

* implemented required methods

* base of save dialog

* added project settings to controller

* set context of side panel on init

* implemented save as dialog

* cleanup expected selection

* unify controller variable name

* base of published workfiles

* working published workfile copy

* added more missing features from workfiles tool

* Changed size policy of buttons to fill space vertically

* added overlay messages

* moved objects to abstraction

* moved 'window.py' to widgets

* small modifications in widgets

* get_workfile_info returns object

* filled docstrings in abstractions

* finishing touches

* backwards compatible work with host

* close window on successfull open

* remove indentation completelly

* added style for overlay label

* added handling of invalid host in controller

* added overlay with message if host is not valid

* added missing feature of disabled save

* use ayon_workfiles in ayon mode

* cleanup

* hound fixes

* use asset doc for 'change_current_context'

* added duplication action

* removed unused attributes and methods

* refresh workarea view on save as finished

* support host integrations without 'HostBase'

* fix 'filepath' fill

* reset item cache on save

* do not handle filepath in prepare workfile

* rename '_create_workfile_doc' > '_create_workfile_info_entity'

* fill comment before formatting

* fix column count by not calling 'clear'

* more explicit name of method

* use 'setHeaderData' to define header labels

* mimic changes from workarea widget in published widget
2023-09-08 13:45:00 +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
Ondřej Samohel
19b3d66f5e
Merge branch 'develop' into substance_integration 2023-05-03 13:56:37 +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
Roy Nieterau
30aa9e1174 Merge remote-tracking branch 'upstream/develop' into substance_painter_ocio
# Conflicts:
#	openpype/plugins/publish/extract_thumbnail.py
2023-01-26 15:36:21 +01:00
Jakub Jezek
37dc18b837
hound comments 2023-01-25 15:55:03 +01:00
Jakub Trllo
5a4852703b Merge branch 'develop' into release/3.15.x 2023-01-18 12:10:47 +01:00
Roy Nieterau
3cb797b10a Add some fixes to stylesheet to avoid very odd looking OpenPype UIs in Substance Painter 2023-01-06 04:05:13 +01:00
Jakub Trllo
75fefd6ae2 added errored button 2023-01-05 19:37:12 +01:00
Jakub Trllo
e2f3aadb45 added 'ValidatedLineEdit' to style 2023-01-05 18:09:16 +01:00
Jakub Trllo
c849c83da4 added pyside6 resources 2022-12-21 15:20:21 +01:00
Jakub Trllo
5361cfa9a5 use qtpy in style 2022-12-21 13:53:02 +01:00
Jakub Trllo
0645089ad6 size of button is fully defined by style 2022-11-16 10:38:08 +01:00
Jakub Trllo
78a725ca26 chnage the object name 2022-10-31 18:47:39 +01:00
Jakub Trllo
33178d1570 add different styles for button 2022-10-31 18:46:47 +01:00
Jakub Trllo
2d4e13ae56 implemented new pixmap button which is not pushbutton based 2022-10-31 18:44:32 +01:00
Jakub Trllo
1f2ad7c304 don't use alpha on button hover color 2022-10-31 16:45:54 +01:00
Jakub Trllo
c4432bf6ea fix variant input style 2022-10-27 15:13:02 +02:00
Jakub Trllo
87671bcfd6 added style for errored card message 2022-10-24 19:16:54 +02:00
Jakub Trllo
271a0056bc change the item look 2022-10-24 17:31:38 +02:00
Jakub Trllo
e19268c4a1 implemented basic implementation of converter 2022-10-21 19:31:57 +02:00
iLLiCiTiT
7f53339071 change progress bar colors on pause 2022-10-18 00:46:01 +02:00
iLLiCiTiT
c9e10f6147 change progress bar on validation error 2022-10-18 00:14:35 +02:00
Jakub Trllo
8b570a37d5 make publish frame borders transparent 2022-10-11 12:01:29 +02:00
Jakub Trllo
2b6d6a5151 smaller font for report messages 2022-10-11 11:23:58 +02:00
Jakub Trllo
8964875d6f keep same color of titles as in instaces view 2022-10-05 12:18:20 +02:00
Jakub Trllo
1d67975a85 change look of validation title 2022-10-05 11:57:05 +02:00
Jakub Trllo
21e6bac97c changed color of publisher overlay on crash 2022-10-05 10:56:46 +02:00
Jakub Trllo
ef367c14f1 bigger font for artist messages 2022-10-04 17:17:35 +02:00
Jakub Trllo
5bf88fef0c changed styles of help button 2022-10-04 15:04:56 +02:00
Jakub Trllo
deec8d742a Merge branch 'develop' into feature/OP-4158_Creation-UI-is-part-of-main-window 2022-10-03 15:24:46 +02:00
Jakub Trllo
e725246c31 publish frame is showed in a different way 2022-09-29 13:49:39 +02:00
Roy Nieterau
fbfe26b3f9 Merge remote-tracking branch 'upstream/develop' into style_cache_objected_colors 2022-09-28 20:30:16 +02:00
Roy Nieterau
24d9e5017d Optimize use of cache by allowing to copy only the part of the data you need 2022-09-28 20:27:01 +02:00
Roy Nieterau
15105b36d9 Always return deep copy of the cache 2022-09-28 20:03:58 +02:00
Jakub Trllo
b6312fe369 changed style of disable button 2022-09-28 17:45:43 +02:00
Jakub Trllo
46ea4561f3 implemented tabs widget 2022-09-28 15:49:31 +02:00
Jakub Trllo
edf1febdab
Merge pull request #3920 from BigRoy/fix_color_defs
General - Color definitions - Fix variable name `sat` -> `sat_str`
2022-09-26 16:36:07 +02:00
Roy Nieterau
3af46fb927 Fix example 2022-09-26 15:30:54 +02:00
Roy Nieterau
6815eb4e80 Fix variable name sat -> sat_str
`sat` is actually undefined in the else statement
2022-09-26 15:28:12 +02:00
Roy Nieterau
0fd0e307ae Cache colors data 2022-09-26 12:15:02 +02:00
Roy Nieterau
65f31c445c Cache get_objected_colors function 2022-09-26 11:26:36 +02:00
Roy Nieterau
6237c4ae82 Update "font-disabled" color 2022-09-26 11:07:34 +02:00
Jakub Trllo
b4817f70a6 show what is allowed to drop in the files widget 2022-06-24 19:11:21 +02:00
Jakub Trllo
5ca7b53c11 fix styles 2022-05-03 15:56:01 +02:00
Jakub Trllo
dc94809957 added icon to asset input dialog 2022-05-03 14:35:45 +02:00
Jakub Trllo
e6326570f8 help button is resized and has more content 2022-05-02 18:35:58 +02:00
Jakub Trllo
542efb57bc change style of detailed description 2022-04-29 16:51:19 +02:00
Jakub Trllo
0cc02f3abe Merge branch 'develop' into enhancement/OP-3095_TrayPublisher-Simple-families-from-settings 2022-04-27 10:50:22 +02:00