Advertisement
imbear

QML-ListView_01

Feb 22nd, 2017
2,190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
QML 0.60 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.  
  11. //        }
  12.     }
  13.     Component {
  14.         id: functionDelegate
  15.         Rectangle {
  16.             width: functionList.width * .2; height:functionList.height
  17.             color:"#202020"
  18.             Row {
  19.                 spacing: 5
  20.                 Column {
  21.                     Text { text: title; font.bold: true; color: "#f1f1f1"}
  22.                     Text { text: "10.102.64.1"; color: "#f1f1f1" }
  23.                 }
  24.             }
  25.         }
  26.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement