Feature: Multiple file selection
jpdefrutos opened this issue · comments
Javier Pérez de Frutos commented
Current solution only support selection of multiple files. This supports selection of multiple folders.
file_system_model = QFileSystemModel()
file_list_view = QListView()
file_list_view.setModel(file_system_model)
file_list_view.setSelectionMode(QAbstractItemView.ExtendedSelection) # Press CTRL to select multiple items, SHIFT for a range
file_list_view.setSelectionMode(QAbstractItemView.MultipleSelection) # Select/deselect multiple items by clicking on them
André Pedersen commented
This is tied to another issue: #7
Should be easy to add, just need to create a custom QDialog widget that includes this file/folder selection system.
André Pedersen commented
This feature is not needed, as it is possible to provide a folder structure as input instead, which is more convenient as it reproduces the same output directory tree as output.
Resolved in 2c57421.