[Qt-interest] Window alert
John McClurkin
jwm at nei.nih.gov
Tue Aug 11 14:10:59 CEST 2009
Yuvaraj R wrote:
> 4.3 only..
>
> It is working ,my senario is i want to set the alert for my incomimg
> call window.. it will show, when call coming..
>
> you would have seen at Gtalk. when we getting the message ,it will alert
> the incoming message window.
>
> Simple issue,but i am struggling with last 1day..
>
>
> please help me to sort out this problem .
>
>
You say that you have been struggling with this for a day, but you don't
describe what you have tried so it's hard for any one to help. According
to the Docs QApplication::alert() causes an alert to be shown for a
widget if that widget is not the active window. So, for starters, try
this: just before calling QApplication::alert(this, 1000), check to see
if this is active. If it is, then no alert will be shown.
More information about the Qt-interest-old
mailing list