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 11 - 'Qt' has no attribute 'AlignRight'
: 'Qt' has no attribute 'AlignRight'
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: QtCore
: 0.1.0
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2009-08-21 13:47 EEST by Carlos Gonçalves
Modified: 2009-10-14 14:17 EEST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Gonçalves 2009-08-21 13:47:30 EEST
carlos@corenux:~/devel/scm/pyside-examples/examples/widgets> python
calculator.py
Traceback (most recent call last):
  File "calculator.py", line 378, in <module>
    calc = Calculator()
  File "calculator.py", line 64, in __init__
    self.display.setAlignment(QtCore.Qt.AlignRight)
AttributeError: type object 'Qt' has no attribute 'AlignRight'

Missing QtCore.Qt.AlignRight implementation.
Comment 1 Carlos Gonçalves 2009-08-21 14:00:54 EEST
>>> print QtCore.Qt.Align
QtCore.Qt.AlignAbsolute         QtCore.Qt.AlignHCenter         
QtCore.Qt.AlignLeading          QtCore.Qt.AlignVCenter         
QtCore.Qt.AlignmentFlag(
QtCore.Qt.AlignBottom           QtCore.Qt.AlignHorizontal_Mask 
QtCore.Qt.AlignTop              QtCore.Qt.AlignVertical_Mask
QtCore.Qt.AlignCenter           QtCore.Qt.AlignJustify         
QtCore.Qt.AlignTrailing         QtCore.Qt.Alignment(

QtCore.Qt.AlignLeft is also missing, and so most likely more too.
Comment 2 renato filho 2009-08-21 15:40:24 EEST
verify if your boost version already constains necessary patch: 

http://www.pyside.org/downloads/


Which version of boost and PySide you are using?
Comment 3 Carlos Gonçalves 2009-08-21 15:56:32 EEST
Boost 1.39.0 patched. PySide 0.1.4.5 (packaged for openSUSE, source is tarball)
Comment 4 Carlos Gonçalves 2009-08-21 20:31:39 EEST
I had installed an older patched version of boost and thought it was the newer
built one. INVALID.