[maemo-developers] How to get kinetic scrolling working using Qt creator

From: Sudheer K. scifi.guy at hotmail.com
Date: Sun Jun 6 07:08:19 EEST 2010
Anyone know of any applications that are using Qt Creator (.ui files) and were successful in implementing kinetic scrolling? Maybe I can look at the forms to see what I am doing wrong here.

Thanks,
Sudheer
From: scifi.guy at hotmail.com
To: felipe at crochik.com; daniil.ivanov at gmail.com
CC: maemo-developers at maemo.org
Subject: RE: How to get kinetic scrolling working using Qt creator
Date: Sat, 5 Jun 2010 20:57:38 -0700









Yes, I am compiling on FREMANTLE_ARMEL and copying to device and testing it :)

Another thing is I can display the scrollbar using "verticalscrollbarpolicy" but it doesn't actually scroll anything.
From: felipe at crochik.com
To: scifi.guy at hotmail.com; daniil.ivanov at gmail.com
CC: maemo-developers at maemo.org
Subject: RE: How to get kinetic scrolling working using Qt creator
Date: Sat, 5 Jun 2010 23:52:45 -0400





    
    
    

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



 		 	   		  
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. Learn more. 		 	   		  
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100605/45f986db/attachment.htm>
More information about the maemo-developers mailing list