![]() |
FingerScrollable in 4.6
Hi all,
Does this snippet of code work on Qt 4.6 preview? listWidget_ = new QListWidget(); listWidget_->setProperty("FingerScrollable", true); It is not working for me... That is, compiles but does not enable finger scrolling behaviour... It was working in 4.5. It is described in http://wiki.maemo.org/Qt/Finger_Scrolling best regards Carlos |
Re: FingerScrollable in 4.6
Hi,
the finger scrolling in Qt 4.6 works differently. Here you can find an example. But anyway, this is part of the Preview 2, see here. So it is not supposed to work in earlier versions. But please keep in mind that this is a technology preview and that it always might be possible that the API could change. Like everything, which is in extras-devel, it is still experimental. So stay tuned to that. UPDATE: So the version in extras-devel (qt4-maemo5 (+git20091125)) is the Tech Preview 2. Sorry for the confusion! Cheers Daniel |
Re: FingerScrollable in 4.6
And beware that currently, using kinetic scrolling in qt4-maemo5 crashes your app if the scrollarea has child widgets. This should be fixed in the next qt4-maemo5 update.
|
Re: FingerScrollable in 4.6
Quote:
Cheers Daniel |
Re: FingerScrollable in 4.6
Quote:
For those interested, here is the snippet of code #include <QMaemo5KineticScroller> #include <QListWidget> listWidget_ = new QListWidget(); new QMaemo5KineticScroller(listWidget_); And your .pro needs to have QT +=maemo5 Thank you all |
Re: FingerScrollable in 4.6
Hi,
I'm using QGraphicsView in my app and it has fingerscroll enabled by default. I would like to disable it, but I can't find how to do this. Is there any way to disable it? Thanks for help. |
All times are GMT. The time now is 16:41. |
vBulletin® Version 3.8.8