Warning, /maui/strike/src/views/widgets/GitPanel.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 2.14 0002 import QtQuick.Controls 2.14 0003 0004 import org.kde.kirigami 2.7 as Kirigami 0005 0006 import org.mauikit.controls 1.3 as Maui 0007 0008 Maui.Page 0009 { 0010 id: control 0011 headBar.visible: false 0012 footBar.leftContent: [ 0013 ToolButton 0014 { 0015 icon.name: "vcs-pull" 0016 }, 0017 ToolButton 0018 { 0019 icon.name: "vcs-push" 0020 }, 0021 ToolButton 0022 { 0023 icon.name: "vcs-stash" 0024 }, 0025 ToolButton 0026 { 0027 icon.name: "vcs-stash-pop" 0028 }, 0029 ToolButton 0030 { 0031 icon.name: "vcs-branch" 0032 }, 0033 ToolButton 0034 { 0035 icon.name: "vcs-commit" 0036 }, 0037 ToolButton 0038 { 0039 icon.name: "vcs-merge" 0040 } 0041 ] 0042 0043 footBar.farRightContent: Maui.ToolButtonMenu 0044 { 0045 icon.name: "overflow-menu" 0046 } 0047 0048 ScrollView 0049 { 0050 anchors.fill: parent 0051 Maui.Theme.inherit: false 0052 Maui.Theme.colorSet: Maui.Theme.Complementary 0053 Maui.Theme.backgroundColor: "#2c2c2c" 0054 0055 contentWidth: availableWidth 0056 ScrollBar.horizontal.policy: ScrollBar.AlwaysOff 0057 0058 Flickable 0059 { 0060 interactive: Kirigami.Settings.hasTransientTouchInput 0061 boundsBehavior: Flickable.StopAtBounds 0062 boundsMovement :Flickable.StopAtBounds 0063 0064 TextArea.flickable: TextArea 0065 { 0066 id: _outputArea 0067 width: parent.width 0068 color: "violet" 0069 readOnly: true 0070 font.family: "Monospace" 0071 wrapMode: Text.WrapAtWordBoundaryOrAnywhere 0072 background: Rectangle 0073 { 0074 color: Maui.Theme.backgroundColor 0075 } 0076 } 0077 } 0078 } 0079 }