|
|
@ -616,8 +616,8 @@ UBFeaturesNewFolderDialog::UBFeaturesNewFolderDialog(QWidget *parent) : QWidget( |
|
|
|
QLabel *mLabel = new QLabel(labelText, this); |
|
|
|
QLabel *mLabel = new QLabel(labelText, this); |
|
|
|
mLineEdit = new QLineEdit(this); |
|
|
|
mLineEdit = new QLineEdit(this); |
|
|
|
|
|
|
|
|
|
|
|
mValidator = new QRegExpValidator(QRegExp("[\^\/\:\?\*\|\<\>\"]{2,}"), this); |
|
|
|
//mValidator = new QRegExpValidator(QRegExp("[A-Za-z][1-9][0-9]{0,2}"), this);
|
|
|
|
mLineEdit->setValidator(mValidator); |
|
|
|
//mLineEdit->setValidator(mValidator);
|
|
|
|
labelLayout->addWidget(mLabel); |
|
|
|
labelLayout->addWidget(mLabel); |
|
|
|
labelLayout->addWidget(mLineEdit); |
|
|
|
labelLayout->addWidget(mLineEdit); |
|
|
|
|
|
|
|
|
|
|
|