Warning, /utilities/alpaka/src/apps/qml/main.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2023 Loren Burkholder <computersemiexpert@outlook.com> 0002 // SPDX-FileCopyrightText: 2023 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com> 0003 // 0004 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 0006 import QtQuick 0007 import QtQuick.Controls as Controls 0008 import QtQuick.Layouts 0009 import org.kde.kirigami as Kirigami 0010 import org.kde.coreaddons as KCoreAddons 0011 import org.kde.kirigamiaddons.components as KirigamiComponents 0012 import org.kde.alpaka 0013 0014 Kirigami.ApplicationWindow { 0015 id: root 0016 0017 title: i18nc("@title:window", "Alpaka") 0018 0019 ChatModel { id: chat } 0020 0021 SystemPalette { id: palette } 0022 0023 KCoreAddons.KUser { id: localUser } 0024 0025 Connections { 0026 target: chat.llm 0027 0028 function onErrorOccurred(message: string) { 0029 errorBanner.text = message; 0030 } 0031 } 0032 0033 Component { 0034 id: settingsPage 0035 0036 SettingsPage {} 0037 } 0038 0039 pageStack.initialPage: ChatView {} 0040 }