(self, event)
Executed when AddShot class is shown (AddShot.show())
Executed when AddShot class is shown (AddShot.show())
Executed when AddShot class is shown ( AddShot . show () )
def showEvent(self, event):
        """
        Executed when AddShot class is shown (AddShot.show())
        """

        self.shot_ui.btnLinkAsset.setEnabled(False)
        self.shot_ui.btnUnlinkAsset.setEnabled(False)
        self.shot_ui.linProjectName.setText(self.project.name)
        self.shot_ui.linSequenceName.setText(self.sequence.name)
        self.shot_ui.linShotName.clear()
        self.shot_ui.txtDescription.clear()
def showEvent ( self , event ) : self . shot_ui . btnLinkAsset . setEnabled ( False ) self . shot_ui . btnUnlinkAsset . setEnabled ( False ) self . shot_ui . linProjectName . setText ( self . project . name ) self . shot_ui . linSequenceName . setText ( self . sequence . name ) self . shot_ui . linShotName . clear ( ) self . shot_ui . txtDescription . clear ( )