You can use it everywhere not only on a graphics screen. In your case you seem to have a fixed screen (on a mobile with s60) simple create a widget and position it outside the window. Now on button click start an animation manipulating the pos property and let the widget slide in. Something like that:
Qt Code:
  1. QWidget* slide;
  2. // setup slide
  3. slide.setGeometry(-slide->width(), 0, slide->width(), slide->height());
  4.  
  5. // then a animation:
  6. QPropertyAnimation *animation = new QPropertyAnimation(slide, "pos");
  7. animation->setDuration(10000);
  8. animation->setStartValue(slide->pos());
  9. animation->setEndValue(QPoint(0,0));
  10.  
  11. // to slide in call
  12. animation->start();
To copy to clipboard, switch view to plain text mode