tik_manager4.ui.dialog.work_dialog
Dialogs for creating work files and versions of them.
Attributes
Classes
Dialog for creating new work files. |
|
Dialog to save any file or folder to the tik manager 4 project. |
|
Data for the widgets |
|
Dialog to create a work file from a selection. |
|
Dialog to create a work file from a template file. |
Module Contents
- class NewVersionDialog(work_object, ingest=False, *args, **kwargs)
Bases:
tik_manager4.ui.Qt.QtWidgets.QDialog- build_ui()
- on_create_version()
- on_format_changed(file_format)
- class NewWorkDialog(main_object, subproject=None, task_object=None, category_object=None, subproject_id=None, task_id=None, category_index=None, *args, **kwargs)
Bases:
tik_manager4.ui.Qt.QtWidgets.QDialogDialog for creating new work files.
- build_layouts()
Create the layouts and split the UI into left and right.
- build_ui()
Build the UI elements
- define_primary_ui()
Define the primary UI elements with settings layout
- on_create_work()
Create the work file.
- refresh_categories(categories)
Refresh the categories.
- refresh_subproject(subproject)
Refresh the subproject and below.
- refresh_tasks(tasks)
Refresh the task and below.
- resolve_objects(subproject_id=None, task_id=None, category_index=None)
Try to resolve the objects from the given data or last state.
- set_category(category_name)
Set the category from the index.
- set_task(task_name)
Set the task from the index.
- update_labels(validation_status)
Update the path and name labels.
- class SaveAnyFileDialog(main_object, file_or_folder_path=None, *args, **kwargs)
Bases:
NewWorkDialogDialog to save any file or folder to the tik manager 4 project.
- define_primary_ui()
Define the primary UI elements with settings layout
- on_create_work()
Create the work file.
- class WidgetsData
Data for the widgets
- cancel_btn: tik_manager4.ui.Qt.QtWidgets.QPushButton = None
- categories_combo: tik_manager4.ui.Qt.QtWidgets.QComboBox = None
- create_btn: tik_manager4.ui.Qt.QtWidgets.QPushButton = None
- header_lbl: tik_manager4.ui.Qt.QtWidgets.QLabel = None
- name_le: tik_manager4.ui.Qt.QtWidgets.QLineEdit = None
- notes_lbl: tik_manager4.ui.Qt.QtWidgets.QLabel = None
- notes_te: tik_manager4.ui.Qt.QtWidgets.QPlainTextEdit = None
- resolved_name_lbl: tik_manager4.ui.widgets.common.ResolvedText = None
- resolved_path_lbl: tik_manager4.ui.widgets.common.ResolvedText = None
- subproject_widget: tik_manager4.ui.Qt.QtWidgets.QWidget = None
- tasks_combo: tik_manager4.ui.Qt.QtWidgets.QComboBox = None
- class WorkFromSelectionDialog(*args, **kwargs)
Bases:
NewWorkDialogDialog to create a work file from a selection.
- on_create_work()
Create the work file.
- class WorkFromTemplateDialog(main_object, template_names=None, *args, **kwargs)
Bases:
NewWorkDialogDialog to create a work file from a template file.
- define_primary_ui()
Define the primary UI elements with settings layout
- on_create_work()
Create the work file.
- app