mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 16:24:41 +08:00
31 lines
850 B
QML
31 lines
850 B
QML
// Copyright (c) 2018 Ultimaker B.V.
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
import QtQuick 2.2
|
|
import QtQuick.Controls 1.1
|
|
|
|
import UM 1.4 as UM
|
|
import Cura 1.1 as Cura
|
|
|
|
Row
|
|
{
|
|
spacing: UM.Theme.getSize("default_margin").width
|
|
|
|
Cura.SecondaryButton
|
|
{
|
|
width: UM.Theme.getSize("account_button").width
|
|
height: UM.Theme.getSize("account_button").height
|
|
text: catalog.i18nc("@button", "Manage account")
|
|
onClicked: Qt.openUrlExternally(CuraApplication.ultimakerCloudAccountRootUrl)
|
|
fixedWidthMode: true
|
|
}
|
|
|
|
Cura.PrimaryButton
|
|
{
|
|
width: UM.Theme.getSize("account_button").width
|
|
height: UM.Theme.getSize("account_button").height
|
|
text: catalog.i18nc("@button", "Logout")
|
|
onClicked: Cura.API.account.logout()
|
|
fixedWidthMode: true
|
|
}
|
|
} |