a1f40a71c71f2d09de8cfa8e63e7a3a9c2478fb3,Orange/widgets/classify/owtreeviewer2d.py,TextTreeNode,boundingRect,#TextTreeNode#,148
Before Change
getattr(self, "_rect", QRectF(0, 0, 1, 1))
def boundingRect(self):
if self.truncate_text and getattr(self, "_rect", QRectF()).isValid():
return self._rect
else:
return super().boundingRect()
@property
def branches(self):
return [edge.node2 for edge in self.graph_edges() if edge.node1 is self]
After Change
getattr(self, "_rect", QRectF(0, 0, 1, 1))
def boundingRect(self):
return self._rect if getattr(self, "_rect", QRectF()).isValid() \
else super().boundingRect()
@property
def branches(self):
return [edge.node2 for edge in self.graph_edges() if edge.node1 is self]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: biolab/orange3
Commit Name: a1f40a71c71f2d09de8cfa8e63e7a3a9c2478fb3
Time: 2014-12-05
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/classify/owtreeviewer2d.py
Class Name: TextTreeNode
Method Name: boundingRect
Project Name: biolab/orange3
Commit Name: 4b803479322219967f7daa836e9db02dce0b65d1
Time: 2013-07-20
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/gui.py
Class Name: ColoredBarItemDelegate
Method Name: get_font
Project Name: biolab/orange3
Commit Name: 4b803479322219967f7daa836e9db02dce0b65d1
Time: 2013-07-20
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/gui.py
Class Name: LinkStyledItemDelegate
Method Name: linkRect