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 741 - Method "qreal QTextLine::cursorToX(int *cursorPos, Edge edge = Leading) const" missing
: Method "qreal QTextLine::cursorToX(int *cursorPos, Edge edge = Leading) const...
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: 1.0.0
: All All
: P3 normal
Assigned To: Marcelo Lira
:
:
:
  Show dependency treegraph
 
Reported: 2011-03-17 22:39 EET by Marcelo Lira
Modified: 2011-04-29 18:06 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Lira 2011-03-17 22:39:36 EET
Instead of "qreal QTextLine::cursorToX(int *cursorPos, Edge edge = Leading)
const" QtGui currently have the crippled version "qreal
QTextLine::cursorToX(int cursorPos, Edge edge = Leading) const" that returns
the qreal result, but don't alter the cursorPos argument. This version should
be removed and other that returns a tuple with the qreal and the altered
cursorPos:

(qreal, cursorPos) QTextLine.cursorToX(cursorPos, edge)
Comment 1 Marcelo Lira 2011-04-15 01:18:19 EEST
Fixed in PySide/1d842f57.
Comment 2 renato filho 2011-04-29 18:06:25 EEST
PySide release 1.0.2