Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad BinOpMult BinOpDiv BinOpMult NameLoad NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Return If Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body If CompareGt Call AttributeLoad NameLoad attr Num body Assign NameStore Num orelse Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Return Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Return Assign NameStore AttributeLoad NameLoad attr If CompareGt Call AttributeLoad NameLoad attr Num body AugAssignAdd NameStore AttributeLoad NameLoad attr If CompareGt NameLoad Num body Assign NameStore Num orelse AugAssignSub NameStore AttributeLoad NameLoad attr If CompareLt NameLoad Num body Assign NameStore Num Assign NameStore BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr BinOpDiv NameLoad Num Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr BinOpDiv NameLoad Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr BinOpSub BinOpDiv BinOpMult NameLoad NameLoad AttributeLoad NameLoad attr BinOpDiv NameLoad Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr BinOpSub BinOpDiv BinOpMult NameLoad NameLoad AttributeLoad NameLoad attr BinOpDiv NameLoad Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad BinOpMult NameLoad Num AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A imghdr PyQt4.QtCore * PyQt4.QtGui * app theme_manager app logger app constant N/A SIGNAL_FINISH N/A SIGNAL downloadFinished N/A SIGNAL_PROGRESS N/A SIGNAL progress N/A SIGNAL_ZOOM N/A SIGNAL zoom N/A log N/A N/A logger getLogger __name__ DownloadTask N/A QThread N/A __init__ N/A N/A self url manager parent N/A None N/A N/A N/A N/A N/A super DownloadTask self __init__ parent N/A N/A N/A log info N/A Start downloading %s url N/A N/A self url url N/A N/A self manager manager N/A reportHook N/A N/A self transferred_blocks bytes_per_block total_size N/A N/A N/A percentage N/A int N/A N/A N/A transferred_blocks bytes_per_block total_size 100 N/A N/A N/A self emit SIGNAL_PROGRESS percentage N/A run N/A N/A self N/A N/A N/A path N/A N/A N/A self manager get N/A self url N/A self reportHook N/A N/A N/A log info N/A %s finished N/A self url N/A N/A N/A log info N/A save to %s path N/A N/A N/A self emit SIGNAL_FINISH path N/A N/A LoadingIndicator N/A QWidget N/A N/A 
    Composed of a loading animater and a percentage indicator
     __init__ N/A N/A self parent N/A None N/A N/A N/A N/A N/A super LoadingIndicator self __init__ parent N/A N/A N/A self setupUI N/A setupUI N/A N/A self N/A N/A N/A vbox N/A QVBoxLayout N/A N/A N/A vbox setAlignment N/A Qt AlignCenter N/A N/A N/A self setLayout vbox N/A gif N/A QMovie N/A N/A theme_manager getParameter Skin loading-image N/A N/A N/A gif start N/A label_loading N/A QLabel N/A N/A N/A label_loading setMovie gif N/A N/A N/A vbox addWidget label_loading N/A N/A self label_percentage N/A QLabel 0 % N/A N/A N/A N/A self label_percentage setAlignment N/A Qt AlignCenter N/A N/A N/A N/A self label_percentage setStyleSheet font-size: 20px N/A N/A N/A vbox addWidget N/A self label_percentage N/A setPercentage N/A N/A self percentage N/A N/A N/A N/A N/A N/A self label_percentage setText N/A %d %% N/A int percentage N/A N/A ScrollArea N/A QScrollArea N/A __init__ N/A N/A self N/A argv kwargv N/A N/A N/A N/A N/A super ScrollArea self __init__ argv kwargv N/A N/A self zoom_delta 0.2 N/A N/A self ratio 1.0 N/A N/A self original_size None N/A N/A self image None N/A N/A self last_pos None N/A N/A self cursor_magnify N/A QCursor N/A QPixmap N/A constant CURSOR_MAGNIFY N/A N/A self left_button_down False N/A N/A self ctrl_down False N/A N/A N/A self setVerticalScrollBarPolicy N/A Qt ScrollBarAlwaysOff N/A N/A N/A self setHorizontalScrollBarPolicy N/A Qt ScrollBarAlwaysOff N/A N/A N/A N/A N/A self verticalScrollBar setSingleStep 1 N/A N/A N/A N/A N/A self horizontalScrollBar setSingleStep 1 N/A setWidget N/A N/A self w N/A N/A N/A N/A N/A N/A super ScrollArea self setWidget w N/A N/A N/A isinstance w QLabel N/A N/A N/A N/A N/A w movie N/A N/A N/A self image N/A QMovie N/A N/A w movie N/A rect N/A N/A N/A self image frameRect N/A N/A self original_size N/A QSize N/A N/A rect width N/A N/A rect height N/A N/A N/A self image N/A QPixmap N/A N/A w pixmap N/A N/A self original_size N/A N/A N/A self image size N/A wheelEvent N/A N/A self ev N/A N/A N/A N/A N/A self ctrl_down N/A N/A N/A N/A N/A ev delta 0 N/A N/A direction 1 N/A N/A direction -1 N/A v N/A N/A self verticalScrollBar N/A N/A N/A v setValue N/A N/A N/A v value N/A direction 80 N/A N/A widget N/A N/A self widget N/A N/A isinstance widget LoadingIndicator N/A N/A N/A ratio N/A self ratio N/A N/A N/A N/A ev delta 0 N/A N/A ratio N/A self zoom_delta N/A N/A ratio 2.0 N/A N/A ratio 2.0 N/A N/A ratio N/A self zoom_delta N/A N/A ratio 0.2 N/A N/A ratio 0.2 N/A width N/A N/A N/A N/A self original_size width ratio N/A height N/A N/A N/A N/A self original_size height ratio N/A N/A N/A widget movie N/A N/A pic N/A QMovie N/A self image N/A N/A N/A pic setScaledSize N/A QSize width height N/A N/A N/A pic start N/A N/A N/A widget setMovie pic N/A N/A pic N/A N/A N/A self image scaled N/A QSize width height transformMode N/A Qt SmoothTransformation N/A N/A N/A widget setPixmap pic N/A N/A N/A widget resize N/A QSize width height N/A w N/A N/A N/A N/A self viewport width N/A h N/A N/A N/A N/A self viewport height N/A x N/A N/A N/A N/A N/A self horizontalScrollBar value N/A w 2 N/A y N/A N/A N/A N/A N/A self verticalScrollBar value N/A h 2 N/A N/A N/A N/A N/A self horizontalScrollBar setValue N/A N/A N/A x ratio N/A self ratio N/A w 2 N/A N/A N/A N/A N/A self verticalScrollBar setValue N/A N/A N/A y ratio N/A self ratio N/A h 2 N/A N/A self ratio ratio N/A N/A N/A self emit SIGNAL_ZOOM N/A self ratio N/A mousePressEvent N/A N/A self ev N/A N/A N/A N/A N/A N/A ev button N/A Qt LeftButton N/A N/A N/A self last_pos N/A N/A ev globalPos N/A N/A self left_button_down True N/A N/A N/A self left_button_down False N/A mouseReleaseEvent N/A N/A self ev N/A N/A N/A N/A self left_button_down False N/A mouseMoveEvent N/A N/A self ev N/A N/A N/A N/A N/A self left_button_down N/A N/A N/A pos N/A N/A ev globalPos N/A delta_x N/A N/A N/A pos x N/A N/A N/A self last_pos x N/A delta_y N/A N/A N/A pos y N/A N/A N/A self last_pos y N/A v N/A N/A self verticalScrollBar N/A N/A N/A v setValue N/A N/A N/A v value delta_y N/A h N/A N/A self horizontalScrollBar N/A N/A N/A h setValue N/A N/A N/A h value delta_x N/A N/A self last_pos pos N/A keyPressEvent N/A N/A self ev N/A N/A N/A N/A N/A N/A ev key N/A Qt Key_Control N/A N/A N/A N/A self setCursor N/A self cursor_magnify N/A N/A self ctrl_down True N/A keyReleaseEvent N/A N/A self ev N/A N/A N/A N/A N/A N/A ev key N/A Qt Key_Control N/A N/A N/A N/A self setCursor N/A Qt ArrowCursor N/A N/A self ctrl_down False N/A N/A PictureViewer N/A QDialog N/A __init__ N/A N/A self url manager parent N/A None N/A N/A 
        @param url: string. URL of picture to be retrieved.
        @param manager: RecourseManager.
         N/A N/A N/A N/A super PictureViewer self __init__ parent N/A N/A self title N/A N/A N/A url rsplit / 1 N/A -1 N/A N/A N/A self setupUI N/A N/A N/A self resize 400 400 N/A N/A N/A self setWindowTitle N/A 100%% %s N/A self title N/A N/A N/A self setMouseTracking True N/A N/A self task N/A DownloadTask url manager N/A N/A N/A self connect N/A self task SIGNAL_PROGRESS N/A self updateProgress N/A N/A N/A self connect N/A self task SIGNAL_FINISH N/A self updateUI N/A N/A N/A N/A self task start N/A N/A N/A self connect N/A self scroll_area SIGNAL_ZOOM N/A self onZoom N/A closeEvent N/A N/A self ev N/A N/A N/A N/A N/A N/A self task terminate N/A N/A N/A self close N/A updateProgress N/A N/A self percentage N/A N/A N/A N/A N/A N/A self indicator setPercentage percentage N/A updateUI N/A N/A self path N/A N/A N/A 
        Replace the progress indicator with downloaded image
        @param path: string. Downloaded image path
         N/A N/A N/A N/A self indicator hide N/A N/A N/A N/A self scroll_area takeWidget N/A label_pic N/A QLabel N/A N/A self image_type N/A N/A imghdr what path N/A N/A N/A self image_type gif N/A N/A N/A self image N/A QMovie path N/A N/A N/A N/A self image start N/A N/A N/A label_pic setMovie N/A self image N/A rect N/A N/A N/A self image frameRect N/A N/A self original_size N/A QSize N/A N/A rect width N/A N/A rect height N/A N/A N/A self image N/A QPixmap path N/A self image_type N/A N/A N/A label_pic setPixmap N/A self image N/A N/A self original_size N/A N/A N/A self image size N/A N/A N/A N/A self scroll_area setWidget label_pic N/A N/A N/A self resize N/A self original_size N/A setupUI N/A N/A self N/A N/A N/A vbox N/A QVBoxLayout N/A N/A N/A vbox setAlignment N/A Qt AlignCenter N/A N/A N/A vbox setContentsMargins 0 0 0 0 N/A N/A N/A self setLayout vbox N/A N/A self scroll_area N/A ScrollArea self N/A N/A N/A N/A self scroll_area setAlignment N/A Qt AlignCenter N/A N/A N/A vbox addWidget N/A self scroll_area N/A N/A self indicator N/A LoadingIndicator N/A N/A N/A N/A self scroll_area setWidget N/A self indicator N/A onZoom N/A N/A self ratio N/A N/A N/A N/A N/A self setWindowTitle N/A %d%% %s N/A N/A int N/A ratio 100 N/A self title N/A N/A