def init_signals(self):
        """ Connect signals """
        self.widget.activated.connect(self.on_item_activated)
        self.widget.clicked.connect(self.on_item_clicked)
        self.widget.doubleClicked.connect(self.on_item_double_clicked)
        self.widget.entered.connect(self.on_item_entered)
        self.widget.pressed.connect(self.on_item_pressed)
        self.widget.customContextMenuRequested.connect(
            self.on_custom_context_menu_requested)
        self.selection_model = self.widget.selectionModel()
        self.selection_model.selectionChanged.connect(
            self.on_selection_changed)
        self.widget.horizontalScrollBar().valueChanged.connect(
            self.on_horizontal_scrollbar_moved)
        self.widget.verticalScrollBar().valueChanged.connect(
            self.on_vertical_scrollbar_moved)
Connect signals