Slide Up Window (Messenger Style)
Hi all,
I need to make a slide-up window (in the right bottom corner of the screen, just like MSN Messenger does when someone sends you a message)..
Can anyone point me in the right direction.. I was thinking of using a QDialog, but after reading all the docs on that, I'm not sure it's the best approach..
Any ideas?
Re: Slide Up Window (Messenger Style)
Use a borderless QWidget together with a QTimer or QTimeLine (Qt4 only) to perform the animation.
Re: Slide Up Window (Messenger Style)
Thanks, trying that now.. but ran into another problem! How do I find the width / height of the screen my program is running in? I am looking at QScreen.. is that the right way to go?
Thanks for your help :)
Re: Slide Up Window (Messenger Style)
Quote:
Originally Posted by
December
I am looking at QScreen.. is that the right way to go?
No, it's QDesktopWidget what you're after...