<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title></title><meta http-equiv="Content-type" content="text/html; charset=UTF-8" /><style type="text/css">p { margin:0px; padding:0px; }</style></head><body style='background-color:rgb(255, 255, 255);background-image:none;background-repeat:repeat;background-position:0% 0%;font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:12px;margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;padding-top:5px;padding-bottom:5px;padding-left:5px;padding-right:5px;'><p><span style="font-family:'Courier New';"><font size="3">just a quick example that would work, see if it helps.</font></span></p><p><span style="font-family:'Courier New';"><font size="3"><br /></font></span></p><p><span style="font-family:'Courier New';"><font size="3"><p><font class="Apple-style-span" color="#0000FF">    imageLabel = new QLabel;</font></p><p><font class="Apple-style-span" color="#0000FF">    QImage image(someimagefile);</font></p><p><font class="Apple-style-span" color="#0000FF">    imageLabel-&gt;setPixmap(QPixmap::fromImage(image));</font></p><p><font class="Apple-style-span" color="#0000FF"><br /></font></p></font></span></p><p><span style="font-family:'Courier New';"><font size="3"><p><font class="Apple-style-span" color="#0000FF">    _scrollForMapPage = new QScrollArea;</font></p><p><font class="Apple-style-span" color="#0000FF">    _scrollForMapPage-&gt;setWidget(imageLabel);</font></p><p><p><font class="Apple-style-span" color="#0000FF"><br /></font></p><p><font class="Apple-style-span" color="#0000FF">    _mapWindow = new QMainWindow ( this );</font></p></p><p><font class="Apple-style-span" color="#0000FF">    _mapWindow-&gt;setCentralWidget(_scrollForMapPage);</font></p><p><font class="Apple-style-span" color="#0000FF">    _mapWindow-&gt;show();</font></p><div><br /></div><div>you dont need to set any property as Daniil set most widgets have kinetic scrolling by default like ListWidget/TableWidget/ScrollArea.</div><div><br /></div><div>cheers</div><div>-krk969</div><div><br /></div><div><br /></div></font></span></p><font size="3"><p></p><blockquote class="quote" type="cite"><p>----- Original Message -----</p><p>From: Sudheer K.</p><p>Sent: 06/06/10 05:08 AM</p><p>To: felipe@crochik.com, daniil.ivanov@gmail.com</p><p>Subject: RE: How to get kinetic scrolling working using Qt creator</p><br /><div> 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: <a href="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','scifi.guy@hotmail.com');">scifi.guy@hotmail.com</a><br />To: <a href="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','felipe@crochik.com');">felipe@crochik.com</a>; <a href="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','daniil.ivanov@gmail.com');">daniil.ivanov@gmail.com</a><br />CC: <a href="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','maemo-developers@maemo.org');">maemo-developers@maemo.org</a><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 &quot;verticalscrollbarpolicy&quot; but it doesn't actually scroll anything.<br /><hr id="ecxstopSpelling" />From: <a href="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','felipe@crochik.com');">felipe@crochik.com</a><br />To: <a href="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','scifi.guy@hotmail.com');">scifi.guy@hotmail.com</a>; <a href="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','daniil.ivanov@gmail.com');">daniil.ivanov@gmail.com</a><br />CC: <a href="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','maemo-developers@maemo.org');">maemo-developers@maemo.org</a><br />Subject: RE: How to get kinetic scrolling working using Qt creator<br />Date: Sat, 5 Jun 2010 23:52:45 -0400<br /><br />  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 &quot;WidgetResizable&quot; 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;   ConfigWindow (QMainWindow) - 800 x 480 <br />&gt;   centralWidget (QWidget) - 800 x 457 <br />&gt;   scrollArea (QScrollArea) - 800 x 550 <br />&gt;   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="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','daniil.ivanov@gmail.com');">daniil.ivanov@gmail.com</a> <br />&gt; &gt; To: <a href="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','scifi.guy@hotmail.com');">scifi.guy@hotmail.com</a> <br />&gt; &gt; CC: <a href="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','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" target="_blank">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="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','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 &quot;FingerScrollable&quot; 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 &quot;FingerScrollable&quot; 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.   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="#" onclick="parent.mailclient.util.HelperUtil.executeClientFunction('openNewMail','maemo-developers@maemo.org');">maemo-developers@maemo.org</a> <br />&gt; &gt; &gt; <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a> <br />&gt; &gt; &gt;  <br />&gt; &gt; &gt;  <br />&gt;                                 <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&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4" target="_blank">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" target="_blank">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="_blank">See how.</a> </div></blockquote><p></p><br /></font><p></p><p> </p><div id="editor_signature"><p size="3" style="font-family:'Courier New';"> </p></div></body></html>