Advertisement
Guest User

Untitled

a guest
Aug 4th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
QML 0.81 KB | None | 0 0
  1.             ItemDelegate {
  2.                 id: itemDelegateQrCode
  3.                 text: qsTr("QR CODE")
  4.                 width: parent.width
  5.                 icon.source: "images/qr-code.png"
  6.                 icon.color: "white"
  7.  
  8.                 contentItem: Text {
  9.                     width: 20
  10.                     text: itemDelegateQrCode.text
  11.                     font: itemDelegateQrCode.font
  12.                     elide: Text.ElideRight
  13.                     visible: itemDelegateQrCode.text
  14.                     horizontalAlignment: Text.AlignRight
  15.                     verticalAlignment: Text.AlignVCenter
  16.                     color: "white"
  17.                 }
  18.  
  19.                 onClicked: {
  20.                     stackView.push("readerQrCode.qml")
  21.                     drawer.close()
  22.                 }
  23.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement