adding proxy models and search to all sql models

This commit is contained in:
Chris Cochrun 2023-02-17 10:09:41 -06:00
parent 45fbbde792
commit 57ffdc3ff0
8 changed files with 75 additions and 6 deletions

View file

@ -429,7 +429,7 @@ Item {
id: searchField
height: parent.height
width: parent.width - 40
onAccepted: showPassiveNotification(searchField.text, 3000)
onAccepted: videosqlmodel.setFilterRegExp(searchField.text)
}
}
/* visible: selectedLibrary == "videos" */
@ -712,7 +712,7 @@ Item {
id: searchField
height: parent.height
width: parent.width - 40
onAccepted: showPassiveNotification(searchField.text, 3000)
onAccepted: imagesqlmodel.setFilterRegExp(searchField.text)
}
}
/* visible: selectedLibrary == "images" */
@ -994,7 +994,7 @@ Item {
id: searchField
height: parent.height
width: parent.width - 40
onAccepted: showPassiveNotification(searchField.text, 3000)
onAccepted: pressqlmodel.setFilterRegExp(searchField.text)
}
}
/* visible: selectedLibrary == "presentations" */