mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12:46 +00:00
WIP: logic rewrite
WIP: adding loaders
This commit is contained in:
parent
b9b08ab384
commit
2360b261f7
1769 changed files with 124903 additions and 1963 deletions
7
qtquick/qml/ApiClient.qml
Normal file
7
qtquick/qml/ApiClient.qml
Normal file
|
@ -0,0 +1,7 @@
|
|||
pragma Singleton
|
||||
import QtQuick 2.12
|
||||
import nl.netsoj.chris.Jellyfin 1.0 as J
|
||||
|
||||
J.ApiClient {
|
||||
supportedCommands: [J.GeneralCommandType.Play]
|
||||
}
|
|
@ -2,10 +2,11 @@ import QtQuick 2.12
|
|||
import QtQuick.Controls 2.12
|
||||
import QtQuick.Window 2.12
|
||||
|
||||
import nl.netsoj.chris.Jellyfin 1.0
|
||||
import nl.netsoj.chris.Jellyfin 1.0 as J
|
||||
|
||||
import "components"
|
||||
import ".."
|
||||
import "."
|
||||
|
||||
ApplicationWindow {
|
||||
id: appWindow
|
||||
|
|
|
@ -2,7 +2,7 @@ import QtQuick 2.12
|
|||
import QtQuick.Controls 2.12
|
||||
import QtQuick.Window 2.12
|
||||
|
||||
import nl.netsoj.chris.Jellyfin 1.0
|
||||
import nl.netsoj.chris.Jellyfin 1.0 as J
|
||||
|
||||
import "../components"
|
||||
import "../.."
|
||||
|
@ -18,7 +18,7 @@ Page {
|
|||
}
|
||||
}
|
||||
|
||||
UserViewModel {
|
||||
J.UserViewModel {
|
||||
id: mediaLibraryModel
|
||||
apiClient: ApiClient
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ Page {
|
|||
model: mediaLibraryModel
|
||||
Column {
|
||||
width: parent.width
|
||||
UserItemLatestModel {
|
||||
J.UserItemLatestModel {
|
||||
id: userItemModel
|
||||
apiClient: ApiClient
|
||||
parentId: model.id
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.12
|
||||
|
||||
import nl.netsoj.chris.Jellyfin 1.0
|
||||
import nl.netsoj.chris.Jellyfin 1.0 as J
|
||||
|
||||
import "../../components"
|
||||
import "../../.."
|
||||
import "../.."
|
||||
|
||||
Page {
|
||||
property string loginMessage
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.12
|
||||
|
||||
import nl.netsoj.chris.Jellyfin 1.0
|
||||
import nl.netsoj.chris.Jellyfin 1.0 as J
|
||||
|
||||
import "../../components"
|
||||
import "../../.."
|
||||
import "../.."
|
||||
|
||||
Page {
|
||||
property string selectedServerName
|
||||
|
@ -52,7 +53,7 @@ Page {
|
|||
}
|
||||
}
|
||||
|
||||
ServerDiscoveryModel {
|
||||
J.ServerDiscoveryModel {
|
||||
id: discoveryModel
|
||||
}
|
||||
|
||||
|
|
1
qtquick/qml/qmldir
Normal file
1
qtquick/qml/qmldir
Normal file
|
@ -0,0 +1 @@
|
|||
singleton ApiClient 1.0 ApiClient.qml
|
Loading…
Add table
Add a link
Reference in a new issue