// SPDX-FileCopyrightText: 2020 Rinigus // SPDX-FileCopyrightText: 2020 Jonah BrĂ¼chert // // SPDX-License-Identifier: GPL-2.0-or-later import QtQuick import QtQuick.Controls as Controls import QtQuick.Layouts import org.kde.kirigami as Kirigami import org.kde.kirigamiaddons.formcard as FormCard import org.kde.angelfish FormCard.FormCardPage { id: root title: i18n("Navigation bar") FormCard.FormHeader { title: root.title } FormCard.FormCard { Controls.Label { text: i18n("Choose the buttons enabled in navigation bar. Some of the buttons can be hidden only in portrait orientation of the browser and are always shown if the browser is wider than its height.\n\n Note that if you disable the menu buttons, you will be able to access the menus either by swiping from the left or right side or to a side along the bottom of the window.") Layout.fillWidth: true padding: Kirigami.Units.gridUnit wrapMode: Text.WordWrap } FormCard.FormDelegateSeparator {} FormCard.FormCheckDelegate { text: i18n("Main menu in portrait") checked: Settings.navBarMainMenu onCheckedChanged: Settings.navBarMainMenu = checked } FormCard.FormCheckDelegate { text: i18n("Tabs in portrait") checked: Settings.navBarTabs onCheckedChanged: Settings.navBarTabs = checked } FormCard.FormCheckDelegate { text: i18n("Context menu in portrait") checked: Settings.navBarContextMenu onCheckedChanged: Settings.navBarContextMenu = checked } FormCard.FormCheckDelegate { text: i18n("Go back") checked: Settings.navBarBack onCheckedChanged: Settings.navBarBack = checked } FormCard.FormCheckDelegate { text: i18n("Go forward") checked: Settings.navBarForward onCheckedChanged: Settings.navBarForward = checked } FormCard.FormCheckDelegate { text: i18n("Reload/Stop") checked: Settings.navBarReload onCheckedChanged: Settings.navBarReload = checked } } }