replaced collapsable with collapsible

This commit is contained in:
iLLiCiTiT 2021-02-18 10:17:31 +01:00
parent 4df080190d
commit 1e0fbbfbbf
52 changed files with 156 additions and 156 deletions

View file

@ -169,7 +169,7 @@ class DictImmutableKeysEntity(ItemEntity):
"highlight_content", False
)
self.show_borders = self.schema_data.get("show_borders", True)
self.collapsible = self.schema_data.get("collapsable", True)
self.collapsible = self.schema_data.get("collapsible", True)
self.collapsed = self.schema_data.get("collapsed", True)
# Not yet implemented

View file

@ -169,12 +169,12 @@ class DictMutableKeysEntity(EndpointEntity):
self.schema_data.get("value_is_env_group") or False
)
self.required_keys = self.schema_data.get("required_keys") or []
self.collapsible_key = self.schema_data.get("collapsable_key") or False
self.collapsible_key = self.schema_data.get("collapsible_key") or False
# GUI attributes
self.hightlight_content = (
self.schema_data.get("highlight_content") or False
)
self.collapsible = self.schema_data.get("collapsable", True)
self.collapsible = self.schema_data.get("collapsible", True)
self.collapsed = self.schema_data.get("collapsed", True)
object_type = self.schema_data["object_type"]

View file

@ -126,8 +126,8 @@
- without label it is just wrap item holding `"key"`
- can't have `"is_group"` key set to True as it breaks visual override showing
- if `"label"` is entetered there which will be shown in GUI
- item with label can be collapsable
- that can be set with key `"collapsable"` as `True`/`False` (Default: `True`)
- item with label can be collapsible
- that can be set with key `"collapsible"` as `True`/`False` (Default: `True`)
- with key `"collapsed"` as `True`/`False` can be set that is collapsed when GUI is opened (Default: `False`)
- it is possible to add darker background with `"highlight_content"` (Default: `False`)
- darker background has limits of maximum applies after 3-4 nested highlighted items there is not difference in the color
@ -138,7 +138,7 @@
"key": "applications",
"type": "dict",
"label": "Applications",
"collapsable": true,
"collapsible": true,
"highlight_content": true,
"is_group": true,
"is_file": true,
@ -320,8 +320,8 @@
- there are 2 possible ways how to set the type:
1.) dictionary with item modifiers (`number` input has `minimum`, `maximum` and `decimals`) in that case item type must be set as value of `"type"` (example below)
2.) item type name as string without modifiers (e.g. `text`)
- this input can be collapsable
- that can be set with key `"collapsable"` as `True`/`False` (Default: `True`)
- this input can be collapsible
- that can be set with key `"collapsible"` as `True`/`False` (Default: `True`)
- with key `"collapsed"` as `True`/`False` can be set that is collapsed when GUI is opened (Default: `False`)
1.) with item modifiers

View file

