HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
empty_string_validator.cpp
Go to the documentation of this file.
2 
3 namespace hal
4 {
6  {
7  setFailText("Chosen input can't be empty.");
8  }
9 
11  {
12  return !input.trimmed().isEmpty();
13  }
14 }
bool validate(const QString &input)
void setFailText(const QString &text)
Definition: validator.cpp:5
Definition: defines.h:45