{
    "version": 1,
    "supportedProjectTypes": [ ],
    "id": "D.Form",
    "category": "R.Qt",
    "trDescription": "Creates a Qt Widgets Designer form that you can add to a Qt Widget Project. This is useful if you already have an existing class for the UI business logic.",
    "trDisplayName": "Qt Widgets Designer Form",
    "trDisplayCategory": "Qt",
    "iconText": "ui",
    "enabled": "%{JS: isPluginRunning('designer')}",

    "options": [
        { "key": "UiClass", "value": "%{JS: QtSupport.uiClassName(value('FormContents'))}" },
        { "key": "Extension", "value": "%{JS: Util.preferredSuffix('application/x-designer')}"},
        { "key": "InitialFileName", "value": "%{JS: Cpp.classToFileName(value('UiClass'), value('Extension')) }" }
    ],

    "pages":
    [
        {
            "trDisplayName": "Choose a Form Template",
            "trShortTitle": "Form Template",
            "typeId": "Form"
        },
        {
            "trDisplayName": "Location",
            "trShortTitle": "Location",
            "typeId": "File"
        },
        {
            "trDisplayName": "Project Management",
            "trShortTitle": "Summary",
            "typeId": "Summary"
        }
    ],

    "generators":
    [
        {
            "typeId": "File",
            "data":
            {
                "source": "file.ui",
                "target": "%{JS: Util.fileName(value('TargetPath'), value('Extension'))}",
                "openInEditor": true
            }
        }
    ]
}
