Warning, /maui/fiery/src/views/widgets/NavigationBar.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 2.14 0002 import QtQml 2.14 0003 import QtQuick.Controls 2.14 0004 import QtQuick.Layouts 1.3 0005 import QtWebEngine 1.10 0006 0007 import org.mauikit.controls 1.3 as Maui 0008 0009 import org.maui.fiery 1.0 as Fiery 0010 0011 Maui.TabViewButton 0012 { 0013 id: control 0014 0015 property int position: control.TabBar.position 0016 0017 readonly property WebEngineView webView : control.tabView.contentModel.get(control.mindex).browser.webView 0018 0019 onClicked: 0020 { 0021 if(control.mindex === control.tabView.currentIndex) 0022 { 0023 openEditMode() 0024 }else 0025 { 0026 control.tabView.setCurrentIndex(control.mindex) 0027 } 0028 } 0029 0030 onRightClicked: 0031 { 0032 control.tabView.openTabMenu(control.mindex) 0033 } 0034 0035 // text: control.hovered ? control.webView.url : control.webView.title 0036 0037 icon.source: control.webView.icon 0038 icon.color: "transparent" 0039 0040 Maui.ProgressIndicator 0041 { 0042 id: _progress 0043 width: parent.width 0044 anchors.bottom: parent.bottom 0045 visible: webView.loading 0046 0047 } 0048 0049 }