d9a9943b590df022dc905c3d53df705a2a6d5866,Orange/canvas/preview/previewmodel.py,PreviewItem,thumbnail,#PreviewItem#,145

Before Change


        This is stored as `ThumbnailSVGRole`
        
        thumb = self.data(ThumbnailSVGRole)
        if thumb.isValid():
            return thumb.toString()

    def setThumbnail(self, thumbnail):
        Set the thumbnail SVG contents as a string.

        When set it also overrides the icon role.

After Change


        This is stored as `ThumbnailSVGRole`
        
        thumb = self.data(ThumbnailSVGRole)
        if thumb is not None:
            return thumb

    def setThumbnail(self, thumbnail):
        Set the thumbnail SVG contents as a string.

        When set it also overrides the icon role.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/preview/previewmodel.py
Class Name: PreviewItem
Method Name: thumbnail


Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/preview/previewmodel.py
Class Name: PreviewItem
Method Name: description


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: VisibleHeaderSectionContextEventFilter
Method Name: eventFilter