Laying out main page and adding songlistmodel
This commit is contained in:
parent
f2a10ebfcc
commit
3bd74d1ca6
24 changed files with 816 additions and 454 deletions
11
src/qml/presenter/LibraryDelegate.qml
Normal file
11
src/qml/presenter/LibraryDelegate.qml
Normal file
|
@ -0,0 +1,11 @@
|
|||
import QtQuick 2.13
|
||||
import org.kde.kirigami 2.13 as Kirigami
|
||||
|
||||
Kirigami.BasicListItem {
|
||||
width: ListView.view.width
|
||||
height:20
|
||||
label: model.itemName
|
||||
subtitle: model.type
|
||||
hoverEnabled: true
|
||||
onClicked: ListView.view.currentIndex = index
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue