1e0416abe38afecd8e6bada2c867c124210f2571,Orange/widgets/visualize/utils/owlegend.py,LegendItemTitle,sizeHint,#LegendItemTitle#Any#Any#,296

Before Change


        self.__text.setFont(font)

    def sizeHint(self, size_hint, size_constraint=None, *args, **kwargs):
        return QSizeF(self.__text.boundingRect().size())


class LegendItem(QGraphicsLinearLayout):
    Legend item - one entry in the legend.

After Change


        self._size_hint = QSizeF(self.__text.boundingRect().size())

    def sizeHint(self, size_hint, size_constraint=None, *args, **kwargs):
        return self._size_hint


class LegendItem(QGraphicsLinearLayout):
    Legend item - one entry in the legend.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: biolab/orange3
Commit Name: 1e0416abe38afecd8e6bada2c867c124210f2571
Time: 2017-04-11
Author: anze.staric@gmail.com
File Name: Orange/widgets/visualize/utils/owlegend.py
Class Name: LegendItemTitle
Method Name: sizeHint


Project Name: biolab/orange3
Commit Name: 1e0416abe38afecd8e6bada2c867c124210f2571
Time: 2017-04-11
Author: anze.staric@gmail.com
File Name: Orange/widgets/visualize/utils/owlegend.py
Class Name: LegendItemSquare
Method Name: sizeHint


Project Name: biolab/orange3
Commit Name: 1e0416abe38afecd8e6bada2c867c124210f2571
Time: 2017-04-11
Author: anze.staric@gmail.com
File Name: Orange/widgets/visualize/utils/owlegend.py
Class Name: LegendGradient
Method Name: sizeHint


Project Name: biolab/orange3
Commit Name: 1e0416abe38afecd8e6bada2c867c124210f2571
Time: 2017-04-11
Author: anze.staric@gmail.com
File Name: Orange/widgets/visualize/utils/owlegend.py
Class Name: LegendItemCircle
Method Name: sizeHint