@ -1,32 +1,32 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "plugins",
"label": "Plugins",
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "standalonepublisher",
"label": "Standalone Publisher",
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "publish",
"label": "Publish plugins",
"is_file": true,
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ExtractThumbnailSP",
"label": "ExtractThumbnailSP",
"is_group": true,
"children": [
{
"type": "dict",
"collapsable": false,
"collapsible": false,
"key": "ffmpeg_args",
"label": "ffmpeg_args",
"children": [

View file

@ -1,19 +1,19 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "celaction",
"label": "CelAction",
"is_file": true,
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "publish",
"label": "Publish plugins",
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "ExtractCelactionDeadline",
"label": "ExtractCelactionDeadline",

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "ftrack",
"label": "Ftrack",
"collapsable": true,
"collapsible": true,
"is_file": true,
"children": [
{
@ -609,14 +609,14 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "publish",
"label": "Publish plugins",
"is_file": true,
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "IntegrateFtrackNote",
"label": "IntegrateFtrackNote",
@ -643,7 +643,7 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "ValidateFtrackAttributes",
"label": "ValidateFtrackAttributes",

View file

@ -1,6 +1,6 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "global",
"label": "Global",
"is_file": true,

View file

@ -1,20 +1,20 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "harmony",
"label": "Harmony",
"is_file": true,
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "publish",
"label": "Publish plugins",
"children": []
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "general",
"label": "General",
"children": [

View file

@ -1,19 +1,19 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "hiero",
"label": "Hiero",
"is_file": true,
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "create",
"label": "Create plugins",
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "CreateShotClip",
"label": "Create Shot Clip",
"is_group": true,
@ -21,7 +21,7 @@
{
"type": "collapsible-wrap",
"label": "Shot Hierarchy And Rename Settings",
"collapsable": false,
"collapsible": false,
"children": [
{
"type": "text",
@ -53,7 +53,7 @@
{
"type": "collapsible-wrap",
"label": "Shot Template Keywords",
"collapsable": false,
"collapsible": false,
"children": [
{
"type": "text",
@ -85,7 +85,7 @@
{
"type": "collapsible-wrap",
"label": "Vertical Synchronization Of Attributes",
"collapsable": false,
"collapsible": false,
"children": [
{
"type": "boolean",
@ -97,7 +97,7 @@
{
"type": "collapsible-wrap",
"label": "Shot Attributes",
"collapsable": false,
"collapsible": false,
"children": [
{
"type": "number",
@ -122,13 +122,13 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "publish",
"label": "Publish plugins",
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "CollectInstanceVersion",
"label": "Collect Instance Version",
@ -143,7 +143,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "ExtractReviewCutUpVideo",
"label": "Extract Review Cut Up Video",

View file

@ -1,6 +1,6 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "maya",
"label": "Maya",
"is_file": true,

View file

@ -1,19 +1,19 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "nuke",
"label": "Nuke",
"is_file": true,
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "create",
"label": "Create plugins",
"children": [
{
"type": "dict",
"collapsable": false,
"collapsible": false,
"key": "CreateWriteRender",
"label": "CreateWriteRender",
"is_group": true,
@ -27,7 +27,7 @@
},
{
"type": "dict",
"collapsable": false,
"collapsible": false,
"key": "CreateWritePrerender",
"label": "CreateWritePrerender",
"is_group": true,
@ -43,13 +43,13 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "publish",
"label": "Publish plugins",
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "PreCollectNukeInstances",
"label": "PreCollectNukeInstances",
"is_group": true,
@ -63,7 +63,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "ExtractThumbnail",
"label": "ExtractThumbnail",
@ -83,7 +83,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "ValidateKnobs",
"label": "ValidateKnobs",
@ -103,7 +103,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "ExtractReviewDataLut",
"label": "ExtractReviewDataLut",
@ -118,7 +118,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "ExtractReviewDataMov",
"label": "ExtractReviewDataMov",
@ -138,7 +138,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ExtractSlateFrame",
"label": "ExtractSlateFrame",
"is_group": true,
@ -152,7 +152,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "NukeSubmitDeadline",
"label": "NukeSubmitDeadline",
"is_group": true,

View file

@ -1,19 +1,19 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "resolve",
"label": "DaVinci Resolve",
"is_file": true,
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "create",
"label": "Creator plugins",
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "CreateShotClip",
"label": "Create Shot Clip",
"is_group": true,
@ -21,7 +21,7 @@
{
"type": "collapsible-wrap",
"label": "Shot Hierarchy And Rename Settings",
"collapsable": false,
"collapsible": false,
"children": [
{
"type": "text",
@ -53,7 +53,7 @@
{
"type": "collapsible-wrap",
"label": "Shot Template Keywords",
"collapsable": false,
"collapsible": false,
"children": [
{
"type": "text",
@ -85,7 +85,7 @@
{
"type": "collapsible-wrap",
"label": "Vertical Synchronization Of Attributes",
"collapsable": false,
"collapsible": false,
"children": [
{
"type": "boolean",
@ -97,7 +97,7 @@
{
"type": "collapsible-wrap",
"label": "Shot Attributes",
"collapsable": false,
"collapsible": false,
"children": [
{
"type": "number",

View file

@ -1,27 +1,27 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "standalonepublisher",
"label": "Standalone Publisher",
"is_file": true,
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "publish",
"label": "Publish plugins",
"is_file": true,
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ExtractThumbnailSP",
"label": "ExtractThumbnailSP",
"is_group": true,
"children": [
{
"type": "dict",
"collapsable": false,
"collapsible": false,
"key": "ffmpeg_args",
"label": "ffmpeg_args",
"children": [
@ -45,10 +45,10 @@
},
{
"type": "dict-modifiable",
"collapsable": true,
"collapsible": true,
"key": "create",
"label": "Creator plugins",
"collapsable_key": true,
"collapsible_key": true,
"is_file": true,
"object_type": {
"type": "dict",

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "sync_server",
"label": "Sync Server (currently unused)",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"is_file": true,
"children": [
@ -15,7 +15,7 @@
"type": "dict",
"key": "config",
"label": "Config",
"collapsable": true,
"collapsible": true,
"children": [
{
@ -46,10 +46,10 @@
]
}, {
"type": "dict-modifiable",
"collapsable": true,
"collapsible": true,
"key": "sites",
"label": "Sites",
"collapsable_key": false,
"collapsible_key": false,
"is_file": true,
"object_type":
{

View file

@ -1,13 +1,13 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "unreal",
"label": "Unreal Engine",
"is_file": true,
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "project_setup",
"label": "Project Setup",
"children": [

View file

@ -1,6 +1,6 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "attributes",
"label": "Attributes",
"is_file": true,

View file

@ -14,7 +14,7 @@
"key": "workfile",
"type": "dict",
"label": "Workfile",
"collapsable": false,
"collapsible": false,
"children": [
{
"type": "form",
@ -88,7 +88,7 @@
"key": "regexInputs",
"type": "dict",
"label": "Colorspace on Inputs by regex detection",
"collapsable": true,
"collapsible": true,
"children": [
{
"type": "list",
@ -122,7 +122,7 @@
"key": "workfile",
"type": "dict",
"label": "Workfile",
"collapsable": false,
"collapsible": false,
"children": [
{
"type": "form",
@ -219,7 +219,7 @@
"key": "nodes",
"type": "dict",
"label": "Nodes",
"collapsable": true,
"collapsible": true,
"children": [
{
"key": "requiredNodes",
@ -323,7 +323,7 @@
"key": "regexInputs",
"type": "dict",
"label": "Colorspace on Inputs by regex detection",
"collapsable": true,
"collapsible": true,
"children": [
{
"type": "list",

View file

@ -2,8 +2,8 @@
"type": "anatomy_templates",
"key": "templates",
"label": "Templates",
"collapsable": true,
"collapsable_key": true,
"collapsible": true,
"collapsible_key": true,
"is_file": true,
"is_group": true,
"children": [

View file

@ -1,12 +1,12 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "publish",
"label": "Publish plugins",
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "IntegrateMasterVersion",
"label": "IntegrateMasterVersion",
@ -21,7 +21,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"key": "ExtractJpegEXR",
"label": "ExtractJpegEXR",
@ -54,7 +54,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ExtractReview",
"label": "ExtractReview",
"checkbox_key": "enabled",
@ -188,7 +188,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ExtractBurnin",
"label": "ExtractBurnin",
"checkbox_key": "enabled",
@ -201,7 +201,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "options",
"label": "Burnin formating options",
"children": [
@ -268,7 +268,7 @@
"label": "Burnins",
"type": "dict-modifiable",
"highlight_content": true,
"collapsable": false,
"collapsible": false,
"object_type": {
"type": "dict",
"children": [
@ -312,7 +312,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "IntegrateAssetNew",
"label": "IntegrateAssetNew",
"is_group": true,
@ -326,7 +326,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ProcessSubmittedJobOnFarm",
"label": "ProcessSubmittedJobOnFarm",
"checkbox_key": "enabled",

View file

@ -1,18 +1,18 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "tools",
"label": "Tools",
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "creator",
"label": "Creator",
"children": [
{
"type": "dict-modifiable",
"collapsable": false,
"collapsible": false,
"key": "families_smart_select",
"label": "Families smart select",
"object_type": {
@ -24,7 +24,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "Workfiles",
"label": "Workfiles",
"children": [
@ -62,7 +62,7 @@
},
{
"type": "dict-modifiable",
"collapsable": true,
"collapsible": true,
"key": "sw_folders",
"label": "Extra task folders",
"is_group": true,

View file

@ -4,7 +4,7 @@
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "capture",
"label": "Maya Playblast settings",
"is_file": true,
@ -311,7 +311,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "Viewport Options",
"label": "Viewport Options",
"children": [
@ -527,7 +527,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "Camera Options",
"label": "Camera Options",
"children": [

View file

@ -1,12 +1,12 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "load",
"label": "Loader plugins",
"children": [
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "colors",
"label": "Loaded Subsets Outliner Colors",
"children": [

View file

@ -1,6 +1,6 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "publish",
"label": "Publish plugins",
"children": [
@ -10,7 +10,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "CollectMayaRender",
"label": "Collect Render Layers",
"children": [
@ -30,7 +30,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ValidateCameraAttributes",
"label": "Validate Camera Attributes",
"checkbox_key": "enabled",
@ -49,7 +49,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ValidateModelName",
"label": "Validate Model Name",
"checkbox_key": "enabled",
@ -79,7 +79,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ValidateAssemblyName",
"label": "Validate Assembly Name",
"checkbox_key": "enabled",
@ -93,7 +93,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ValidateShaderName",
"label": "ValidateShaderName",
"checkbox_key": "enabled",
@ -116,7 +116,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ValidateMeshHasOverlappingUVs",
"label": "ValidateMeshHasOverlappingUVs",
"checkbox_key": "enabled",
@ -130,7 +130,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ValidateAttributes",
"label": "ValidateAttributes",
"checkbox_key": "enabled",
@ -156,7 +156,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "ExtractCameraAlembic",
"label": "Extract camera to Alembic",
"checkbox_key": "enabled",
@ -184,7 +184,7 @@
},
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "MayaSubmitDeadline",
"label": "Submit maya job to deadline",
"checkbox_key": "enabled",

View file

@ -1,6 +1,6 @@
{
"type": "dict-modifiable",
"collapsable": true,
"collapsible": true,
"key": "filters",
"label": "Publish GUI Filters",
"object_type": {

View file

@ -1,6 +1,6 @@
{
"type": "dict",
"collapsable": true,
"collapsible": true,
"key": "workfile_build",
"label": "Workfile Build Settings",
"children": [

View file

@ -326,10 +326,10 @@
"multipath": true
},
{
"key": "collapsable",
"key": "collapsible",
"type": "dict",
"label": "collapsable dictionary",
"collapsable": true,
"label": "collapsible dictionary",
"collapsible": true,
"is_group": true,
"children": [
{
@ -340,10 +340,10 @@
]
},
{
"key": "collapsable_expanded",
"key": "collapsible_expanded",
"type": "dict",
"label": "collapsable dictionary, expanded on creation",
"collapsable": true,
"label": "collapsible dictionary, expanded on creation",
"collapsible": true,
"collapsed": false,
"is_group": true,
"children": [
@ -355,10 +355,10 @@
]
},
{
"key": "not_collapsable",
"key": "not_collapsible",
"type": "dict",
"label": "Not collapsable",
"collapsable": false,
"label": "Not collapsible",
"collapsible": false,
"is_group": true,
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "aftereffects",
"label": "Adobe AfterEffects",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "blender",
"label": "Blender",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "celaction",
"label": "CelAction2D",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "djvview",
"label": "DJV View",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "fusion",
"label": "Blackmagic Fusion",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "harmony",
"label": "Toon Boom Harmony",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "houdini",
"label": "SideFX Houdini",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "maya",
"label": "Autodesk Maya",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "mayabatch",
"label": "Autodesk Maya Batch",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "photoshop",
"label": "Adobe Photoshop",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "resolve",
"label": "Blackmagic DaVinci Resolve",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "shell",
"label": "Shell",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "tvpaint",
"label": "TVPaint",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "unreal",
"label": "Unreal Editor",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -9,7 +9,7 @@
"type": "dict",
"key": "{host_name}_{host_version}",
"label": "{host_version}",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -3,7 +3,7 @@
"type": "dict",
"key": "{nuke_type}",
"label": "Foundry {nuke_label}",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "ftrack",
"label": "Ftrack",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
@ -58,7 +58,7 @@
"key": "intent",
"type": "dict",
"label": "Intent",
"collapsable_key": true,
"collapsible_key": true,
"is_group": true,
"children": [
{

View file

@ -2,7 +2,7 @@
"key": "applications",
"type": "dict",
"label": "Applications",
"collapsable": true,
"collapsible": true,
"is_file": true,
"children": [
{

View file

@ -2,7 +2,7 @@
"key": "general",
"type": "dict",
"label": "General",
"collapsable": true,
"collapsible": true,
"is_file": true,
"children": [
{

View file

@ -2,14 +2,14 @@
"key": "modules",
"type": "dict",
"label": "Modules",
"collapsable": true,
"collapsible": true,
"is_file": true,
"children": [
{
"type": "dict",
"key": "avalon",
"label": "Avalon",
"collapsable": true,
"collapsible": true,
"children": [
{
"type": "text",
@ -45,7 +45,7 @@
"type": "dict",
"key": "rest_api",
"label": "Rest Api",
"collapsable": true,
"collapsible": true,
"children": [
{
"type": "number",
@ -70,7 +70,7 @@
"type": "dict",
"key": "timers_manager",
"label": "Timers Manager",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
@ -96,7 +96,7 @@
"type": "dict",
"key": "clockify",
"label": "Clockify",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
@ -114,7 +114,7 @@
"type": "dict",
"key": "sync_server",
"label": "Sync Server",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [{
"type": "boolean",
@ -125,7 +125,7 @@
"type": "dict",
"key": "deadline",
"label": "Deadline",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
@ -144,7 +144,7 @@
"type": "dict",
"key": "muster",
"label": "Muster",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
@ -175,7 +175,7 @@
"type": "dict",
"key": "log_viewer",
"label": "Logging",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
@ -189,7 +189,7 @@
"type": "dict",
"key": "user",
"label": "User setting",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
@ -203,7 +203,7 @@
"type": "dict",
"key": "standalonepublish_tool",
"label": "Standalone Publish",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
@ -217,7 +217,7 @@
"type": "dict",
"key": "idle_manager",
"label": "Idle Manager",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"key": "tools",
"type": "dict",
"label": "Tools",
"collapsable": true,
"collapsible": true,
"is_file": true,
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "mtoa",
"label": "Autodesk Arnold",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "vray",
"label": "Chaos Group Vray",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -2,7 +2,7 @@
"type": "dict",
"key": "yeti",
"label": "Pergrine Labs Yeti",
"collapsable": true,
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{

View file

@ -126,8 +126,8 @@
- without label it is just wrap item holding `"key"`
- can't have `"is_group"` key set to True as it breaks visual override showing
- if `"label"` is entetered there which will be shown in GUI
- item with label can be collapsable
- that can be set with key `"collapsable"` as `True`/`False` (Default: `True`)
- item with label can be collapsible
- that can be set with key `"collapsible"` as `True`/`False` (Default: `True`)
- with key `"collapsed"` as `True`/`False` can be set that is collapsed when GUI is opened (Default: `False`)
- it is possible to add darker background with `"highlight_content"` (Default: `False`)
- darker background has limits of maximum applies after 3-4 nested highlighted items there is not difference in the color
@ -138,7 +138,7 @@
"key": "applications",
"type": "dict",
"label": "Applications",
"collapsable": true,
"collapsible": true,
"highlight_content": true,
"is_group": true,
"is_file": true,
@ -320,8 +320,8 @@
- there are 2 possible ways how to set the type:
1.) dictionary with item modifiers (`number` input has `minimum`, `maximum` and `decimals`) in that case item type must be set as value of `"type"` (example below)
2.) item type name as string without modifiers (e.g. `text`)
- this input can be collapsable
- that can be set with key `"collapsable"` as `True`/`False` (Default: `True`)
- this input can be collapsible
- that can be set with key `"collapsible"` as `True`/`False` (Default: `True`)
- with key `"collapsed"` as `True`/`False` can be set that is collapsed when GUI is opened (Default: `False`)
1.) with item modifiers

View file

@ -56,7 +56,7 @@ class FormWrapper(WrapperWidget):
class CollapsibleWrapper(WrapperWidget):
def create_ui(self):
self.collapsible = self.schema_data.get("collapsable", True)
self.collapsible = self.schema_data.get("collapsible", True)
self.collapsed = self.schema_data.get("collapsed", True)
content_widget = QtWidgets.QWidget(self)