debugging
This commit is contained in:
parent
6e16292f06
commit
27124380e4
8 changed files with 76 additions and 52 deletions
|
@ -3,16 +3,20 @@
|
|||
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
|
||||
import magpie.API
|
||||
import magpie.Models as Models
|
||||
import magpie.Components as Components
|
||||
|
||||
Item {
|
||||
signal add
|
||||
|
||||
Column {
|
||||
ColumnLayout {
|
||||
id: column
|
||||
anchors.fill: parent
|
||||
|
||||
Label {
|
||||
id: label
|
||||
text: "This is Assets screen"
|
||||
font {
|
||||
pixelSize: 24
|
||||
|
@ -21,12 +25,12 @@ Item {
|
|||
}
|
||||
|
||||
ListView {
|
||||
anchors.centerIn: parent
|
||||
model: API.assets
|
||||
delegate: Rectangle {
|
||||
Text {
|
||||
text: title
|
||||
}
|
||||
id: listView
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
model: Models.Assets
|
||||
delegate: Components.AssetLine {
|
||||
height: 20
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue