<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
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.<br><br>Thanks,<br>Sudheer<br><hr id="stopSpelling">From: scifi.guy@hotmail.com<br>To: felipe@crochik.com; daniil.ivanov@gmail.com<br>CC: maemo-developers@maemo.org<br>Subject: RE: How to get kinetic scrolling working using Qt creator<br>Date: Sat, 5 Jun 2010 20:57:38 -0700<br><br>



<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>


<br>Yes, I am compiling on FREMANTLE_ARMEL and copying to device and testing it :)<br><br>Another thing is I can display the scrollbar using "verticalscrollbarpolicy" but it doesn't actually scroll anything.<br><hr id="ecxstopSpelling">From: felipe@crochik.com<br>To: scifi.guy@hotmail.com; daniil.ivanov@gmail.com<br>CC: maemo-developers@maemo.org<br>Subject: RE: How to get kinetic scrolling working using Qt creator<br>Date: Sat, 5 Jun 2010 23:52:45 -0400<br><br>



    
    
    <title></title>

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.
<br>
<br>----- Original message -----
<br>&gt; 
<br>&gt; Hi Daniil,
<br>&gt; 
<br>&gt; I could not get the scrolling to work by using QScrollArea, even after
<br>&gt; removing the FingerScrollable property. Any suggestions on what I should
<br>&gt; change?
<br>&gt; 
<br>&gt; I have tried setting "WidgetResizable" to true on QScrollArea, still
<br>&gt; scrolling does not work.
<br>&gt; 
<br>&gt; If it matters, there are sizes I have set in my form.
<br>&gt; 
<br>&gt;&nbsp;  ConfigWindow (QMainWindow) - 800 x 480
<br>&gt;&nbsp;  centralWidget (QWidget) - 800 x 457
<br>&gt;&nbsp;  scrollArea (QScrollArea) - 800 x 550
<br>&gt;&nbsp;  scrollAreaWidgetContents (QWidget) - 798 x 548 (this can not be
<br>&gt; modified).
<br>&gt; 
<br>&gt; All the examples I have seen (even on Qt site) use custom code to create
<br>&gt; QWidget or QWindow. But I am using Qt creator to create the form and I
<br>&gt; couldn't find much help.
<br>&gt; 
<br>&gt; 
<br>&gt; &gt; Date: Sat, 5 Jun 2010 21:52:29 +0300
<br>&gt; &gt; Subject: Re: How to get kinetic scrolling working using Qt creator
<br>&gt; &gt; From: <a href="mailto:daniil.ivanov@gmail.com">daniil.ivanov@gmail.com</a>
<br>&gt; &gt; To: <a href="mailto:scifi.guy@hotmail.com">scifi.guy@hotmail.com</a>
<br>&gt; &gt; CC: <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a>
<br>&gt; &gt; 
<br>&gt; &gt; Hi Sudheer!
<br>&gt; &gt; 
<br>&gt; &gt; There is no such property as FingerScrollable and kinetic srolling
<br>&gt; &gt; is enabled by default for QScrollArea
<br>&gt; &gt; <a href="http://doc.qt.nokia.com/qt-maemo-4.6/qabstractkineticscroller.html#details">http://doc.qt.nokia.com/qt-maemo-4.6/qabstractkineticscroller.html#details</a>
<br>&gt; &gt; 
<br>&gt; &gt; Thanks, Daniil.
<br>&gt; &gt; 
<br>&gt; &gt; On Sat, Jun 5, 2010 at 8:10 PM, Sudheer K. &lt;<a href="mailto:scifi.guy@hotmail.com">scifi.guy@hotmail.com</a>&gt;
<br>&gt; &gt; wrote:
<br>&gt; &gt; &gt; Hi All,
<br>&gt; &gt; &gt; 
<br>&gt; &gt; &gt; I have created a QScrollArea to a QMainWindow in a form using Qt
<br>&gt; &gt; &gt; Creator. I have set the dynamic property "FingerScrollable" to true
<br>&gt; &gt; &gt; (bool) for QMainWindow, QScrollArea and the contents of QScrollArea.
<br>&gt; &gt; &gt; 
<br>&gt; &gt; &gt; This is the structure of my form objects in the format objectname
<br>&gt; &gt; &gt; (ClassName):
<br>&gt; &gt; &gt; 
<br>&gt; &gt; &gt; ConfigWindow (QMainWindow) --&gt; centralWidget (QWidget) --&gt; scrollArea
<br>&gt; &gt; &gt; (QScrollArea) --&gt; scrollAreaWidgetContents (QWidget) --&gt;groupBox
<br>&gt; &gt; &gt; (QGroupBox).
<br>&gt; &gt; &gt; 
<br>&gt; &gt; &gt; I have set the "FingerScrollable" property to true for all these
<br>&gt; &gt; &gt; objects. But still I am not able to get kinetic scrolling working
<br>&gt; &gt; &gt; for the form.&nbsp;  Am I missing something?
<br>&gt; &gt; &gt; ________________________________
<br>&gt; &gt; &gt; Hotmail is redefining busy with tools for the New Busy. Get more
<br>&gt; &gt; &gt; from your inbox. See how.
<br>&gt; &gt; &gt; _______________________________________________
<br>&gt; &gt; &gt; maemo-developers mailing list
<br>&gt; &gt; &gt; <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a>
<br>&gt; &gt; &gt; <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers">https://lists.maemo.org/mailman/listinfo/maemo-developers</a>
<br>&gt; &gt; &gt; 
<br>&gt; &gt; &gt; 
<br>&gt;&nbsp;  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;  
<br>&gt; _________________________________________________________________
<br>&gt; The New Busy is not the too busy. Combine all your e-mail accounts with
<br>&gt; Hotmail.
<br>&gt; <a href="http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&amp;ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4">http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&amp;ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4</a>
<br><br><br>                                               <br><hr>Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. <a href="http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1">Learn more.</a>                                               <br /><hr />Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2' target='_new'>See how.</a></body>
</html>