mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00

For instance, the buttons were converted to either primary buttons or secondary buttons. A new CheckBox component was created in Cura in order to reuse it in the future. Contributes to CURA-6005.
42 lines
942 B
QML
42 lines
942 B
QML
// Copyright (c) 2018 Ultimaker B.V.
|
|
import QtQuick 2.7
|
|
import QtQuick.Controls 2.1
|
|
import QtQuick.Window 2.2
|
|
|
|
import UM 1.3 as UM
|
|
import Cura 1.1 as Cura
|
|
|
|
import "components"
|
|
import "pages"
|
|
|
|
Window
|
|
{
|
|
id: curaDriveDialog
|
|
minimumWidth: Math.round(UM.Theme.getSize("modal_window_minimum").width)
|
|
minimumHeight: Math.round(UM.Theme.getSize("modal_window_minimum").height)
|
|
maximumWidth: Math.round(minimumWidth * 1.2)
|
|
maximumHeight: Math.round(minimumHeight * 1.2)
|
|
width: minimumWidth
|
|
height: minimumHeight
|
|
color: UM.Theme.getColor("main_background")
|
|
title: catalog.i18nc("@title:window", "Cura Backups")
|
|
|
|
// Globally available.
|
|
UM.I18nCatalog
|
|
{
|
|
id: catalog
|
|
name: "cura_drive"
|
|
}
|
|
|
|
WelcomePage
|
|
{
|
|
id: welcomePage
|
|
visible: !Cura.API.account.isLoggedIn
|
|
}
|
|
|
|
BackupsPage
|
|
{
|
|
id: backupsPage
|
|
visible: Cura.API.account.isLoggedIn
|
|
}
|
|
}
|