{
    "version": 1,
    "supportedProjectTypes": [ "Qt4ProjectManager.Qt4Project" ],
    "id": "U.QtForPythonApplicationWindow",
    "category": "F.Application",
    "trDescription": "Creates a Qt for Python application that contains an empty window.",
    "trDisplayName": "Qt for Python - Window",
    "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_mainwindow.py",
                    "target": "%{MainPyFileName}",
                    "openInEditor": true
                }
            ]
        }
    ]
}
