Please provide example which show process status on ui
-
I have made one function that update the firmware but now i have to show ui related to it.
for that i need example which show my firmware update started and in progress and after that is that successfully uploaded.So to do this i need Guide
Q 1] when i should show ui ? after the firmware update function call or before show ui i need to call this function ?
Q 2] when firmware update is in progress i need to show please wait message with blink ?
Q 3] on particular interval after i need to stop this please wait blink message and check firmware update pass or fail ?NOTE: i have confused due to both process happen parallelly so if possible guide me which concept i need to go through to handle this type program.
-
Hi,
How does the firmware update happen ?
-
@SGaist
How does firmware update happen ?
ANS: i write command from file this file size is using i2c write using qt. when it completed it return string successfully. -
@SGaist If possible please provide example
-
Then move the i2c writing to a different thread, send status updates from there and you can show a QProgressBar/QProgressDialog from your GUI.