Added video search page and model

This commit is contained in:
Digital Artifex
2026-06-19 02:06:05 -04:00
parent 7fe140ce7e
commit f65026d173
7 changed files with 856 additions and 4 deletions
+23 -2
View File
@@ -83,7 +83,27 @@ Rectangle {
currentMenuButton = this
searchContainer.preferredHeight = 50
// searchContainer.searchTerm = (pageLoader.page as ImageSearchPage).query
}
}
MenuButton {
Layout.alignment: Qt.AlignTop
height: 64
width: 100
text: "Videos"
icon.height: 32
icon.width: 32
icon.url: "qrc:/images/icons/icons8-video.svg"
onTriggered: () => {
pageLoader.page = "pages/VideoSearchPage.qml"
currentMenuButton.selected = false
currentMenuButton = this
searchContainer.preferredHeight = 50
}
}
@@ -287,7 +307,8 @@ Rectangle {
{
return (
pageLoader.item instanceof ImageSearchPage ||
pageLoader.item instanceof LiveSearchPage
pageLoader.item instanceof LiveSearchPage ||
pageLoader.item instanceof VideoSearchPage
);
}
}