Skip to content
Snippets Groups Projects
  • Sergey Shambir's avatar
    2151e763
    Utils: refactored ClassNameValidatingLineEdit · 2151e763
    Sergey Shambir authored
    
    Now this class can accept '.' namespaces delimiter, which is used in
    python. Changed behavior a bit: if namespaces disabled, error message
    for 'Namespace:Widget' now is 'The class name contains invalid
    characters' instead of 'The class name must not contain namespace
    delimiters'. Error message for 'Namespace::Widget' not changed.
    
    Change-Id: I45283ca2002957552375419f1cf3137632dcacdb
    Reviewed-by: default avatarhjk <qthjk@ovi.com>
    2151e763
    History
    Utils: refactored ClassNameValidatingLineEdit
    Sergey Shambir authored
    
    Now this class can accept '.' namespaces delimiter, which is used in
    python. Changed behavior a bit: if namespaces disabled, error message
    for 'Namespace:Widget' now is 'The class name contains invalid
    characters' instead of 'The class name must not contain namespace
    delimiters'. Error message for 'Namespace::Widget' not changed.
    
    Change-Id: I45283ca2002957552375419f1cf3137632dcacdb
    Reviewed-by: default avatarhjk <qthjk@ovi.com>