Reply
Thread Tools
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#21
Cool.

BTW, 226 is a duplicate of 207, which has been fixed upstream.
__________________
aspidites | blog | aspidites@inbox.com
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#22
 
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#23
Originally Posted by Khertan View Post
Ok due to bug #226 it s not possible yet with pyside ...

It s works with the last PyQt4 binding available in extras-devel.

Thx to achipa who help me a lot ... in fact who found what s the problem was and give the solution :

qte = QtGui.QTextEdit()
scroller = qte.property("kineticScroller").toPyObject()
scroller.setEnabled(True)
That worked. I ran into an interesting problem though.
Appears that this does not work as it should on QPlainTextEdit()
When using that exact same method the scrolling is so sensitive that you only have to move your finger a few pixels to scroll from top to bottom of a pretty long list. Is this a bug or a feature?

Changed to QTextEdit and everything was peachy, so it's not really a problem for me now.
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#24
Probably a Qt bug, but if you take a look at the QAbstractKineticScroller object, you have methods for adjusting various scroll parameters.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:39.