mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Make progressBar optional in Wizard
CURA-6435
This commit is contained in:
parent
76947df6c1
commit
a5259ce22e
3 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue