def _on_item_activated(self, item):
        """
        Emits the message activated signal
        """
        msg = item.data(QtCore.Qt.UserRole)
        self.msg_activated.emit(msg)
def _on_item_activated ( self , item ) : msg = item . data ( QtCore . Qt . UserRole ) self . msg_activated . emit ( msg )
Emits the message activated signal