| 105 | } |
| 106 | |
| 107 | QString NewComponentDialog::uid() const |
| 108 | { |
| 109 | auto result = ui->uidTextBox->text(); |
| 110 | if (result.size()) { |
| 111 | return result.trimmed(); |
| 112 | } |
| 113 | result = ui->uidTextBox->placeholderText(); |
| 114 | if (result.size() && result != originalPlaceholderText) { |
| 115 | return result.trimmed(); |
| 116 | } |
| 117 | return QString(); |
| 118 | } |
| 119 | |
| 120 | void NewComponentDialog::setBlacklist(QStringList badUids) |
| 121 | { |
no test coverage detected