Applies filter to just show the images in the ImageViewer

Authored by atulsharma on Jul 10 2017, 6:24 PM.

Description

Applies filter to just show the images in the ImageViewer

Summary:

  • adds SortModel in ImageViewer to filter just the images for the ImageViewer listView
  • uses filterRole and filterRegExp properties exposed by QSortFilterProxyModel
  • mapping from source and to source are done in order to keep the currentItem consistent for every view

Reviewers: Koko, mart

Reviewed By: Koko, mart

Maniphest Tasks: T6268

Differential Revision: https://phabricator.kde.org/D6607

Details

Committed
atulsharmaJul 11 2017, 8:47 AM
Reviewer
Koko
Differential Revision
D6607: Applies filter to just show the images in the ImageViewer
Parents
R659:e80a422eb0f5: change back to item
Branches
Unknown
Tags
Unknown