Notification system
Posted: Thu May 21, 2015 9:22 am
Hi all.
I'm trying to create a basic notification system to show to the user a notification stack when he receives a new information.
Basicly when the notification arrives I show a stack with the notification text and a close button. The system can be configured to autohide the notification after few seconds.
I've a little problem in doing this. Infact when the notification stack is showed the stack in which i'm workin' on lose the focus... When notification stack hides the focus return on the previous stack.
So my question is: there is a way to manage the showing of a stack without lose the focus on the actual main stack? I've tried to set the notification stack as modeless without success. The notification stack has the systemWindow property set to true but even if I set this property to false nothing changes.
Hope someone can point me to the right direction!
Thank you in advance.
I'm trying to create a basic notification system to show to the user a notification stack when he receives a new information.
Basicly when the notification arrives I show a stack with the notification text and a close button. The system can be configured to autohide the notification after few seconds.
I've a little problem in doing this. Infact when the notification stack is showed the stack in which i'm workin' on lose the focus... When notification stack hides the focus return on the previous stack.
So my question is: there is a way to manage the showing of a stack without lose the focus on the actual main stack? I've tried to set the notification stack as modeless without success. The notification stack has the systemWindow property set to true but even if I set this property to false nothing changes.
Hope someone can point me to the right direction!
Thank you in advance.