tik_manager4.ui.main

Main UI for Tik Manager 4.

Maya test:

from importlib import reload import sys p_path = “D:devtik_manager4" if p_path not in sys.path:

sys.path.append(p_path)

kill_list = [] for name, _module in sys.modules.items():

if name.startswith(“tik_manager4”):

kill_list.append(name)

for x in kill_list:

sys.modules.pop(x)

# from tik_manager4.ui.Qt import QtWidgets, QtCore, QtGui from tik_manager4.ui import main reload(main) main.launch(dcc=”Maya”)

Attributes

LOG

WINDOW_NAME

app

Classes

MainUI

Main UI for Tik Manager 4.

Functions

launch([dcc, dont_show])

Launch the main UI.

Module Contents

class MainUI(main_object, window_name=WINDOW_NAME, **kwargs)

Bases: tik_manager4.ui.Qt.QtWidgets.QMainWindow

Main UI for Tik Manager 4.

build_bars()

Build the menu bar.

build_buttons()

Build the buttons

build_extensions()

Collect the management extensions and build the menu.

closeEvent(event)

Override the close event to save the window state.

initialize_mcv()

Initialize the model-control-views.

management_connect(platform_name=None)

Convenience function to connect to a management platform.

management_lock()

Lock certain UI elements if the project is getting driven by a management platform.

on_add_new_user()

Launch add new user dialog.

on_check_for_updates()

Check for updates.

on_create_new_project()

Create a new project.

on_element_view(element_type, element_path)

View the selected element.

Args:

element_type (str): The type of the element to view. element_path (str): The path of the element to view.

on_ingest_version()

Iterate a version over the selected work in the ui.

on_login()

Launch login dialog.

on_new_version()

Create a new version.

on_new_work(from_selection=False)

Create a new work.

on_publish_scene()

Bring up the publish scene dialog.

on_publish_snapshot()

Immediately snapshot publish the selected version of the work item.

on_purge_local_purgatory()

Purge the local purgatory.

on_purge_project_purgatory()

Purge the project purgatory.

on_save_any_file(file_path=None, folder=False)

Launch the save any file dialog.

on_set_project(message='')

Show a status message.

on_set_project_as_template()

Set the current project as a template.

on_settings()

Launch the settings dialog.

on_show_preview()

Make a dropdown list for the available previews and play selected one.

on_work_from_template()

Launch the work from template dialog.

refresh_categories()

Refresh the categories’ ui.

refresh_project()

Refresh the project ui.

refresh_subprojects()

Refresh the subprojects’ ui.

refresh_tasks()

Refresh the tasks’ ui.

refresh_versions()

Refresh the versions’ ui.

resume_last_state()

Resume the last selection from the user settings.

set_last_state()

Set the last selections for the user

support_splash(count_limit=10)

Show the support splash screen if its time and not disabled.

toggle_purgatory_mode(state)

Toggle the visibility of deleted items.

launch(dcc='Standalone', dont_show=False)

Launch the main UI.

LOG
WINDOW_NAME
app