swissChili | 23958ca | 2022-02-21 19:23:34 -0800 | [diff] [blame^] | 1 | import QtQuick 2.0 |
| 2 | import QtQuick.Controls 2.15 |
| 3 | import QtQuick.Controls.Material 2.0 |
| 4 | import QtQuick.Layouts 1.0 |
| 5 | |
| 6 | ColumnLayout { |
| 7 | id: root |
| 8 | |
| 9 | RowLayout { |
| 10 | Layout.fillWidth: true |
| 11 | |
| 12 | Button { |
| 13 | Layout.alignment: Qt.AlignTop |
| 14 | icon.source: "qrc:///icons/play-circle.svg" |
| 15 | icon.color: Material.color(Material.Grey, Material.Shade600) |
| 16 | flat: true |
| 17 | } |
| 18 | |
| 19 | ColumnLayout { |
| 20 | Layout.fillWidth: true |
| 21 | Layout.fillHeight: true |
| 22 | |
| 23 | TextArea { |
| 24 | Layout.fillWidth: true |
| 25 | Layout.fillHeight: true |
| 26 | id: code |
| 27 | font.family: "monospace" |
| 28 | text: "Hello" |
| 29 | selectByMouse: true |
| 30 | wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere |
| 31 | } |
| 32 | |
| 33 | Label { |
| 34 | Layout.fillWidth: true |
| 35 | font.family: "monospace" |
| 36 | text: "Result\nasdfasdf\nasdad" |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | InsertRow { |
| 42 | |
| 43 | } |
| 44 | } |