Compare commits
No commits in common. "2a2fa7e073f9d20b9ff8cd164ff4dc67b7372d6d" and "852fbe7b10a1bd3a87c871974a546acaf013dd03" have entirely different histories.
2a2fa7e073
...
852fbe7b10
4 changed files with 2 additions and 37 deletions
BIN
native/Assets/Images/Boygenius_-_the_record.jpg
Normal file
BIN
native/Assets/Images/Boygenius_-_the_record.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
|
@ -17,9 +17,9 @@ qt_add_qml_module(alisa
|
||||||
VERSION 1.0
|
VERSION 1.0
|
||||||
QML_FILES
|
QML_FILES
|
||||||
Main.qml
|
Main.qml
|
||||||
Data.qml
|
|
||||||
|
|
||||||
RESOURCES
|
RESOURCES
|
||||||
|
Assets/Images/Boygenius_-_the_record.jpg
|
||||||
Assets/Icons/turbo.svg
|
Assets/Icons/turbo.svg
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
import QtQuick
|
|
||||||
|
|
||||||
ListModel {
|
|
||||||
ListElement {
|
|
||||||
name: "Bill Smith"
|
|
||||||
number: "555 3264"
|
|
||||||
}
|
|
||||||
ListElement {
|
|
||||||
name: "John Brown"
|
|
||||||
number: "555 8426"
|
|
||||||
}
|
|
||||||
ListElement {
|
|
||||||
name: "Sam Wise"
|
|
||||||
number: "555 0473"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -26,28 +26,9 @@ Window {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
right: parent.right
|
right: parent.right
|
||||||
}
|
}
|
||||||
height: 400
|
height: 50
|
||||||
border.width: 5
|
border.width: 5
|
||||||
border.color: getColors().accent
|
border.color: getColors().accent
|
||||||
color: getColors().midlight
|
color: getColors().midlight
|
||||||
|
|
||||||
Component {
|
|
||||||
id: contactDelegate
|
|
||||||
Item {
|
|
||||||
width: 180; height: 40
|
|
||||||
Column {
|
|
||||||
Text { text: '<b>Name:</b> ' + name }
|
|
||||||
Text { text: '<b>Number:</b> ' + number }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ListView {
|
|
||||||
anchors.fill: parent
|
|
||||||
model: Data {}
|
|
||||||
delegate: contactDelegate
|
|
||||||
highlight: Rectangle { color: getColors().highlight; radius: 5 }
|
|
||||||
focus: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue