Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
@ui_->nameTemplateEdit->setValidator(new QRegExpValidator(QRegExp("[^\<>?:|"]"), this) );@
I could invalidate "<", ">", "?", ":", "*", "|", """ but can't invalidate "" How could I fix this?Thanks
The first escape sequence escapes from the C++ compiler, the second one from the regular expression. So to get a "" in the regular expression literally, you write "\" as regexp. To get "\" in a C++ string, you write "\\" in the code file.
Thank you very much