Files
pyqcrm/Gui
2025-04-03 14:46:36 +02:00
..
2025-04-03 14:46:36 +02:00
2025-02-12 09:01:38 +01:00
2025-04-03 13:06:37 +02:00
2025-03-21 13:25:03 +01:00
2025-03-25 13:20:54 +01:00
2025-04-03 13:06:37 +02:00
2025-01-23 15:59:34 +01:00
2025-04-03 13:06:37 +02:00
2025-03-20 10:46:51 +01:00
2025-04-03 13:06:37 +02:00
2025-02-12 09:01:38 +01:00
2025-04-03 13:06:37 +02:00
2025-03-21 13:25:03 +01:00
2025-03-25 12:28:30 +01:00
2025-03-10 14:10:31 +01:00
2024-11-25 15:17:20 +01:00
2025-04-03 13:06:37 +02:00
2025-04-03 13:06:37 +02:00
2025-04-03 13:06:37 +02:00
2025-03-07 11:58:19 +01:00
2025-04-03 14:46:36 +02:00
2025-02-12 09:01:38 +01:00
2025-04-03 13:06:37 +02:00
2025-04-03 13:06:37 +02:00
2025-02-03 16:46:57 +01:00
2025-04-03 13:06:37 +02:00
2025-04-03 13:06:37 +02:00
2025-03-24 10:53:46 +01:00
2025-04-03 13:06:37 +02:00
2025-04-03 13:06:37 +02:00
2025-04-03 10:56:42 +02:00
2025-02-12 09:01:38 +01:00
2024-11-15 15:41:12 +01:00
2025-02-26 15:15:39 +01:00
2025-04-03 13:06:37 +02:00

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

Window
{
    property alias readMeWin: readMeWin
    id: readMeWin
    width: 400
    height: 300
    title: "PYQCRM - README"
    color: palette.base

    ScrollView
    {
        anchors.fill: parent
        TextArea
        {
            id: readMe
            anchors.fill: parent
            readOnly: true
            wrapMode: TextArea.Wrap
            color: "darksalmon"

            Component.onCompleted:
            {
                var filePath = "qrc:/README";
                var xhr = new XMLHttpRequest();
                xhr.open("GET", filePath, true);
                xhr.onreadystatechange = function() {
                    if (xhr.readyState === XMLHttpRequest.DONE)
                    {
                        if (xhr.status === 200)
                        {
                            readMe.text = xhr.responseText;
                        }
                        else
                        {
                            readMe.text = qsTr("Datei nicht gefunden!");
                        }
                    }
                };
                xhr.send();
            }
        }
    }
}