I'm working on an app that updates data from the internet. I want give the user some feedback that update is in progress.
How to use the default Maemo 5 "wait" animation? I have in mind that circle with lines.
I'm working on an app that updates data from the internet. I want give the user some feedback that update is in progress.
How to use the default Maemo 5 "wait" animation? I have in mind that circle with lines.
You need to set atom _HILDON_WM_WINDOW_PROGRESS_INDICATOR of type XA_INTEGER with value 1 to your window to enable progress indicator. Then set 0 or remove atom to disable it.
You should use Xlib's XChangeProperty, there is an example in Maemo wiki.
In case you are using Qt 4.6 there is a wrapper for that:
Code:QWidget::setAttribute(Qt::WA_Maemo5ShowProgressIndicator, true);