codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
delegate: ListItem { height: contentItem.childrenRect.height width: newBookmarksView.width property alias checked : switchIndicator.checked Switch { id: switchIndicator anchors.left: parent.left anchors.verticalCenter: parent.verticalCenter } Label { id: titleLabel width: newBookmarksView.width anchors.left: switchIndicator.right anchors.leftMargin: Theme.paddingMedium anchors.right: parent.right anchors.rightMargin: Theme.paddingMedium elide: Text.ElideRight text: title } Label { width: newBookmarksView.width anchors.left: switchIndicator.right anchors.leftMargin: Theme.paddingMedium anchors.right: parent.right anchors.rightMargin: Theme.paddingMedium anchors.top: titleLabel.bottom elide: Text.ElideRight font.pixelSize: Theme.fontSizeTiny text: url } onClicked: { switchIndicator.checked = switchIndicator.checked ? false : true } } }
Private
[
?
]
Run code
Submit