Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import QtQuick
|
||||
import org.kde.kitemmodels as KItemModels
|
||||
|
||||
// This test is somewhat lame in that it should only display a single "1".
|
||||
// ListModel only has one column and no way of adding more. And there is not
|
||||
// really another model that is simple to create from QML that does have columns
|
||||
// and column headers.
|
||||
|
||||
ListView {
|
||||
model: KItemModels.KColumnHeadersModel {
|
||||
sourceModel: ListModel {
|
||||
ListElement { display: "test1" }
|
||||
ListElement { display: "test2" }
|
||||
}
|
||||
}
|
||||
|
||||
delegate: Text {
|
||||
text: model.display
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user