wizard.json 961 Bytes
Newer Older
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
{
    "version": 1,
    "kind": "file",
    "id": "F.Resource",
    "category": "R.Qt",
    "trDescription": "Creates a Qt Resource file (.qrc).",
    "trDisplayName": "Qt Resource File",
    "trDisplayCategory": "Qt",
    "icon": "../../global/genericfilewizard.png",
    "featuresRequired": [ "Plugin.ResourceEditor" ],

    "pages" :
    [
        {
            "trDisplayName": "Location",
            "trShortTitle": "Location",
            "typeId": "File"
        },
        {
            "trDisplayName": "Project Management",
            "trShortTitle": "Summary",
            "typeId": "Summary"
        }
    ],
    "generators" :
    [
        {
            "typeId": "File",
            "data":
            {
                "source": "file.qrc",
                "target": "%{JS: Cpp.fileName('%{TargetPath}', '%{JS: Util.preferredSuffix('application/vnd.qt.xml.resource')}')}",
                "openInEditor": true
            }
        }
    ]
}