// Copyright Mirage authors & contributors // SPDX-License-Identifier: LGPL-3.0-or-later import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 import "../.." import "../../Base" HPage { id: page property string userId HTabbedBox { anchors.centerIn: parent width: Math.min(implicitWidth, page.availableWidth) height: Math.min(implicitHeight, page.availableHeight) header: HTabBar { currentIndex: 1 // XXX HTabButton { text: qsTr("Account") } HTabButton { text: qsTr("Notifications") } HTabButton { text: qsTr("Security") } } Account { userId: page.userId } Notifications { userId: page.userId } Security { userId: page.userId } } }