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 125 - QAbstractTextDocumentLayout.registerHandler apparently not working
: QAbstractTextDocumentLayout.registerHandler apparently not working
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-01-20 19:36 EET by Lauro Moura
Modified: 2010-09-10 19:21 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 Lauro Moura 2010-01-20 19:36:42 EET
In one of the examples,
       
self.textEdit.document().documentLayout().registerHandler(Window.SvgTextFormat,
svgInterface)
        print
self.textEdit.document().documentLayout().handlerForObject(Window.SvgTextFormat)

prints none.

Maybe something related to multiple inheritance by the SvgInterface.
Comment 1 Carlos Gonçalves 2010-02-28 14:38:08 EET
Just found this bug report now, but this may be related to bug #177.
Comment 2 Lauro Moura 2010-04-12 16:05:08 EEST
Update: PyQt4 also returns None and the example (richtext/textobject) does not
work.
Comment 3 Hugo Parente Lima 2010-09-01 11:13:43 EEST
*** Bug 334 has been marked as a duplicate of this bug. ***
Comment 4 Hugo Parente Lima 2010-09-10 19:15:00 EEST
Fixed in commit:
pyside/8f4246a522aa02c9e1d7e44ab6a18d13075d53b9