Warning, /education/marble/src/apps/marble-maps/Completion.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2015 Mikhail Ivchenko <ematirov@gmail.com> 0004 // 0005 0006 import QtQuick 2.3 0007 import QtQuick.Controls 1.3 0008 import QtQuick.Controls.Styles 1.3 0009 Item { 0010 id: root 0011 0012 property alias model: results.model 0013 0014 property alias count: results.count 0015 0016 property alias delegateHeight: results.delegateHeight 0017 0018 signal itemSelected(int index, string name) 0019 0020 SystemPalette{ 0021 id: palette 0022 colorGroup: SystemPalette.Active 0023 } 0024 0025 Rectangle { 0026 id: background 0027 anchors.fill: parent 0028 border.color: palette.shadow 0029 border.width: 1 0030 } 0031 0032 SearchResults { 0033 id: results 0034 anchors.fill: background 0035 anchors.margins: background.border.width 0036 clip: true 0037 background: palette.base 0038 onItemSelected: root.itemSelected(index, name) 0039 } 0040 }