tik_manager4.management.ui.mcv
Model View Controller for Platform management.
Classes
Layouts data container for the Management platform. |
|
Item for the columns of the project model. |
|
Custom QListView for the Management platform. |
|
Item for the project model. |
|
Model for the Shotgrid projects. |
|
Widget to pick a project from Management Platform. |
|
Custom QTreeView for the Management platform. |
|
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.QStandardItemItem for the columns of the project model.
- class ProjectIconView
Bases:
tik_manager4.ui.Qt.QtWidgets.QListViewCustom 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.QStandardItemItem for the project model.
- class ProjectModel(project_data=None)
Bases:
tik_manager4.ui.Qt.QtGui.QStandardItemModelModel 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.QWidgetWidget 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.QTreeViewCustom 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.