Files
pyqcrm/Gui
2025-03-25 11:15:25 +01:00
..
2025-02-12 09:01:38 +01:00
2025-03-20 13:04:28 +01:00
2025-03-21 13:25:03 +01:00
2025-03-20 13:04:28 +01:00
2025-01-23 15:59:34 +01:00
2025-01-28 16:38:13 +01:00
2025-03-20 10:46:51 +01:00
2025-02-12 09:01:38 +01:00
2025-02-12 09:01:38 +01:00
2025-03-25 11:15:25 +01:00
2025-03-25 11:15:25 +01:00
2025-03-21 13:25:03 +01:00
2025-03-10 14:10:31 +01:00
2025-03-25 11:15:25 +01:00
2025-03-25 11:15:25 +01:00
2024-11-25 15:17:20 +01:00
2025-03-21 13:45:53 +01:00
2025-03-21 15:17:07 +01:00
2025-03-07 11:58:19 +01:00
2025-02-12 09:01:38 +01:00
2024-12-20 14:11:34 +01:00
2025-02-03 16:46:57 +01:00
2025-03-25 11:15:25 +01:00
2025-03-25 11:15:25 +01:00
2025-03-25 11:15:25 +01:00
2025-03-25 11:15:25 +01:00
2025-03-25 11:15:25 +01:00
2025-03-25 11:15:25 +01:00
2025-03-24 11:36:09 +01:00
2025-03-25 11:15:25 +01:00
2025-03-24 10:53:46 +01:00
2025-03-25 11:15:25 +01:00
2025-03-25 11:15:25 +01:00
2025-03-25 11:15:25 +01:00
2025-03-25 11:15:25 +01:00
2025-03-20 12:38:00 +01:00
2024-11-15 15:41:12 +01:00
2025-02-12 09:01:38 +01:00
2025-03-21 15:56:05 +01:00
2024-11-15 15:41:12 +01:00
2025-03-21 14:01:23 +01:00
2025-02-26 15:15:39 +01: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();
            }
        }
    }
}