| 393 | } |
| 394 | |
| 395 | void DatapickerImageWidget::embeddedChanged(bool embedded) { |
| 396 | CONDITIONAL_LOCK_RETURN; |
| 397 | |
| 398 | for (auto* image : m_imagesList) |
| 399 | image->setEmbedded(embedded); |
| 400 | |
| 401 | // embedded property was set, update the file name LineEdit after this |
| 402 | if (embedded) { |
| 403 | QFileInfo fi(m_image->fileName()); |
| 404 | ui.leFileName->setText(fi.fileName()); |
| 405 | } else |
| 406 | ui.leFileName->setText(m_image->fileName()); |
| 407 | } |
| 408 | |
| 409 | void DatapickerImageWidget::relativeChanged(bool relative) { |
| 410 | CONDITIONAL_LOCK_RETURN; |
nothing calls this directly
no test coverage detected