mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
38 lines
951 B
QML
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()
|
|
}
|
|
}
|