1
0
Fork 0
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:
Chris Josten 2021-03-24 20:04:03 +01:00
parent b9b08ab384
commit 2360b261f7
1769 changed files with 124903 additions and 1963 deletions

View 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]
}

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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
View file

@ -0,0 +1 @@
singleton ApiClient 1.0 ApiClient.qml