tik_manager4.management.ui.mcv

Model View Controller for Platform management.

Classes

LayoutsDataContainer

Layouts data container for the Management platform.

ProjectColumnItem

Item for the columns of the project model.

ProjectIconView

Custom QListView for the Management platform.

ProjectItem

Item for the project model.

ProjectModel

Model for the Shotgrid projects.

ProjectPickWidget

Widget to pick a project from Management Platform.

ProjectTreeView

Custom QTreeView for the Management platform.

WidgetDataContainer

Widget data container for the Management platform.

Module Contents

class LayoutsDataContainer

Layouts data container for the Management platform.

class ProjectColumnItem(text)

Bases: tik_manager4.ui.Qt.QtGui.QStandardItem

Item for the columns of the project model.

class ProjectIconView

Bases: tik_manager4.ui.Qt.QtWidgets.QListView

Custom QListView for the Management platform.

set_size(size)

Set the size of the icons in the view.

class ProjectItem(definition_dict)

Bases: tik_manager4.ui.Qt.QtGui.QStandardItem

Item for the project model.

class ProjectModel(project_data=None)

Bases: tik_manager4.ui.Qt.QtGui.QStandardItemModel

Model for the Shotgrid projects.

populate_model()

Populate the model with the project data.

columns = ['Name', 'Id', 'Status', 'Start Date', 'End Date']
filter_key = 'super'
property project_data
Return the project data.
class ProjectPickWidget(management_handler, parent=None)

Bases: tik_manager4.ui.Qt.QtWidgets.QWidget

Widget to pick a project from Management Platform.

build_ui()

Put widgets into layouts and connect signals.

get_selected_item()

Return the selected project definition.

get_selected_project_id()

Return the selected project id.

on_size_changed(value)

Change the size of the icons in the icon view.

show_icon_view()

Show the icon view and hide the list view.

show_list_view()

Show the list view and hide the icon view.

class ProjectTreeView

Bases: tik_manager4.ui.Qt.QtWidgets.QTreeView

Custom QTreeView for the Management platform.

expandAll()

Expand all the items in the view and resize the columns.

set_size(size)

Set the size of the icons in the view.

class WidgetDataContainer

Widget data container for the Management platform.