Warning, /maui/station/src/widgets/TutorialDialog.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 import org.mauikit.controls 1.2 as Maui
0005 
0006 Maui.SettingsDialog
0007 {
0008     id: control
0009 
0010     persistent: false
0011 
0012     page.showTitle: false
0013     headBar.visible: false
0014 
0015     Maui.SectionGroup
0016     {
0017         Layout.fillWidth: true
0018         title: i18n("Shortcuts")
0019         description: i18n("When using a keyboard you can use the following shortcuts to navigate.")
0020 
0021         Maui.SectionItem
0022         {
0023             label1.text: i18n("Split")
0024             label2.text: i18n("Open a new split view, vertically or horizontally.")
0025 
0026             Maui.ToolActions
0027             {
0028                 checkable: false
0029                 autoExclusive: false
0030                 Action
0031                 {
0032                     text: "↑"
0033                 }
0034 
0035                 Action
0036                 {
0037                     text: "Ctrl"
0038                 }
0039 
0040                 Action
0041                 {
0042                     text: "Shift"
0043                 }
0044             }
0045         }
0046 
0047         Maui.SectionItem
0048         {
0049             label1.text: i18n("New Tab")
0050 
0051             Maui.ToolActions
0052             {
0053                 checkable: false
0054                 autoExclusive: false
0055                 Action
0056                 {
0057                     text: "Ctrl"
0058                 }
0059 
0060                 Action
0061                 {
0062                     text: "T"
0063                 }
0064             }
0065         }
0066 
0067         Maui.SectionItem
0068         {
0069             label1.text: i18n("Find")
0070             label2.text: i18n("Open the find bar.")
0071 
0072             Maui.ToolActions
0073             {
0074                 checkable: false
0075                 autoExclusive: false
0076                 Action
0077                 {
0078                     text: "Ctrl"
0079                 }
0080 
0081                 Action
0082                 {
0083                     text: "F"
0084                 }
0085             }
0086         }
0087 
0088         Maui.SectionItem
0089         {
0090             label1.text: i18n("Switch")
0091             label2.text: i18n("Switch between split views.")
0092 
0093             Maui.ToolActions
0094             {
0095                 checkable: false
0096                 autoExclusive: false
0097                 Action
0098                 {
0099                     text: "Tab"
0100                 }
0101 
0102                 Action
0103                 {
0104                     text: "Ctrl"
0105                 }
0106             }
0107         }
0108     }
0109 
0110     Maui.SectionGroup
0111     {
0112         Layout.fillWidth: true
0113         title: i18n("Navigation")
0114         description: i18n("On touch devices you can use the following gestures to navigate.")
0115 
0116         Maui.SectionItem
0117         {
0118             label1.text: i18n("Up & Down")
0119             label2.text: i18n("Swipe up or down to navigate the commands history.")
0120         }
0121 
0122         Maui.SectionItem
0123         {
0124             label1.text: i18n("Left & Right")
0125             label2.text: i18n("Swipe left or right to move through the command line to edit.")
0126         }
0127 
0128         Maui.SectionItem
0129         {
0130             label1.text: i18n("Two Fingers Left & Right")
0131             label2.text: i18n("Swipe up or down with two fingers to scroll.")
0132         }
0133     }
0134 
0135     Maui.SectionGroup
0136     {
0137         Layout.fillWidth: true
0138         title: i18n("Commands")
0139 
0140         Maui.SectionItem
0141         {
0142             label1.text: i18n("Create")
0143             label2.text: i18n("Create a new command shortcut to quickly trigger actions.")
0144 
0145             Button
0146             {
0147                 text: i18n("Add")
0148                 onClicked: _shortcutsLoader.item.newCommand()
0149             }
0150         }
0151     }
0152 }