tik_manager4.ui.dialog.project_dialog

Dialog for setting project.

Classes

NewProjectDialog

Dialog for creating a new project

SetProjectAsTemplateDialog

Custom Dialog to set the current project as a template.

SetProjectDialog

Module Contents

class NewProjectDialog(main_object, *args, **kwargs)

Bases: tik_manager4.ui.dialog.subproject_dialog.EditSubprojectDialog

Dialog for creating a new project

build_ui()

Initialize the UI.

define_other_ui(structure_template=None)

Define the secondary UI.

define_primary_ui()

Define the primary UI.

on_structure_template_changed(index)

Override the function to update the metadata.

feedback
class SetProjectAsTemplateDialog(main_object, *args, **kwargs)

Bases: tik_manager4.ui.Qt.QtWidgets.QDialog

Custom Dialog to set the current project as a template.

build_ui()

Build the UI.

set_template()

Set the current project as a template.

class SetProjectDialog(main_object, parent=None, *args, **kwargs)

Bases: tik_manager4.ui.Qt.QtWidgets.QDialog

activate_bookmarks(row)

Get the active project from bookmarks and clear the folders tree area selection.

activate_folders()

Get the active project from folders tree and clear the bookmarks area selection.

build_ui()

Build the UI.

on_add_bookmark()

Called when the add bookmark button is clicked.

on_drag_and_drop(p_path)

Called when a path is dropped to the dialog.

on_remove_bookmark()

Called when the remove bookmark button is clicked.

populate_bookmarks()

Populate the bookmarks list.

recents_pop_menu()

Pop menu for recent projects.

set_and_close(project_path=None)

Set the active project and close the dialog.

set_tree_root(root_path)

Set the root of the tree to the given path.