forked from qt-creator/qt-creator
Class name validation line edit can now force for capital letters
Qml components should be upper case. Makes the regular expression static. Change-Id: I46650df9b9ae10ceaf3bfb7f888db075f572735b Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
@@ -66,7 +66,7 @@ void ComponentNameDialog::go(QString *proposedName,
|
||||
ComponentNameDialog d(parent);
|
||||
d.ui->componentNameEdit->setNamespacesEnabled(false);
|
||||
d.ui->componentNameEdit->setLowerCaseFileName(false);
|
||||
d.ui->componentNameEdit->setClassNameMustBeCapital(true);
|
||||
d.ui->componentNameEdit->setForceFirstCapitalLetter(true);
|
||||
d.ui->componentNameEdit->setText(*proposedName);
|
||||
d.ui->pathEdit->setExpectedKind(Utils::PathChooser::ExistingDirectory);
|
||||
d.ui->pathEdit->setPath(*proposedPath);
|
||||
|
Reference in New Issue
Block a user