(self, project_name, houdini_build, project_width, project_height, project_description)
Add project to database and reload UI
Add project to database and reload UI
Add project to database and reload UI
def add_project(self, project_name, houdini_build, project_width, project_height, project_description):
        """
        Add project to database and reload UI
        """

        # Create project object
        project = entities.Project(project_name)
        project.houdini_build = houdini_build
        project.width = project_width
        project.height = project_height
        project.description = project_description

        # Add project to DB and update UI
        self.model_projects.layoutAboutToBeChanged.emit()
        self.eve_data.add_project(project)
        self.model_projects.layoutChanged.emit()
def add_project ( self , project_name , houdini_build , project_width , project_height , project_description ) : # Create project object project = entities . Project ( project_name ) project . houdini_build = houdini_build project . width = project_width project . height = project_height project . description = project_description # Add project to DB and update UI self . model_projects . layoutAboutToBeChanged . emit ( ) self . eve_data . add_project ( project ) self . model_projects . layoutChanged . emit ( )