Commit graph

269 commits

Author SHA1 Message Date
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
Roy Nieterau
4ed1c1f65d
Enhancement: Fix PySide 6.5 support for loader (#4900)
* Reverse inheritance order to avoid PySide6.5 bug `PYSIDE-2294` & `PYSIDE-2304`

* Fix PySide6 support
2023-04-25 10:29:12 +02:00
Jakub Trllo
ebcd48d138
Publisher: Keep track about current context and fix context selection widget (#4892)
* keep track about last context so it can be updated on context change

* don't use '_asset_name' attribute for validation of selected asset

* use current context after publisher window close
2023-04-24 17:36:26 +02:00
Roy Nieterau
b751c539c3
Publisher: Make sure to reset asset widget when hidden and reshown (#4886)
* Make sure to reset asset widget when hidden and reshown

* change '_soft_reset_enabled' only on controller reset

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
2023-04-21 12:22:11 +02:00
Roy Nieterau
3fae1f8521 Just some grammar tweaks 2023-03-30 13:59:22 +02:00
Jakub Trllo
d0f083ec19
Publisher: Explicit save (#4676)
* added save button class

* added save button to window

* workfiles is also part of context in CreateContext to be able check if context changed

* window cares about trigger of convertors

* use abstractproperty with property and abstractmethod decorators

* save changes happens using main window and can be blocked

* fix pyside compatibility

* use create context to get current context names

* Fix docstring label

* added shortcuts for save and reset

* change control string matching for macos

* added 'publish_has_started' property

* allow save only if publishing did not start yet

* rename 'get_selected_convertors' to 'get_selected_legacy_convertors' and added docstrings

* Added Saved changes

* disable instances toggle when publishing started

* Fix reset button tooltip

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

* Use QKeySequence to string for tooltips

* added example output

* use predefined method to emit card message

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-03-23 12:52:25 +01:00
Jakub Trllo
86f0383f18
Publisher: Prevent access to create tab after publish start (#4528)
make sure it is not possible to go to create tab if the tab is not enabled
2023-02-28 11:13:44 +01:00
Jakub Trllo
fa879c9beb
fix UI definitions for publish plugins (#4534) 2023-02-27 17:06:14 +01:00
Jakub Trllo
093ffee97a Merge branch 'develop' into feature/OP-4710_TVP-publishing-update 2023-02-20 10:29:27 +01:00
Jakub Trllo
973aa11fc4
Merge pull request #4473 from ynput/feature/report_plugin_discovery_crashes
Publisher: Report also crashed creators and convertors
2023-02-16 15:03:19 +01:00
Jakub Trllo
70ab3cd2ab fix newly added creators on refresh 2023-02-16 14:14:45 +01:00
Jakub Trllo
c2b2dbb3f3 fix compatibility of QAction in Publisher 2023-02-16 10:47:24 +01:00
Jakub Trllo
71adfb8b50 update instance label on refresh 2023-02-16 09:56:07 +01:00
Jakub Trllo
dfb7187413 removed window title from creator widget 2023-02-07 19:10:07 +01:00
Jakub Trllo
7e1450e95d modified proxy filter for sorting of creators 2023-02-07 19:09:53 +01:00
Jakub Trllo
b67181c4e0 added show order to publisher UI 2023-02-07 19:09:32 +01:00
Jakub Trllo
96094324fa check for 'creator_identifier' instead of 'creator' 2023-01-27 16:43:50 +01:00
Jakub Trllo
b0a6be63ac Merge branch 'develop' into release/3.15.x
# Conflicts:
#	openpype/hosts/photoshop/api/workio.py
#	openpype/hosts/photoshop/plugins/publish/validate_unique_subsets.py
#	pyproject.toml
#	website/docs/artist_hosts_aftereffects.md
2023-01-24 12:31:32 +01:00
Roy Nieterau
8ea0888076 Grammar+typos 2023-01-18 01:29:47 +01:00
Jakub Trllo
bc61b450db use right constants 2023-01-16 11:19:24 +01:00
Jakub Trllo
679becc3a8 fix work with checkstate constants 2023-01-06 18:51:51 +01:00
Jakub Trllo
b5b8119f49 use class attributes from classes 2022-12-21 15:54:46 +01:00
Jakub Trllo
8e19d0957d use class attributes from classes instead of objects 2022-12-21 15:19:40 +01:00
Jakub Trllo
227c61d20e use qtpy in publisher tool 2022-12-21 13:48:15 +01:00
Jakub Trllo
52e8601d44 use string instead of custom type for signal parameter 2022-12-15 11:41:11 +01:00
Jakub Trllo
f739809c71
Merge pull request #4120 from pypeclub/feature/OP-4475_Publisher-Open-on-specific-tab
Publisher: Open on specific tab
2022-11-23 10:39:35 +01:00
Jakub Trllo
861cdadc9b fix formatting 2022-11-22 16:48:02 +01:00
Jakub Trllo
d87e8fe99c tabs widget can accept tab indexes 2022-11-22 15:52:06 +01:00
Jakub Trllo
b2065acd7a added ability to know if views have any items 2022-11-22 15:51:44 +01:00
Jakub Trllo
3ba5f8e0e9 fix tas combobox sizes 2022-11-22 15:51:05 +01:00
Jakub Trllo
788ed64780 fix typo 2022-11-22 15:50:46 +01:00
Jakub Trllo
996bd4897b tabs widget can set current tab by index 2022-11-22 12:04:47 +01:00
Jakub Trllo
a606de5b76 don't add hidden widgets to publisher widgets 2022-11-21 19:17:56 +01:00
Jakub Trllo
20dacc342b change style of button 2022-11-16 10:40:22 +01:00
Jakub Trllo
fbd7531a31 change label of stopped publishing 2022-11-15 18:42:46 +01:00
Jakub Trllo
3cd1918f04 shorter animation 2022-11-10 11:23:32 +01:00
Jakub Trllo
ac4d351e24 Merge branch 'develop' into feature/publisher_create_next_animation 2022-11-08 16:31:10 +01:00
Jakub Trllo
3dbfa8ee51 removed max value and use 1.0 2022-11-08 16:30:40 +01:00
iLLiCiTiT
b75356d631 change easing curve 2022-11-07 23:20:35 +01:00
iLLiCiTiT
017ec79552 change colors 2022-11-07 23:20:29 +01:00
Jakub Trllo
d4ae2ac60c
Merge pull request #4052 from pypeclub/feature/attribute_defs_dialog
General/TVPaint: Attribute defs dialog
2022-11-04 21:36:12 +01:00
Jakub Trllo
739273408d Merge branch 'develop' into feature/publisher_create_next_animation 2022-11-04 21:28:34 +01:00
Jakub Trllo
befd6889cc use much simpler UI for the button 2022-11-04 21:25:12 +01:00
Jakub Trllo
d655a53136 use objected colors from styles 2022-11-01 18:45:07 +01:00
Jakub Trllo
81a9f26459 Merge branch 'develop' into feature/attribute_defs_dialog 2022-11-01 14:11:03 +01:00
Jakub Trllo
e4e6044198 fix last pixel 2022-11-01 11:56:27 +01:00
Jakub Trllo
42b1012e7c use radial gradient 2022-10-31 19:41:12 +01:00
Jakub Trllo
ea6e924dd9 use gradient and different color 2022-10-31 19:31:53 +01:00
Jakub Trllo
30789058b3 overview widget can return global geo of subset view widget 2022-10-31 19:23:38 +01:00