Changeset View
Changeset View
Standalone View
Standalone View
qmlUiKirigami/Main.qml
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Line(s) | 92 | case "Folders": { | |||
---|---|---|---|---|---|
96 | break; | 96 | break; | ||
97 | } | 97 | } | ||
98 | } | 98 | } | ||
99 | } | 99 | } | ||
100 | } | 100 | } | ||
101 | 101 | | |||
102 | Koko.SortModel { | 102 | Koko.SortModel { | ||
103 | id: imageFolderModel | 103 | id: imageFolderModel | ||
104 | sourceModel: Koko.ImageFolderModel {} | 104 | sourceModel: Koko.ImageFolderModel { | ||
105 | url: imagePathArgument | ||||
106 | } | ||||
105 | /* | 107 | /* | ||
106 | * filterRole is an Item property exposed by the QSortFilterProxyModel | 108 | * filterRole is an Item property exposed by the QSortFilterProxyModel | ||
107 | */ | 109 | */ | ||
108 | filterRole: Koko.Roles.MimeTypeRole | 110 | filterRole: Koko.Roles.MimeTypeRole | ||
109 | } | 111 | } | ||
110 | 112 | | |||
111 | Koko.SortModel { | 113 | Koko.SortModel { | ||
112 | id: imageTimeModelYear | 114 | id: imageTimeModelYear | ||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |