def __init__(self, url, manager, parent=None):
        '''
        @param url: string. URL of picture to be retrieved.
        @param manager: RecourseManager.
        '''
        super(PictureViewer, self).__init__(parent)
        
        self.title = url.rsplit('/', 1)[-1]
        
        self.setupUI()
        self.resize(400, 400)
        self.setWindowTitle('100%% %s' % self.title)
        self.setMouseTracking(True)
        #self.setStyleSheet('border-style: solid; border-width: 5px')
        
        self.task = DownloadTask(url, manager)
        self.connect(self.task, SIGNAL_PROGRESS, self.updateProgress)
        self.connect(self.task, SIGNAL_FINISH, self.updateUI)
        self.task.start()
        
        self.connect(self.scroll_area, SIGNAL_ZOOM, self.onZoom)
dataset/ETHPy150Open hbprotoss/weii/app/widget/picture_viewer.py/PictureViewer.__init__/original