import QtQuick 2.1 import ObjectsDB 1.0 import QtQuick.Controls.Styles 1.0 import "Utils.js" as Utils BorderImage { id: main source: Utils.resolveURL("backgroundBrowser@2x.png") border.top: 212 onVisibleChanged: if (visible == false) scene.focus = true Item { id: browser anchors.top: parent.top anchors.topMargin: 24 anchors.right: parent.right anchors.rightMargin: 25 anchors.left: parent.left anchors.leftMargin: 25 anchors.bottom: parent.bottom anchors.bottomMargin: 25 clip: true ListView { id: categoriesListView anchors.top: search.bottom anchors.topMargin: 8 * 2 anchors.bottom: parent.bottom anchors.bottomMargin: 8 * 2 width: parent.width spacing: 8 * 2 clip: true snapMode: ListView.SnapToItem highlight: Rectangle { color: "lightsteelblue"; radius: 5 } delegate: CategoriesDelegate { } currentIndex: -1 } // ToolTip {} } }