Quantcast
Channel: together.jolla.com - Individual question feed
Viewing all articles
Browse latest Browse all 6

[partly solved]ProgressBar in Notifications

$
0
0
Since 2.2.0, according to the Release Notes, ProgressBars in notifications are supported. Does that mean it should be possible with the pure qml `Notification {}` from `import Nemo.Notifications 1.0`? I didn't find anything related in the docs. After a short look, the only thing for this I found was in the home screen: `JollaNotificationListModel` entries apparently have the properties `notification.hasProgress` (bool) and `notification.progress` (real) – but I have no clue as to how to set those, from qml or otherwise, as the Notification QML-Type doesn't have them by default and does not care if I set them as properties. Not that I expected it to, but I tried it, anyways. **Edit/Solution**: As [coderus](https://together.jolla.com/users/440/coderus/) pointed out below, the Notifications **QML-Type does not support this**, but from C++ there's notification.setHintValue("x-nemo-progress", 0.5); Thanks for digging this out!

Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images