Makes the basics of ImageFolderModel works
ClosedPublic

Authored by atulsharma on Jun 30 2017, 8:24 PM.

Details

Summary

Refs T6421

  • "By Folder" navigation works now
  • Selection is also possible in "By Folder" view
  • On clicking or selecting a folder( which is distinguished by the AlbumDelegate) a new column is pushed to the pageStack
  • "By Folder" shows mixed folders and images that are navigable in hierarchy
  • SelectedRole from the ImageFolderModel is removed as the ImageFolderModel is wrapped inside that of the SortModel which already implements SelectedRole

Diff Detail

Repository
R659 Koko Image Gallery
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
atulsharma created this revision.Jun 30 2017, 8:24 PM
atulsharma updated this revision to Diff 16077.Jul 1 2017, 9:14 AM
  • A little more better.
  • SelectedRole is removed from the ImageFolderModel, as now it is wrapped inside the SortModel
atulsharma edited the summary of this revision. (Show Details)Jul 1 2017, 9:16 AM
mart edited edge metadata.Jul 1 2017, 7:02 PM

On the good path: it can be simplified by using the pagerow internal logic to create component s

qmlUiKirigami/AlbumDelegate.qml
117

Why is creating it manually? You can push directly a filename to the pagestack and will create the component for you

atulsharma updated this revision to Diff 16090.Jul 1 2017, 7:19 PM

Removes the manual creation of AlbumView page component.

atulsharma marked an inline comment as done.Jul 1 2017, 7:20 PM
mart accepted this revision.Jul 3 2017, 8:04 AM
This revision is now accepted and ready to land.Jul 3 2017, 8:04 AM
This revision was automatically updated to reflect the committed changes.