Warning, /system/mycroft-gui/tests/multiresultsview.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.5
0002 import QtQuick.Controls 2.4
0003 import QtQuick.Layouts 1.3
0004 import Mycroft 1.0 as Mycroft
0005 
0006 ColumnLayout {
0007     width: 500
0008     height: 500
0009 
0010     TextField {
0011         id: input
0012         Layout.fillWidth: true
0013         onAccepted: {
0014             Mycroft.MycroftController.sendText(input.text)
0015         }
0016     }
0017     Component.onCompleted: Mycroft.MycroftController.start();
0018 
0019     ScrollView {
0020         id: scroll
0021         Layout.fillWidth: true
0022         Layout.fillHeight: true
0023         Flickable {
0024             contentWidth: width
0025             contentHeight: layout.height
0026             GridLayout {
0027                 id: layout
0028                 width: scroll.width - 20
0029                 columns: 2
0030                 //horizontalSpacing: 5
0031                 Mycroft.StackSkillView {
0032                     Layout.rowSpan: 2
0033                     clip:true
0034                     width: 400
0035                     height: 800
0036                 }
0037                 Mycroft.StackSkillView {
0038                     clip: true
0039                     width: 800
0040                     height: 400
0041                 }
0042                 Mycroft.StackSkillView {
0043                     clip: true
0044                     width: 400
0045                     height: 400
0046                 }
0047             }
0048         }
0049     }
0050 }