| 167 | } |
| 168 | |
| 169 | void QmitkNodeSelectionDialog::SetErrorText(const std::string& checkResponse) |
| 170 | { |
| 171 | m_Controls->error->setText(QString::fromStdString(checkResponse)); |
| 172 | m_Controls->error->setVisible(!checkResponse.empty()); |
| 173 | if (checkResponse.empty()) |
| 174 | { |
| 175 | m_Controls->layoutError->setContentsMargins(0, 0, 0, 0); |
| 176 | } |
| 177 | else |
| 178 | { |
| 179 | m_Controls->layoutError->setContentsMargins(6, 6, 6, 6); |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | bool QmitkNodeSelectionDialog::GetSelectOnlyVisibleNodes() const |
| 184 | { |
no test coverage detected