<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QsKineticScroller]]></title><description><![CDATA[<p dir="auto">Is it possible to add kinetic scrolling to a project like the one provided by Nokia Qt SDK =&gt; "Creating a mobile application with Nokia Qt SDK"?<br />
The applications base class is QDialog.<br />
Following the QsKineticScroller article <a href="http://blog.codeimproved.net/2010/12/kinetic-scrolling-with-qt-the-what-and-the-how/" target="_blank" rel="noopener noreferrer nofollow ugc">http://blog.codeimproved.net/2010/12/kinetic-scrolling-with-qt-the-what-and-the-how/</a> I've tried within the constructor:</p>
<p dir="auto">@QsKineticScroller *scroller = new QsKineticScroller(this);<br />
QAbstractScrollArea *area = new QAbstractScrollArea(this);<br />
area-&gt;setViewport(parent);<br />
scroller-&gt;enableKineticScrollFor(area);<br />
@</p>
<p dir="auto">But nothing happened. What's wrong here?<br />
Thanks.</p>
]]></description><link>https://forum.qt.io/topic/3972/qskineticscroller</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 22:55:49 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/3972.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 25 Feb 2011 10:06:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QsKineticScroller on Sun, 27 Feb 2011 22:58:03 GMT]]></title><description><![CDATA[<p dir="auto">I try to put webView widget on the scrollArea but seems like it doesn't work.. should it be working on webView or not?</p>
<p dir="auto">Thanks in advance,<br />
-=J=-</p>
]]></description><link>https://forum.qt.io/post/78003</link><guid isPermaLink="true">https://forum.qt.io/post/78003</guid><dc:creator><![CDATA[jessfortress]]></dc:creator><pubDate>Sun, 27 Feb 2011 22:58:03 GMT</pubDate></item><item><title><![CDATA[Reply to QsKineticScroller on Fri, 25 Feb 2011 14:15:24 GMT]]></title><description><![CDATA[<p dir="auto">Great - it works fine.<br />
Hoever - I had to disable "widgetResizable" for the scrollArea to get scrolling.<br />
Is this ok?</p>
<p dir="auto">Thank you for your help!</p>
]]></description><link>https://forum.qt.io/post/77872</link><guid isPermaLink="true">https://forum.qt.io/post/77872</guid><dc:creator><![CDATA[joe1]]></dc:creator><pubDate>Fri, 25 Feb 2011 14:15:24 GMT</pubDate></item><item><title><![CDATA[Reply to QsKineticScroller on Fri, 25 Feb 2011 13:16:36 GMT]]></title><description><![CDATA[<p dir="auto">Yes. It is.<br />
Simply do exactly as you describe above: create a Qt form class in designer, put a big scroll area on it (not QAbstractScrollArea, "abstract" classes are not meant for direct use but for subclassing), and put the widgets you want on that. Give the scroll area a name like "scrollArea" Should work like a charm.</p>
<p dir="auto">Now, in code, add a few lines to the constructor of your class (the one where'll find the setupUi call), and simply add:</p>
<p dir="auto">@<br />
QsKineticScroller *scroller = new QsKineticScroller(this);<br />
scroller-&gt;enableKineticScrollFor(ui-&gt;scrollArea);<br />
@</p>
]]></description><link>https://forum.qt.io/post/77869</link><guid isPermaLink="true">https://forum.qt.io/post/77869</guid><dc:creator><![CDATA[andre]]></dc:creator><pubDate>Fri, 25 Feb 2011 13:16:36 GMT</pubDate></item><item><title><![CDATA[Reply to QsKineticScroller on Fri, 25 Feb 2011 12:49:51 GMT]]></title><description><![CDATA[<p dir="auto">I would like to get a scrollable dialog that contains multiple line edits, progress bars and other display widgets.</p>
<p dir="auto">I wonder if it's possible to define a QAbstractScrollArea that covers the whole dialog (designed by the designer of Qt Creator). If yes this area should be given to enableKineticScrollFor().</p>
<p dir="auto">Is this approach possible?<br />
If not - what would be the right way?<br />
Thank you!</p>
]]></description><link>https://forum.qt.io/post/77865</link><guid isPermaLink="true">https://forum.qt.io/post/77865</guid><dc:creator><![CDATA[joe1]]></dc:creator><pubDate>Fri, 25 Feb 2011 12:49:51 GMT</pubDate></item><item><title><![CDATA[Reply to QsKineticScroller on Fri, 25 Feb 2011 12:21:54 GMT]]></title><description><![CDATA[<p dir="auto">Errr... perhaps you should explain to us what you want to achieve. You are not making much sense. A parent widget can not be "set to" (?) a widget that is a child of that same parent. Makes at little sense as claiming that your grandmother is your child.</p>
]]></description><link>https://forum.qt.io/post/77860</link><guid isPermaLink="true">https://forum.qt.io/post/77860</guid><dc:creator><![CDATA[andre]]></dc:creator><pubDate>Fri, 25 Feb 2011 12:21:54 GMT</pubDate></item><item><title><![CDATA[Reply to QsKineticScroller on Fri, 25 Feb 2011 12:04:58 GMT]]></title><description><![CDATA[<p dir="auto">OK - so how to set the QAbstractScrollArea to the parent widget?<br />
Thank you!</p>
]]></description><link>https://forum.qt.io/post/77852</link><guid isPermaLink="true">https://forum.qt.io/post/77852</guid><dc:creator><![CDATA[joe1]]></dc:creator><pubDate>Fri, 25 Feb 2011 12:04:58 GMT</pubDate></item><item><title><![CDATA[Reply to QsKineticScroller on Fri, 25 Feb 2011 11:10:15 GMT]]></title><description><![CDATA[<p dir="auto">Line 3 looks very suspicious. Setting the parent as the contents of a child? That doesn't sound right...</p>
]]></description><link>https://forum.qt.io/post/77839</link><guid isPermaLink="true">https://forum.qt.io/post/77839</guid><dc:creator><![CDATA[andre]]></dc:creator><pubDate>Fri, 25 Feb 2011 11:10:15 GMT</pubDate></item></channel></rss>