From 03ddc603cf9214bee95d83285b198ce5c8687456 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 19 Dec 2019 11:00:42 +0100 Subject: Wizards: Split Application category It lately became messy and it feels like it is time to clean up these a bit. Change-Id: I7b5da97cd7ad4231e28db13c98db16c656c8a6b0 Reviewed-by: Alessandro Portale --- share/qtcreator/templates/wizards/projects/consoleapp/wizard.json | 4 ++-- .../wizards/projects/qtforpythonapplication/empty/wizard.json | 4 ++-- .../wizards/projects/qtforpythonapplication/mainwindow/wizard.json | 4 ++-- .../projects/qtforpythonapplication/qtquickapplication/wizard.json | 4 ++-- .../wizards/projects/qtforpythonapplication/widget/wizard.json | 4 ++-- .../templates/wizards/projects/qtquickapplication/empty/wizard.json | 4 ++-- .../templates/wizards/projects/qtquickapplication/scroll/wizard.json | 4 ++-- .../templates/wizards/projects/qtquickapplication/stack/wizard.json | 4 ++-- .../templates/wizards/projects/qtquickapplication/swipe/wizard.json | 4 ++-- .../templates/wizards/projects/qtwidgetsapplication/wizard.json | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) (limited to 'share') diff --git a/share/qtcreator/templates/wizards/projects/consoleapp/wizard.json b/share/qtcreator/templates/wizards/projects/consoleapp/wizard.json index aa64d12bed..b54e769d66 100644 --- a/share/qtcreator/templates/wizards/projects/consoleapp/wizard.json +++ b/share/qtcreator/templates/wizards/projects/consoleapp/wizard.json @@ -2,10 +2,10 @@ "version": 1, "supportedProjectTypes": [ "CMakeProjectManager.CMakeProject", "Qbs.QbsProject", "Qt4ProjectManager.Qt4Project" ], "id": "E.QtCore", - "category": "F.Application", + "category": "D.ApplicationQt", "trDescription": "Creates a project containing a single main.cpp file with a stub implementation.\n\nPreselects a desktop Qt for building the application if available.", "trDisplayName": "Qt Console Application", - "trDisplayCategory": "Application", + "trDisplayCategory": "Application (Qt)", "icon": "../../global/consoleapplication.png", "featuresRequired": [ "QtSupport.Wizards.FeatureQt" ], "enabled": "%{JS: value('Plugins').indexOf('QmakeProjectManager') >= 0 || value('Plugins').indexOf('QbsProjectManager') >= 0 || value('Plugins').indexOf('CMakeProjectManager') >= 0}", diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json index 33fe0b0abb..c4aa5421a9 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json @@ -2,10 +2,10 @@ "version": 1, "supportedProjectTypes": [ "PythonProject" ], "id": "F.QtForPythonApplicationEmpty", - "category": "F.Application", + "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", + "trDisplayCategory": "Application (Qt for Python)", "icon": "icon.png", "enabled": "%{JS: value('Plugins').indexOf('Python') >= 0}", diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json index cdbe2bf53f..cbc85f9067 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json @@ -2,10 +2,10 @@ "version": 1, "supportedProjectTypes": [ "PythonProject" ], "id": "F.QtForPythonApplicationWindow", - "category": "F.Application", + "category": "F.ApplicationPySide", "trDescription": "Creates a Qt for Python application that contains an empty window.", "trDisplayName": "Qt for Python - Window", - "trDisplayCategory": "Application", + "trDisplayCategory": "Application (Qt for Python)", "icon": "../icons/icon.png", "enabled": "%{JS: value('Plugins').indexOf('Python') >= 0}", diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json index a0e7fcef02..83a3436462 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json @@ -2,10 +2,10 @@ "version": 1, "supportedProjectTypes": [ "PythonProject" ], "id": "F.QtQuickQtForPythonApplicationEmpty", - "category": "F.Application", + "category": "F.ApplicationPySide", "trDescription": "Creates a Qt Quick application that contains an empty window.", "trDisplayName": "Qt for Python - Qt Quick Application - Empty", - "trDisplayCategory": "Application", + "trDisplayCategory": "Application (Qt for Python)", "icon": "../icons/icon.png", "enabled": "%{JS: value('Plugins').indexOf('Python') >= 0}", diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json index 3bdfa8459a..d7b03f0831 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json @@ -2,10 +2,10 @@ "version": 1, "supportedProjectTypes": [ "PythonProject" ], "id": "F.QtForPythonApplicationWindowWidget", - "category": "F.Application", + "category": "F.ApplicationPySide", "trDescription": "Creates a Qt for Python application that includes a Qt Designer-based widget (ui file)", "trDisplayName": "Qt for Python - Window (UI file)", - "trDisplayCategory": "Application", + "trDisplayCategory": "Application (Qt for Python)", "icon": "../icons/icon.png", "enabled": "%{JS: value('Plugins').indexOf('Python') >= 0}", diff --git a/share/qtcreator/templates/wizards/projects/qtquickapplication/empty/wizard.json b/share/qtcreator/templates/wizards/projects/qtquickapplication/empty/wizard.json index 20feee368c..38f6855088 100644 --- a/share/qtcreator/templates/wizards/projects/qtquickapplication/empty/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtquickapplication/empty/wizard.json @@ -2,10 +2,10 @@ "version": 1, "supportedProjectTypes": [ "CMakeProjectManager.CMakeProject", "Qbs.QbsProject", "Qt4ProjectManager.Qt4Project" ], "id": "U.QtQuickApplicationEmpty", - "category": "F.Application", + "category": "E.ApplicationQtQuick", "trDescription": "Creates a Qt Quick application that contains an empty window.", "trDisplayName": "Qt Quick Application - Empty", - "trDisplayCategory": "Application", + "trDisplayCategory": "Application (Qt Quick)", "icon": "icon.png", "featuresRequired": [ "QtSupport.Wizards.FeatureQt.5.6" ], "enabled": "%{JS: value('Plugins').indexOf('QmakeProjectManager') >= 0 || value('Plugins').indexOf('QbsProjectManager') >= 0 || value('Plugins').indexOf('CMakeProjectManager') >= 0}", diff --git a/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/wizard.json b/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/wizard.json index 0b9a23b714..576e47d3e8 100644 --- a/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/wizard.json @@ -2,10 +2,10 @@ "version": 1, "supportedProjectTypes": [ "CMakeProjectManager.CMakeProject", "Qbs.QbsProject", "Qt4ProjectManager.Qt4Project" ], "id": "V.QtQuickApplicationScroll", - "category": "F.Application", + "category": "E.ApplicationQtQuick", "trDescription": "Creates a Qt Quick Controls application with a ScrollView.", "trDisplayName": "Qt Quick Application - Scroll", - "trDisplayCategory": "Application", + "trDisplayCategory": "Application (Qt Quick)", "icon": "icon.png", "featuresRequired": [ "QtSupport.Wizards.FeatureQt.5.9" ], "enabled": "%{JS: value('Plugins').indexOf('QmakeProjectManager') >= 0 || value('Plugins').indexOf('QbsProjectManager') >= 0 || value('Plugins').indexOf('CMakeProjectManager') >= 0}", diff --git a/share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json b/share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json index 012cc1530b..34eca289d5 100644 --- a/share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json @@ -2,10 +2,10 @@ "version": 1, "supportedProjectTypes": [ "CMakeProjectManager.CMakeProject", "Qbs.QbsProject", "Qt4ProjectManager.Qt4Project" ], "id": "V.QtQuickApplicationStack", - "category": "F.Application", + "category": "E.ApplicationQtQuick", "trDescription": "Creates a Qt Quick Controls application with a StackView to display content, and a Drawer and ToolBar for navigation.", "trDisplayName": "Qt Quick Application - Stack", - "trDisplayCategory": "Application", + "trDisplayCategory": "Application (Qt Quick)", "icon": "icon.png", "featuresRequired": [ "QtSupport.Wizards.FeatureQt.5.7" ], "enabled": "%{JS: value('Plugins').indexOf('QmakeProjectManager') >= 0 || value('Plugins').indexOf('QbsProjectManager') >= 0 || value('Plugins').indexOf('CMakeProjectManager') >= 0}", diff --git a/share/qtcreator/templates/wizards/projects/qtquickapplication/swipe/wizard.json b/share/qtcreator/templates/wizards/projects/qtquickapplication/swipe/wizard.json index 2b8c3f74ee..5f9a544cfc 100644 --- a/share/qtcreator/templates/wizards/projects/qtquickapplication/swipe/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtquickapplication/swipe/wizard.json @@ -2,10 +2,10 @@ "version": 1, "supportedProjectTypes": [ "CMakeProjectManager.CMakeProject", "Qbs.QbsProject", "Qt4ProjectManager.Qt4Project" ], "id": "V.QtQuickApplicationSwipe", - "category": "F.Application", + "category": "E.ApplicationQtQuick", "trDescription": "Creates a Qt Quick Controls application with a SwipeView for navigation.", "trDisplayName": "Qt Quick Application - Swipe", - "trDisplayCategory": "Application", + "trDisplayCategory": "Application (Qt Quick)", "icon": "icon.png", "featuresRequired": [ "QtSupport.Wizards.FeatureQt.5.7" ], "enabled": "%{JS: value('Plugins').indexOf('QmakeProjectManager') >= 0 || value('Plugins').indexOf('QbsProjectManager') >= 0 || value('Plugins').indexOf('CMakeProjectManager') >= 0}", diff --git a/share/qtcreator/templates/wizards/projects/qtwidgetsapplication/wizard.json b/share/qtcreator/templates/wizards/projects/qtwidgetsapplication/wizard.json index 055299f94d..a33f0cb563 100644 --- a/share/qtcreator/templates/wizards/projects/qtwidgetsapplication/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtwidgetsapplication/wizard.json @@ -2,10 +2,10 @@ "version": 1, "supportedProjectTypes": [ "CMakeProjectManager.CMakeProject", "Qt4ProjectManager.Qt4Project", "Qbs.QbsProject" ], "id": "C.QtWidgets", - "category": "F.Application", + "category": "D.ApplicationQt", "trDescription": "Creates a Qt application for the desktop. Includes a Qt Designer-based main window.\n\nPreselects a desktop Qt for building the application if available.", "trDisplayName": "Qt Widgets Application", - "trDisplayCategory": "Application", + "trDisplayCategory": "Application (Qt)", "icon": "../../global/guiapplication.png", "featuresRequired": [ "QtSupport.Wizards.FeatureQt" ], "enabled": "%{JS: value('Plugins').indexOf('QmakeProjectManager') >= 0 || value('Plugins').indexOf('CMakeProjectManager') >= 0 || value('Plugins').indexOf('QbsProjectManager') >= 0}", -- cgit v1.2.1