[maemo-developers] How to get kinetic scrolling working using Qt creator
From: Felipe Crochik felipe at crochik.comDate: Sun Jun 6 06:52:45 EEST 2010
- Previous message: How to get kinetic scrolling working using Qt creator
- Next message: How to get kinetic scrolling working using Qt creator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
One silly question: are you trying it on the actual device? It won't work on the simulator or if you compile for the desktop. ----- Original message ----- > > Hi Daniil, > > I could not get the scrolling to work by using QScrollArea, even after > removing the FingerScrollable property. Any suggestions on what I should > change? > > I have tried setting "WidgetResizable" to true on QScrollArea, still > scrolling does not work. > > If it matters, there are sizes I have set in my form. > > ConfigWindow (QMainWindow) - 800 x 480 > centralWidget (QWidget) - 800 x 457 > scrollArea (QScrollArea) - 800 x 550 > scrollAreaWidgetContents (QWidget) - 798 x 548 (this can not be > modified). > > All the examples I have seen (even on Qt site) use custom code to create > QWidget or QWindow. But I am using Qt creator to create the form and I > couldn't find much help. > > > > Date: Sat, 5 Jun 2010 21:52:29 +0300 > > Subject: Re: How to get kinetic scrolling working using Qt creator > > From: daniil.ivanov at gmail.com > > To: scifi.guy at hotmail.com > > CC: maemo-developers at maemo.org > > > > Hi Sudheer! > > > > There is no such property as FingerScrollable and kinetic srolling > > is enabled by default for QScrollArea > > http://doc.qt.nokia.com/qt-maemo-4.6/qabstractkineticscroller.html#details > > > > Thanks, Daniil. > > > > On Sat, Jun 5, 2010 at 8:10 PM, Sudheer K. <scifi.guy at hotmail.com> > > wrote: > > > Hi All, > > > > > > I have created a QScrollArea to a QMainWindow in a form using Qt > > > Creator. I have set the dynamic property "FingerScrollable" to true > > > (bool) for QMainWindow, QScrollArea and the contents of QScrollArea. > > > > > > This is the structure of my form objects in the format objectname > > > (ClassName): > > > > > > ConfigWindow (QMainWindow) --> centralWidget (QWidget) --> scrollArea > > > (QScrollArea) --> scrollAreaWidgetContents (QWidget) -->groupBox > > > (QGroupBox). > > > > > > I have set the "FingerScrollable" property to true for all these > > > objects. But still I am not able to get kinetic scrolling working > > > for the form. Am I missing something? > > > ________________________________ > > > Hotmail is redefining busy with tools for the New Busy. Get more > > > from your inbox. See how. > > > _______________________________________________ > > > maemo-developers mailing list > > > maemo-developers at maemo.org > > > https://lists.maemo.org/mailman/listinfo/maemo-developers > > > > > > > > _________________________________________________________________ > The New Busy is not the too busy. Combine all your e-mail accounts with > Hotmail. > http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100605/a6df6803/attachment.htm>
- Previous message: How to get kinetic scrolling working using Qt creator
- Next message: How to get kinetic scrolling working using Qt creator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]