Skip to content
Snippets Groups Projects
Select Git revision
  • d3bc82243bcc237c8747f2a94d43bb4dbeb62e18
  • master default protected
2 results

module_defaults.json

  • module_defaults.json 9.77 KiB
    {
        "AnalogClockWidget": {
            "scalable_font_size": {
                "name": "Font size",
                "description": "The font size of numbers on the clock.",
                "default": 20,
                "type": "integer"
            },
            "draw_clock_background": {
                "name": "Draw clock background",
                "description": "Draw the clock itself as a filled circle.",
                "default": true,
                "type": "boolean"
            },
            "scalable_inner_clock_radius": {
                "name": "Inner radius",
                "description": "The inner radius of the clock i.e. where the numbers/markings are placed.",
                "default": 80,
                "type": "integer"
            },
            "scalable_outer_clock_radius": {
                "name": "Outer radius",
                "description": "The outer radius of the clock.",
                "default": 100,
                "type": "integer"
            },
            "scalable_marking_length": {
                "name": "Marking length",
                "description": "The length of the markings on the clock.",
                "default": 10,
                "type": "integer"
            },
            "scalable_marking_width": {
                "name": "Marking width",
                "description": "The width of the markings on the clock.",
                "default": 2,
                "type": "integer"
            },
            "scalable_hour_hand_length": {
                "name": "Hour hand length",
                "description": "The length of the hour hand.",
                "default": 35,
                "type": "integer"
            },
            "scalable_minute_hand_length": {
                "name": "Minute hand length",
                "description": "The length of the minute hand.",
                "default": 60,
                "type": "integer"
            },
            "scalable_second_hand_length": {
                "name": "Second hand length",
                "description": "The length of the second hand.",
                "default": 75,
                "type": "integer"
            },
            "scalable_hour_hand_thickness": {
                "name": "Hour hand thickness",
                "description": "The thickness of the hour hand.",
                "default": 2,
                "type": "integer"
            },
            "scalable_minute_hand_thickness": {
                "name": "Minute hand thickness",
                "description": "The thickness of the minute hand.",
                "default": 2,
                "type": "integer"
            },
            "scalable_second_hand_thickness": {
                "name": "Second hand thickness",
                "description": "The thickness of the second hand.",
                "default": 1,
                "type": "integer"
            },
            "hands_rounded_edges": {
                "name": "Hands have rounded edges",
                "description": "Whether the hands should have rounded edges.",
                "default": true,
                "type": "boolean"
            },
            "hands_smooth_motion": {
                "name": "Hands have smooth motion",
                "description": "Whether the hands should move smoothly.",
                "default": true,
                "type": "boolean"
            },
            "hour_hand_color": {
                "name": "Hour hand colour",
                "description": "The colour of the hour hand.",
                "default": "#00ff00",
                "type": "color"
            },
            "minute_hand_color": {
                "name": "Minute hand colour",
                "description": "The colour of the minute hand.",
                "default": "#0000ff",
                "type": "color"
            },
            "second_hand_color": {
                "name": "Second hand colour",
                "description": "The colour of the second hand.",
                "default": "#ff0000",
                "type": "color"
            },
            "marking_color": {
                "name": "Marking colour",
                "description": "The colour of the markings on the clock.",
                "default": "#222222",
                "type": "color"
            },
            "clock_background_color": {
                "name": "Clock background color",
                "description": "The colour of the clock background.",
                "default": "#cccccc",
                "type": "color"
            },
            "draw_background": {
                "name": "Draw background",
                "description": "Draw the background of the widget.",
                "default": true,
                "type": "boolean"
            },
            "background_type": {
                "name": "Background type",
                "description": "The type of background to use (color or image).",
                "default": "color",
                "type": "enum",
                "allowed_values": ["color", "image"]
            },
            "background_color": {
                "name": "Background colour",
                "description": "The colour of the background.",
                "default": "#000000",
                "type": "color"
            },
            "background_image": {
                "name": "Background image",
                "description": "The image to use as the background.",
                "default": "",
                "type": "filepath"
            }
        },
        "DigitalClockWidget": {
            "scalable_font_size": {
                "name": "Font size",
                "description": "The font size of the clock.",
                "default": 45,
                "type": "integer"
            },
            "font_color": {
                "name": "Font colour",
                "description": "The colour of the font.",
                "default": "#cccccc",
                "type": "color"
            },
            "font_name": {
                "name": "Font name",
                "description": "The name of the font to use.",
                "default": null,
                "type": "font"
            },
            "font_bold": {
                "name": "Font bold",
                "description": "Whether the font should be bold.",
                "default": false,
                "type": "boolean"
            },
            "font_italic": {
                "name": "Font italic",
                "description": "Whether the font should be italic.",
                "default": false,
                "type": "boolean"
            },
            "draw_background": {
                "name": "Draw background",
                "description": "Draw the background of the widget.",
                "default": true,
                "type": "boolean"
            },
            "background_type": {
                "name": "Background type",
                "description": "The type of background to use (`color` or `image`).",
                "default": "color",
                "type": "enum",
                "allowed_values": ["color", "image"]
            },
            "background_color": {
                "name": "Background colour",
                "description": "The colour of the background.",
                "default": "#000000",
                "type": "color"
            },
            "background_image": {
                "name": "Background image",
                "description": "The image to use as the background.",
                "default": "",
                "type": "filepath"
            }
        },
        "IPShowWidget": {
            "scalable_font_size": {
                "name": "Font size",
                "description": "The font size of the clock.",
                "default": 20,
                "type": "integer"
            },
            "font_color": {
                "name": "Font colour",
                "description": "The colour of the font.",
                "default": "#cccccc",
                "type": "color"
            },
            "font_name": {
                "name": "Font name",
                "description": "The name of the font to use.",
                "default": null,
                "type": "font"
            },
            "font_bold": {
                "name": "Font bold",
                "description": "Whether the font should be bold.",
                "default": false,
                "type": "boolean"
            },
            "font_italic": {
                "name": "Font italic",
                "description": "Whether the font should be italic.",
                "default": false,
                "type": "boolean"
            },
            "draw_background": {
                "name": "Draw background",
                "description": "Draw the background of the widget.",
                "default": true,
                "type": "boolean"
            },
            "background_type": {
                "name": "Background type",
                "description": "The type of background to use (`color` or `image`).",
                "default": "color",
                "type": "enum",
                "allowed_values": ["color", "image"]
            },
            "background_color": {
                "name": "Background colour",
                "description": "The colour of the background.",
                "default": "#000000",
                "type": "color"
            },
            "background_image": {
                "name": "Background image",
                "description": "The image to use as the background.",
                "default": "",
                "type": "filepath"
            }
        },
        "TestWidget": {
            "color": {
                "name": "Colour",
                "description": "The colour of the widget.",
                "default": "#ff0000",
                "type": "color"
            },
            "background_color": {
                "name": "Background colour",
                "description": "The colour of the background.",
                "default": "#00ff00",
                "type": "color"
            },
            "text": {
                "name": "Text",
                "description": "The text to display.",
                "default": "Hello World",
                "type": "string"
            }
        },
        "SolidColorPattern": {
            "tick_rate": {
                "name": "Tick rate",
                "description": "The delay between ticks (in ms). If negative, will only run once.",
                "default": -1,
                "type": "integer",
                "hidden": true
            },
            "color": {
                "name": "Colour",
                "description": "The colour of the pattern.",
                "default": "#ff0000",
                "type": "color"
            }
        },
        "RainbowPattern": {
            "tick_rate": {
                "name": "Tick rate",
                "description": "The delay between ticks (in ms). If negative, will only run once.",
                "default": 10,
                "type": "integer"
            }
        }
    }