Guest User

Untitled

a guest
Jan 4th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Component { id: tabBarItem Rectangle { height: tabs.height width: tabs.width / tabsModel.count color: "transparent" Image { source: tabsModel.children[index].icon anchors.horizontalCenter: parent.horizontalCenter anchors.top: parent.top anchors.topMargin: 4 } Text { anchors.horizontalCenter: parent.horizontalCenter anchors.bottom: parent.bottom anchors.bottomMargin: 4 color: "white" text: tabsModel.children[index].name } MouseArea { anchors.fill: parent onClicked: { tabClicked(index); } } }}
Add Comment
Please, Sign In to add comment