tik_manager4.ui.dialog.project_dialog ===================================== .. py:module:: tik_manager4.ui.dialog.project_dialog .. autoapi-nested-parse:: Dialog for setting project. Classes ------- .. autoapisummary:: tik_manager4.ui.dialog.project_dialog.NewProjectDialog tik_manager4.ui.dialog.project_dialog.SetProjectAsTemplateDialog tik_manager4.ui.dialog.project_dialog.SetProjectDialog Module Contents --------------- .. py:class:: NewProjectDialog(main_object, *args, **kwargs) Bases: :py:obj:`tik_manager4.ui.dialog.subproject_dialog.EditSubprojectDialog` Dialog for creating a new project .. py:method:: build_ui() Initialize the UI. .. py:method:: define_other_ui(structure_template=None) Define the secondary UI. .. py:method:: define_primary_ui() Define the primary UI. .. py:method:: on_structure_template_changed(index) Override the function to update the metadata. .. py:attribute:: feedback .. py:class:: SetProjectAsTemplateDialog(main_object, *args, **kwargs) Bases: :py:obj:`tik_manager4.ui.Qt.QtWidgets.QDialog` Custom Dialog to set the current project as a template. .. py:method:: build_ui() Build the UI. .. py:method:: set_template() Set the current project as a template. .. py:class:: SetProjectDialog(main_object, parent=None, *args, **kwargs) Bases: :py:obj:`tik_manager4.ui.Qt.QtWidgets.QDialog` .. py:method:: activate_bookmarks(row) Get the active project from bookmarks and clear the folders tree area selection. .. py:method:: activate_folders() Get the active project from folders tree and clear the bookmarks area selection. .. py:method:: build_ui() Build the UI. .. py:method:: on_add_bookmark() Called when the add bookmark button is clicked. .. py:method:: on_drag_and_drop(p_path) Called when a path is dropped to the dialog. .. py:method:: on_remove_bookmark() Called when the remove bookmark button is clicked. .. py:method:: populate_bookmarks() Populate the bookmarks list. .. py:method:: recents_pop_menu() Pop menu for recent projects. .. py:method:: set_and_close(project_path=None) Set the active project and close the dialog. .. py:method:: set_tree_root(root_path) Set the root of the tree to the given path.