aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json
blob: 0f1ce91cf789a942e89dfc28de9ffac668e1b0b8 (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
{
    "version": 1,
    "supportedProjectTypes": [ "PythonProject" ],
    "id": "U.QtForPythonApplicationEmpty",
    "category": "F.Application",
    "trDescription": "Creates a Qt for Python application that only the main code for a QApplication",
    "trDisplayName": "Qt for Python - Empty",
    "trDisplayCategory": "Application",
    "icon": "icon.png",
    "enabled": "%{JS: [ %{Plugins} ].indexOf('PythonEditor') >= 0}",
    "featuresRequired": [ "QtSupport.Wizards.FeatureQt.5.6" ],

    "options":
    [
        { "key": "MainPyFileName", "value": "main.py" },
        { "key": "PyProjectFile", "value": "main.pyproject" }
    ],

    "pages":
    [
        {
            "trDisplayName": "Project Location",
            "trShortTitle": "Location",
            "typeId": "Project"
        },
        {
            "trDisplayName": "Project Management",
            "trShortTitle": "Summary",
            "typeId": "Summary"
        }
    ],
    "generators":
    [
        {
            "typeId": "File",
            "data":
            [
                {
                    "source": "../main.pyproject",
                    "target": "%{PyProjectFile}",
                    "openAsProject": true
                },
                {
                    "source": "../main_empty.py",
                    "target": "%{MainPyFileName}",
                    "openInEditor": true
                }
            ]
        }
    ]
}