mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-09 14:39:01 +08:00

Since it's only used in one place, there is no real point in making it a seperate file CURA-6005
38 lines
791 B
QML
38 lines
791 B
QML
// Copyright (c) 2018 Ultimaker B.V.
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
import QtQuick 2.7
|
|
import QtQuick.Controls 2.2
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import UM 1.1 as UM
|
|
|
|
ScrollView
|
|
{
|
|
property alias model: backupList.model
|
|
width: parent.width
|
|
ListView
|
|
{
|
|
id: backupList
|
|
width: parent.width
|
|
delegate: Item
|
|
{
|
|
width: parent.width
|
|
height: childrenRect.height
|
|
|
|
BackupListItem
|
|
{
|
|
id: backupListItem
|
|
width: parent.width
|
|
}
|
|
|
|
Rectangle
|
|
{
|
|
id: divider
|
|
color: UM.Theme.getColor("lining")
|
|
height: UM.Theme.getSize("default_lining").height
|
|
}
|
|
}
|
|
}
|
|
}
|