{
    "version": 1,
    "supportedProjectTypes": [ "PythonProject" ],
    "id": "F.QtForPythonApplicationEmpty",
    "category": "F.ApplicationPySide",
    "trDescription": "Creates a Qt for Python application that contains only the main code for a QApplication.",
    "trDisplayName": "Qt for Python - Empty",
    "trDisplayCategory": "Application (Qt for Python)",
    "icon": "icon.png",
    "enabled": "%{JS: value('Plugins').indexOf('Python') >= 0}",

    "options":
    [
        { "key": "SrcFileName", "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": "%{SrcFileName}",
                    "openInEditor": true
                },
                {
                    "source": "../../git.ignore",
                    "target": ".gitignore",
                    "condition": "%{JS: !value('IsSubproject') && value('VersionControl') === 'G.Git'}"
                }
            ]
        }
    ]
}
