Append text Gui freezed
Unsolved
QML and Qt Quick
-
Hi there ,append text from python to qml textarea freezing Gui , please how to fix that
import QtQuick 2.15 import QtQuick.Window 2.15 import QtQuick.Controls 2.15 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Flickable { id: scrollView x: 13 y: 38 width: 647 height: 168 contentWidth: text1.width; contentHeight: text1.height visible: true flickableDirection: Flickable.VerticalFlick clip: true ScrollBar.vertical: ScrollBar{} ScrollBar.horizontal: ScrollBar{} TextArea { id: text1 opacity: 1 visible: true color: "#000000" font.pixelSize: 16 verticalAlignment: Text.AlignVCenter font.preferShaping: false font.kerning: false font.styleName: "Courier New" font.weight: Font.Medium font.bold: true readOnly: true clip: true font.family: "Courier New" } } Connections { target: con function onSetTx(filer){ text1.append(filer) } } }