mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
Add the external link icon to the Upgrade plan button
CURA-8112
This commit is contained in:
parent
7027a8f904
commit
016371d771
@ -65,9 +65,10 @@ Item
|
|||||||
anchors.verticalCenter: selectProjectLabel.verticalCenter
|
anchors.verticalCenter: selectProjectLabel.verticalCenter
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
text: "Upgrade plan"
|
text: "Upgrade plan"
|
||||||
|
iconSource: UM.Theme.getIcon("LinkExternal")
|
||||||
visible: createNewProjectButtonVisible && !manager.userAccountCanCreateNewLibraryProject && (manager.retrievingProjectsStatus == DF.RetrievalStatus.Success || manager.retrievingProjectsStatus == DF.RetrievalStatus.Failed)
|
visible: createNewProjectButtonVisible && !manager.userAccountCanCreateNewLibraryProject && (manager.retrievingProjectsStatus == DF.RetrievalStatus.Success || manager.retrievingProjectsStatus == DF.RetrievalStatus.Failed)
|
||||||
tooltip: "You have reached the maximum number of projects allowed by your subscription. Please upgrade to the Professional subscription to create more projects."
|
tooltip: "You have reached the maximum number of projects allowed by your subscription. Please upgrade to the Professional subscription to create more projects."
|
||||||
tooltipWidth: parent.width * 3 / 4
|
tooltipWidth: parent.width * 0.5
|
||||||
|
|
||||||
onClicked: Qt.openUrlExternally("https://ultimaker.com/software/enterprise-software")
|
onClicked: Qt.openUrlExternally("https://ultimaker.com/software/enterprise-software")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user