mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Show install, uninstall & disable buttons in packages list
This splits up the single show controls property into three seperate ones and no longer hides installed packages from the plugin & materials list CURA-8834
This commit is contained in:
parent
6cbcf09580
commit
095b8dc5dd
8 changed files with 28 additions and 16 deletions
|
|
@ -19,7 +19,10 @@ ListView
|
|||
property string bannerText
|
||||
property string bannerReadMoreUrl
|
||||
property var onRemoveBanner
|
||||
property bool packagesManageableInListView
|
||||
|
||||
property bool showUpdateButton
|
||||
property bool showDisableButton
|
||||
property bool showInstallButton
|
||||
|
||||
clip: true
|
||||
|
||||
|
|
@ -81,7 +84,9 @@ ListView
|
|||
|
||||
PackageCard
|
||||
{
|
||||
manageableInListView: packages.packagesManageableInListView
|
||||
showUpdateButton: packages.showUpdateButton
|
||||
showDisableButton: packages.showDisableButton
|
||||
showInstallButton: packages.showInstallButton
|
||||
packageData: model.package
|
||||
width: parent.width - UM.Theme.getSize("default_margin").width - UM.Theme.getSize("narrow_margin").width
|
||||
color: cardMouseArea.containsMouse ? UM.Theme.getColor("action_button_hovered") : UM.Theme.getColor("main_background")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue