(self)
When sequence selected in Shot Manager Ui
        :return:
When sequence selected in Shot Manager Ui
        :return:
When sequence selected in Shot Manager Ui : return :
def init_shots(self):
        """
        When sequence selected in Shot Manager Ui
        :return:
        """

        model_index = self.boxSequence.model().index(self.boxSequence.currentIndex(), 0)
        sequence_id = model_index.data(QtCore.Qt.UserRole + 1)

        self.eve_data.get_sequence_shots(sequence_id)
        self.model_shots = models.ListModel(self.eve_data.sequence_shots)

        self.selected_sequence = self.eve_data.get_sequence(sequence_id)

        self.boxShot.setModel(self.model_shots)

        self.init_shot()
def init_shots ( self ) : model_index = self . boxSequence . model ( ) . index ( self . boxSequence . currentIndex ( ) , 0 ) sequence_id = model_index . data ( QtCore . Qt . UserRole + 1 ) self . eve_data . get_sequence_shots ( sequence_id ) self . model_shots = models . ListModel ( self . eve_data . sequence_shots ) self . selected_sequence = self . eve_data . get_sequence ( sequence_id ) self . boxShot . setModel ( self . model_shots ) self . init_shot ( )