aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qmldesigner/studio_templates/files/javascript/wizard.json
blob: 7ba90f75f6f682afd7555679a58ef2660e9b0043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
    "version": 1,
    "supportedProjectTypes": [ ],
    "id": "Z.QtStudio.JavaScript.2",
    "category": "R.StudioJSFiles",
    "trDescription": "Creates a JavaScript file.",
    "trDisplayName": "JavaScript File",
    "trDisplayCategory": "JavaScript",
    "icon": "file_javascript.png",
    "platformIndependent": true,


    "pages" :
    [
        {
            "trDisplayName": "Location",
            "trShortTitle": "Location",
            "typeId": "File"
        },
        {
            "trDisplayName": "Options",
            "trShortTitle": "Options",
            "typeId": "Fields",
            "data":
            [
                {
                    "name": "Stateless",
                    "trDisplayName": "Stateless library",
                    "type": "CheckBox",
                    "span": true,
                    "data":
                    {
                        "checked": false
                    }
                }
            ]
        },
        {
            "trDisplayName": "Project Management",
            "trShortTitle": "Summary",
            "typeId": "Summary"
        }
    ],
    "generators" :
    [
        {
            "typeId": "File",
            "data":
            {
                "source": "file.js.tpl",
                "target": "%{JS: Util.fileName('%{TargetPath}', '%{JS: Util.preferredSuffix('application/javascript')}')}",
                "openInEditor": true
            }
        }
    ]
}