QML BusyIndicator how to overlay the current window
-
Hi,
Iam using QML Busyindicator when a user login or loading a data in a page or something like this, I want to be able to make the busyindicator overlay over the current window and make the window not editable, something similar to the messagebox when it shows up and disables all the Window, so I can't change or press anything until I press ok or close this dialog, something like the ProgressDialog in Android.
this is my code and what I try to do
Popup { id: waitpop width: 100 height: 100 BusyIndicator { id: login_progress running: true anchors.fill: parent } anchors.centerIn: Overlay.overlay closePolicy: Popup.NoAutoClose }
this code shows the busy indicator but the user still can interact with the button and text field and everything, so how to disable what is under the busy indicator and not let the user close it by tapping away.
Thanks in advance.
-
Hi,
Iam using QML Busyindicator when a user login or loading a data in a page or something like this, I want to be able to make the busyindicator overlay over the current window and make the window not editable, something similar to the messagebox when it shows up and disables all the Window, so I can't change or press anything until I press ok or close this dialog, something like the ProgressDialog in Android.
this is my code and what I try to do
Popup { id: waitpop width: 100 height: 100 BusyIndicator { id: login_progress running: true anchors.fill: parent } anchors.centerIn: Overlay.overlay closePolicy: Popup.NoAutoClose }
this code shows the busy indicator but the user still can interact with the button and text field and everything, so how to disable what is under the busy indicator and not let the user close it by tapping away.
Thanks in advance.