Advertisement
imbear

QML-ListView

Feb 22nd, 2017
2,206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
QML 0.62 KB | None | 0 0
  1.     ListView {
  2.         id: functionList
  3.  
  4.         anchors.fill: parent
  5.         delegate:functionDelegate
  6.         spacing: 4
  7.  
  8. //        Component {
  9.  
  10.             Rectangle {
  11.                 id: functionDelegate
  12.                 width: parent.width * .2; height:parent.height
  13.                 color:"#202020"
  14.                 Row {
  15.                     spacing: 5
  16.                     Column {
  17.                         Text { text: title; font.bold: true; color: "#f1f1f1"}
  18.                         Text { text: "10.102.64.1"; color: "#f1f1f1" }
  19.                     }
  20.                 }
  21.             }
  22.  
  23. //        }
  24.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement