adding proxy models and search to all sql models
This commit is contained in:
parent
45fbbde792
commit
57ffdc3ff0
8 changed files with 75 additions and 6 deletions
|
@ -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" */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue