Add libclide. #23
@@ -14,7 +14,6 @@ Rectangle {
|
|||||||
|
|
||||||
ListModel {
|
ListModel {
|
||||||
id: model
|
id: model
|
||||||
|
|
||||||
}
|
}
|
||||||
ListView {
|
ListView {
|
||||||
id: listView
|
id: listView
|
||||||
@@ -38,10 +37,10 @@ Rectangle {
|
|||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
model: model
|
model: model
|
||||||
|
verticalLayoutDirection: ListView.BottomToTop
|
||||||
|
|
||||||
delegate: Text {
|
delegate: Text {
|
||||||
color: listView.getLogColor(level)
|
color: listView.getLogColor(level)
|
||||||
font.family: "monospace"
|
|
||||||
text: `[${level}] ${message}`
|
text: `[${level}] ${message}`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user