Warning, /maui/fiery/src/views/home/HomeView.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 2.14 0002 import QtQuick.Controls 2.14 0003 import QtQuick.Layouts 1.3 0004 0005 import org.mauikit.controls 1.3 as Maui 0006 0007 import org.maui.fiery 1.0 as Fiery 0008 0009 Maui.Page 0010 { 0011 id: control 0012 0013 background: null 0014 headBar.middleContent: Maui.SearchField 0015 { 0016 id: _entryField 0017 Layout.fillWidth: true 0018 Layout.maximumWidth: 500 0019 Layout.alignment: Qt.AlignCenter 0020 } 0021 0022 Maui.ListBrowser 0023 { 0024 id: _listView 0025 anchors.fill: parent 0026 0027 0028 model: Maui.BaseModel 0029 { 0030 list: Fiery.Bookmarks 0031 filter: _entryField.text 0032 sort: "adddate" 0033 sortOrder: Qt.DescendingOrder 0034 recursiveFilteringEnabled: true 0035 sortCaseSensitivity: Qt.CaseInsensitive 0036 filterCaseSensitivity: Qt.CaseInsensitive 0037 } 0038 0039 delegate: Maui.ListBrowserDelegate 0040 { 0041 width: ListView.view.width 0042 label1.text: model.title 0043 tooltipText: model.url 0044 imageSource: model.icon.replace("image://favicon/", "") 0045 iconSizeHint: Maui.Style.iconSizes.medium 0046 onClicked: 0047 { 0048 _listView.currentIndex = index 0049 _browserView.openTab(model.url) 0050 } 0051 } 0052 0053 } 0054 }