PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 226 - QTextEdit and QAbstractKineticScroller : QVariant .toPyObject Return None
: QTextEdit and QAbstractKineticScroller : QVariant .toPyObject Return None
Status: CLOSED DUPLICATE of bug 207
Product: PySide
Classification: Unclassified
Component: QtGui
: 0.3.0
: Other Other
: P5 major
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-05-20 09:27 EEST by Benoît HERVIER
Modified: 2010-08-13 11:27 EEST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benoît HERVIER 2010-05-20 09:27:31 EEST
While trying to implement a kinetic scrolling feature on a QTextEdit i can't
convert from QVariant.

from PySide import QtGui,QtCore
#from PyQt4 import QtGui,QtCore #<achipa> Khertan: if you reference my pyqt
example in the bug report, make sure you note it's for 4.7.3-maemo4 or newer,
the previous versions don't have the scroller class

import sys

if __name__ == '__main__':
    app = QtGui.QApplication(sys.argv)
    qte = QtGui.QTextEdit()
    print qte.property("kineticScroller").toPyObject()

    #Return a QAbstractScroller object on PyQt44 .7.3-maemo4 or newer
    #Return a None object on PySide
Comment 1 Hugo Parente Lima 2010-05-20 10:16:45 EEST

*** This bug has been marked as a duplicate of bug 207 ***