We observed that project directly using the enum failed to build:
/path/to/Slicer-Release/Slicer-build/Modules/Scripted/DICOMLib/Widgets/ui_qSlicerDICOMExportDialog.h:185:64: error: ‘ShowDirsOnly’ is not a member of ‘ctkPathLineEdit’
185 | PathLineEdit_OutputFolder->setOptions(ctkPathLineEdit::ShowDirsOnly);
| ^~~~~~~~~~~~
Considering that ctkDirectoryButton and ctkPathLineEdit both derive from QWidget and user code may use references to option like ctkPathLineEdit::ShowDirsOnly (instead of QFileDialog::ShowDirsOnly), this was reverted through the integration of:
After integrating pull request
We observed that project directly using the enum failed to build:
Considering that
ctkDirectoryButton
andctkPathLineEdit
both derive fromQWidget
and user code may use references to option likectkPathLineEdit::ShowDirsOnly
(instead ofQFileDialog::ShowDirsOnly
), this was reverted through the integration of:To support existing use case, the old API should instead be deprecated.