| 86 | } |
| 87 | |
| 88 | QString NewComponentDialog::uid() const |
| 89 | { |
| 90 | auto result = ui->uidTextBox->text(); |
| 91 | if(result.size()) |
| 92 | { |
| 93 | return result.trimmed(); |
| 94 | } |
| 95 | result = ui->uidTextBox->placeholderText(); |
| 96 | if(result.size() && result != originalPlaceholderText) |
| 97 | { |
| 98 | return result.trimmed(); |
| 99 | } |
| 100 | return QString(); |
| 101 | } |
| 102 | |
| 103 | void NewComponentDialog::setBlacklist(QStringList badUids) |
| 104 | { |
no test coverage detected