import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 import Controls 1.0 as Controls import Cubo 1.0 ColumnLayout { spacing: 20 Controls.Frame { ScrollView { anchors.fill: parent Controls.TextArea { id: outputArea } } Layout.fillWidth: true Layout.fillHeight: true } Controls.Button { text: qsTr("Clear") Layout.preferredWidth: 120 onClicked: outputArea.clear() } Connections { target: BmsInterface onStatusMessage: { outputArea.append(msg) } } }