enh(ui): allow to modify the displayed columns in the series selector widget
Description
The series selector widget currently displays a lot of information about the series, and it is too much for some applications based on Sight. It should be allowed to be modified in order to allow to select the columns to be displayed.
Proposal
Optional section to give some functional or technical hints
Functional specifications
Add a new config displayedColumns
for module::io::dicom::SReader
which would allow to configure the columns to be displayed as a list of comma-separated column name, such as displayedColumns="PatientID,Modality,Description,Date,Time,BodyPart,PatientPosition"
.
Technical specifications
ui::qt::series::SelectorModel
constructor will have a new parameter, which is the aforementioned list of columns. This list will be used in order to create the QTreeWidgetView which displays the column.
Test plan
Manual testing.