Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ListView {
- id: listView
- anchors.centerIn: parent
- anchors.fill: parent
- model: docsDb.getAll()
- Component {
- id: docsDelegate
- Rectangle {
- color: menu.color
- height: t.paintedHeight; width: rectListView.width
- Text {
- id: t
- anchors.fill: parent
- text: nome
- font.pixelSize: 15 * dp
- color: navMenu.iconColor
- font.bold: true
- Text {
- font.family: "FontAwesome"
- text: "\uf054"
- color: navMenu.iconColor
- x: rectListView.width - (10 * dp)
- y: 3 * dp
- font.pixelSize: parent.font.pixelSize
- }
- }
- MouseArea {
- anchors.fill: parent
- onClicked: {
- console.log(html)
- }
- }
- }
- }
- delegate: docsDelegate
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement