mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 06:08:58 +08:00
Make progressBar optional in Wizard
CURA-6435
This commit is contained in:
parent
76947df6c1
commit
a5259ce22e
@ -779,6 +779,7 @@ UM.MainWindow
|
||||
id: addMachineDialog
|
||||
title: catalog.i18nc("@title:window", "Add Printer")
|
||||
model: CuraApplication.getAddPrinterPagesModel()
|
||||
progressBarVisible: false
|
||||
}
|
||||
|
||||
Connections
|
||||
|
@ -27,6 +27,7 @@ Window
|
||||
color: UM.Theme.getColor("main_background")
|
||||
|
||||
property var model: null // Needs to be set by whoever is using this dialog.
|
||||
property alias progressBarVisible: wizardPanel.progressBarVisible
|
||||
|
||||
onVisibilityChanged:
|
||||
{
|
||||
|
@ -25,6 +25,7 @@ Item
|
||||
property var progressValue: model == null ? 0 : model.currentProgress
|
||||
property string pageUrl: currentItem == null ? "" : currentItem.page_url
|
||||
|
||||
property alias progressBarVisible: progressBar.visible
|
||||
property alias backgroundColor: panelBackground.color
|
||||
|
||||
signal showNextPage()
|
||||
@ -44,6 +45,7 @@ Item
|
||||
anchors.fill: parent
|
||||
radius: UM.Theme.getSize("default_radius").width
|
||||
color: UM.Theme.getColor("main_background")
|
||||
|
||||
UM.ProgressBar
|
||||
{
|
||||
id: progressBar
|
||||
|
Loading…
x
Reference in New Issue
Block a user