forked from qt-creator/qt-creator
Export Wizard values to JavaScript macro (Fixes)
This fixes a few misses from e0d38ae414
Change-Id: Ibd0253ca4045afe3745cafeca2f57b083e141bd3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
"trDisplayName": "Plain C++ Application",
|
"trDisplayName": "Plain C++ Application",
|
||||||
"trDisplayCategory": "Non-Qt Project",
|
"trDisplayCategory": "Non-Qt Project",
|
||||||
"icon": "../../global/consoleapplication.png",
|
"icon": "../../global/consoleapplication.png",
|
||||||
"enabled": "%{JS: [ %{Plugins} ].indexOf('CppEditor') >= 0 && ([ %{Plugins} ].indexOf('QmakeProjectManager') >= 0 || [ %{Plugins} ].indexOf('QbsProjectManager') >= 0 || [ %{Plugins} ].indexOf('CMakeProjectManager') >= 0)}",
|
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0 && (value('Plugins').indexOf('QmakeProjectManager') >= 0 || value('Plugins').indexOf('QbsProjectManager') >= 0 || value('Plugins').indexOf('CMakeProjectManager') >= 0)}",
|
||||||
|
|
||||||
"options":
|
"options":
|
||||||
[
|
[
|
||||||
@@ -44,17 +44,17 @@
|
|||||||
{
|
{
|
||||||
"trKey": "qmake",
|
"trKey": "qmake",
|
||||||
"value": "qmake",
|
"value": "qmake",
|
||||||
"condition": "%{JS: [ %{Plugins} ].indexOf('QmakeProjectManager') >= 0}"
|
"condition": "%{JS: value('Plugins').indexOf('QmakeProjectManager') >= 0}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"trKey": "CMake",
|
"trKey": "CMake",
|
||||||
"value": "cmake",
|
"value": "cmake",
|
||||||
"condition": "%{JS: [ %{Plugins} ].indexOf('CMakeProjectManager') >= 0}"
|
"condition": "%{JS: value('Plugins).indexOf('CMakeProjectManager') >= 0}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"trKey": "Qbs",
|
"trKey": "Qbs",
|
||||||
"value": "qbs",
|
"value": "qbs",
|
||||||
"condition": "%{JS: [ %{Plugins} ].indexOf('QbsProjectManager') >= 0}"
|
"condition": "%{JS: value('Plugins').indexOf('QbsProjectManager') >= 0}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -164,7 +164,7 @@
|
|||||||
"type": "CheckBox",
|
"type": "CheckBox",
|
||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
"checked": "%{JS: %{UseVirtualKeyboardByDefault}}"
|
"checked": "%{UseVirtualKeyboardByDefault}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@@ -215,7 +215,7 @@
|
|||||||
"type": "CheckBox",
|
"type": "CheckBox",
|
||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
"checked": "%{JS: %{UseVirtualKeyboardByDefault}}"
|
"checked": "%{UseVirtualKeyboardByDefault}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@@ -233,7 +233,7 @@
|
|||||||
"type": "CheckBox",
|
"type": "CheckBox",
|
||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
"checked": "%{JS: %{UseVirtualKeyboardByDefault}}"
|
"checked": "%{UseVirtualKeyboardByDefault}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@@ -233,7 +233,7 @@
|
|||||||
"type": "CheckBox",
|
"type": "CheckBox",
|
||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
"checked": "%{JS: %{UseVirtualKeyboardByDefault}}"
|
"checked": "%{UseVirtualKeyboardByDefault}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@@ -124,7 +124,7 @@
|
|||||||
"type": "CheckBox",
|
"type": "CheckBox",
|
||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
"checked": "%{JS: %{UseVirtualKeyboardByDefault}}"
|
"checked": "%{UseVirtualKeyboardByDefault}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
"trDisplayName": "Bazaar Clone (Or Branch)",
|
"trDisplayName": "Bazaar Clone (Or Branch)",
|
||||||
"trDisplayCategory": "Import Project",
|
"trDisplayCategory": "Import Project",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"enabled": "%{JS: [ %{Plugins} ].indexOf('Bazaar') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('Bazaar') >= 0}",
|
||||||
|
|
||||||
"options":
|
"options":
|
||||||
[
|
[
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
"trDisplayName": "CVS Checkout",
|
"trDisplayName": "CVS Checkout",
|
||||||
"trDisplayCategory": "Import Project",
|
"trDisplayCategory": "Import Project",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"enabled": "%{JS: [ %{Plugins} ].indexOf('CVS') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('CVS') >= 0}",
|
||||||
|
|
||||||
"options":
|
"options":
|
||||||
[
|
[
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
"trDisplayName": "Git Clone",
|
"trDisplayName": "Git Clone",
|
||||||
"trDisplayCategory": "Import Project",
|
"trDisplayCategory": "Import Project",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"enabled": "%{JS: [ %{Plugins} ].indexOf('Git') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('Git') >= 0}",
|
||||||
|
|
||||||
"options":
|
"options":
|
||||||
[
|
[
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
"trDisplayName": "Mercurial Clone",
|
"trDisplayName": "Mercurial Clone",
|
||||||
"trDisplayCategory": "Import Project",
|
"trDisplayCategory": "Import Project",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"enabled": "%{JS: [ %{Plugins} ].indexOf('Mercurial') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('Mercurial') >= 0}",
|
||||||
|
|
||||||
"options":
|
"options":
|
||||||
[
|
[
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
"trDisplayName": "Subversion Checkout",
|
"trDisplayName": "Subversion Checkout",
|
||||||
"trDisplayCategory": "Import Project",
|
"trDisplayCategory": "Import Project",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"enabled": "%{JS: [ %{Plugins} ].indexOf('Subversion') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('Subversion') >= 0}",
|
||||||
|
|
||||||
"options":
|
"options":
|
||||||
[
|
[
|
||||||
|
Reference in New Issue
Block a user