nextcloud-desktop/src/gui/filedetails/FileDetailsView.qml
Andy Scherzinger 00994aa9e8
docs(reuse): Migrate to SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-04-16 15:19:26 +02:00

38 lines
951 B
QML

/*
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import com.nextcloud.desktopclient
import Style
StackView {
id: root
signal closeButtonClicked
property alias accountState: fileDetailsPage.accountState
property alias localPath: fileDetailsPage.localPath
property alias showCloseButton: fileDetailsPage.showCloseButton
property alias accentColor: fileDetailsPage.accentColor
property bool backgroundsVisible: true
background: Rectangle {
color: palette.base
visible: root.backgroundsVisible
}
initialItem: FileDetailsPage {
id: fileDetailsPage
width: root.width
height: root.height
backgroundsVisible: root.backgroundsVisible
rootStackView: root
onCloseButtonClicked: root.closeButtonClicked()
}
}