[MeeGo-touch-dev] How to move image freely
smile2bob at gmail.com
Mon Oct 25 00:30:38 PDT 2010
First, Thanks for watching my question.
I'd like to have a image to be moved freely like other touch based image
viewer, but It seems MImageWidget can't satisfy my need. It only provides
Horizontal moving and Vertical moveing.
Maybe I missed something to enable free move, or I should use other widget?
Here is a very simple example to show you how I use MImageWidget as below:
int main(int argc, char **argv)
MApplication app(argc, argv);
page.setPanningDirection(Qt::Horizontal | Qt::Vertical);
MImageWidget *image = new MImageWidget(page.centralWidget());
Thanks for your time.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MeeGo-touch-dev