import QtQuick import QtQuick.Controls import QtQuick.Layouts import Quickshell import "../../../../Helpers/QtObj2JS.js" as QtObj2JS import "General" import qs.Commons import qs.Services.System import qs.Services.UI import qs.Widgets ColumnLayout { id: root spacing: 0 NTabBar { id: subTabBar Layout.fillWidth: true Layout.bottomMargin: Style.marginM distributeEvenly: true currentIndex: tabView.currentIndex NTabButton { text: I18n.tr("panels.general.tab-basics") tabIndex: 0 checked: subTabBar.currentIndex === 0 } NTabButton { text: I18n.tr("panels.general.tab-keybinds") tabIndex: 1 checked: subTabBar.currentIndex === 1 } } Item { Layout.fillWidth: true Layout.preferredHeight: Style.marginL } NTabView { id: tabView currentIndex: subTabBar.currentIndex BasicsSubTab {} KeybindsSubTab {} } }