(self)
Create sequence entity in the DB
Create sequence entity in the DB
Create sequence entity in the DB
def add_shot(self):
        """
        Create sequence entity in the DB
        """

        # Get sequence name from UI
        shot_name = self.shot_ui.linShotName.text()
        shot_start_frame = self.shot_ui.linStartFrame.text()
        shot_end_frame = self.shot_ui.linEndFrame.text()
        shot_width = self.shot_ui.linWidth.text()
        shot_height = self.shot_ui.linHeight.text()
        shot_description = self.shot_ui.txtDescription.toPlainText()

        self.parent.add_shot(self.sequence,
                             shot_name,
                             shot_start_frame,
                             shot_end_frame,
                             shot_width,
                             shot_height,
                             shot_description)
def add_shot ( self ) : # Get sequence name from UI shot_name = self . shot_ui . linShotName . text ( ) shot_start_frame = self . shot_ui . linStartFrame . text ( ) shot_end_frame = self . shot_ui . linEndFrame . text ( ) shot_width = self . shot_ui . linWidth . text ( ) shot_height = self . shot_ui . linHeight . text ( ) shot_description = self . shot_ui . txtDescription . toPlainText ( ) self . parent . add_shot ( self . sequence , shot_name , shot_start_frame , shot_end_frame , shot_width , shot_height , shot_description )