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 641 - some errors in diagramscene.py
: some errors in diagramscene.py
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: Examples
: HEAD
: All All
: P3 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-01-25 04:20 EET by Krasilnikov Sergey
Modified: 2011-02-02 15:46 EET (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 Krasilnikov Sergey 2011-01-25 04:20:52 EET
1. Item context menu not shown

line 140:
self.contextMenu = contextMenu
change to
self.myContextMenu = contextMenu

2. Zoom not working

line 453:
newScale = scale.left(scale.indexOf("%")).toDouble()[0] / 100.0
change to something like:
newScale = int(scale[:-1]) / 100.0

QString artifact :)

Thanks.
Comment 1 Hugo Parente Lima 2011-01-25 10:31:40 EET
Thanks, I'll merge
http://qt.gitorious.org/pyside/pyside-examples/merge_requests/26
Comment 2 Hugo Parente Lima 2011-01-25 10:33:59 EET
Fixed in commit:

pyside-examples/7776cd9ca17ad5f87d696fb7832df8dd45c8faba
Comment 3 Matti Airas 2011-01-25 10:40:18 EET
Oops, forgot to assign to myself. Thanks, Hugo.
Comment 4 renato filho 2011-02-02 15:46:12 EET
released on beta 5