From b83bbfa75469e6cfb3c2ed4e8ef848b73def649c Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 9 Dec 2020 17:54:08 +0100 Subject: [PATCH] Wizards: Add placeholder text ... to class name field in "New Class" wizard. This way, users understand right away that the class name can include namespaces. Change-Id: I84aaf2aca532a97ba40f72fd2385fcab40788970 Reviewed-by: Eike Ziller --- share/qtcreator/templates/wizards/classes/cpp/wizard.json | 1 + 1 file changed, 1 insertion(+) diff --git a/share/qtcreator/templates/wizards/classes/cpp/wizard.json b/share/qtcreator/templates/wizards/classes/cpp/wizard.json index b66a7b34ba8..33ba82355a9 100644 --- a/share/qtcreator/templates/wizards/classes/cpp/wizard.json +++ b/share/qtcreator/templates/wizards/classes/cpp/wizard.json @@ -36,6 +36,7 @@ "mandatory": true, "type": "LineEdit", "data": { + "trPlaceholder": "Fully qualified name, including namespaces", "validator": "(?:(?:[a-zA-Z_][a-zA-Z_0-9]*::)*[a-zA-Z_][a-zA-Z_0-9]*|)", "completion": "namespaces" }