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

        # Clean UI
        self.linShotName.setText(self.shot.name)
        # self.asset_ui.linAssetName.clear()
        # self.asset_ui.txtDescription.clear()
        #
        # Add assets to ui
        self.model_assets = models.ListModel(self.project_assets)
        self.listAssets.setModel(self.model_assets)
def showEvent ( self , event ) : # Clean UI self . linShotName . setText ( self . shot . name ) # self.asset_ui.linAssetName.clear() # self.asset_ui.txtDescription.clear() # # Add assets to ui self . model_assets = models . ListModel ( self . project_assets ) self . listAssets . setModel ( self . model_assets )