mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
initial docstrings of card view
This commit is contained in:
parent
b948b3c826
commit
8209f40a53
3 changed files with 24 additions and 2 deletions
|
|
@ -1,3 +1,25 @@
|
|||
"""Card view instance with more information about each instance.
|
||||
|
||||
Instances are grouped under groups. Groups are defined by `creator_label`
|
||||
attribute on instance (Group defined by creator).
|
||||
|
||||
Only one item can be selected at a time.
|
||||
|
||||
```
|
||||
<i> == Icon (Can have Warning icon when context is not right)
|
||||
+----------------------+
|
||||
| Options |
|
||||
| <Group 1> -----------|
|
||||
| <i> <Instance 1> [x]|
|
||||
| <i> <Instance 2> [x]|
|
||||
| ... |
|
||||
| <Group 2> -----------|
|
||||
| <i> <Instance 3> [ ]|
|
||||
| ... |
|
||||
+----------------------+
|
||||
```
|
||||
"""
|
||||
|
||||
import re
|
||||
import collections
|
||||
|
||||
|
|
|
|||
BIN
openpype/tools/publisher/widgets/images/minus.png
Normal file
BIN
openpype/tools/publisher/widgets/images/minus.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
|
|
@ -1,7 +1,7 @@
|
|||
"""Simple easy instance view grouping instances into collapsible groups.
|
||||
|
||||
Groups are defined by `creator_label` attribute on instance (Group
|
||||
defined by creator).
|
||||
View has multiselection ability. Groups are defined by `creator_label`
|
||||
attribute on instance (Group defined by creator).
|
||||
|
||||
Each item can be enabled/disabled with their checkbox, whole group
|
||||
can be enabled/disabled with checkbox on group or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue