mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
More generic way of showing the manage buttons
Contributes to: CURA-8587
This commit is contained in:
parent
b98e0d1753
commit
5373e9a36d
2 changed files with 45 additions and 11 deletions
|
@ -302,26 +302,26 @@ Rectangle
|
|||
|
||||
Cura.SecondaryButton
|
||||
{
|
||||
id: disableButton
|
||||
id: enableManageButton
|
||||
Layout.alignment: Qt.AlignTop
|
||||
text: catalog.i18nc("@button", "Disable")
|
||||
visible: false // not functional right now, also only when unfolding and required
|
||||
text: packageData.enableManageButtonText
|
||||
visible: packageData.enableManageButtonVisible
|
||||
}
|
||||
|
||||
Cura.SecondaryButton
|
||||
{
|
||||
id: uninstallButton
|
||||
id: installManageButton
|
||||
Layout.alignment: Qt.AlignTop
|
||||
text: catalog.i18nc("@button", "Uninstall")
|
||||
visible: false // not functional right now, also only when unfolding and required
|
||||
text: packageData.installManageButtonText
|
||||
visible: packageData.installManageButtonVisible
|
||||
}
|
||||
|
||||
Cura.PrimaryButton
|
||||
{
|
||||
id: installButton
|
||||
id: updateManageButton
|
||||
Layout.alignment: Qt.AlignTop
|
||||
text: catalog.i18nc("@button", "Update") // OR Download, if new!
|
||||
visible: false // not functional right now, also only when unfolding and required
|
||||
visible: packageData.updateManageButtonVisible
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue