tik_manager4.management.ui.mcv ============================== .. py:module:: tik_manager4.management.ui.mcv .. autoapi-nested-parse:: Model View Controller for Platform management. Classes ------- .. autoapisummary:: tik_manager4.management.ui.mcv.LayoutsDataContainer tik_manager4.management.ui.mcv.ProjectColumnItem tik_manager4.management.ui.mcv.ProjectIconView tik_manager4.management.ui.mcv.ProjectItem tik_manager4.management.ui.mcv.ProjectModel tik_manager4.management.ui.mcv.ProjectPickWidget tik_manager4.management.ui.mcv.ProjectTreeView tik_manager4.management.ui.mcv.WidgetDataContainer Module Contents --------------- .. py:class:: LayoutsDataContainer Layouts data container for the Management platform. .. py:class:: ProjectColumnItem(text) Bases: :py:obj:`tik_manager4.ui.Qt.QtGui.QStandardItem` Item for the columns of the project model. .. py:class:: ProjectIconView Bases: :py:obj:`tik_manager4.ui.Qt.QtWidgets.QListView` Custom QListView for the Management platform. .. py:method:: set_size(size) Set the size of the icons in the view. .. py:class:: ProjectItem(definition_dict) Bases: :py:obj:`tik_manager4.ui.Qt.QtGui.QStandardItem` Item for the project model. .. py:class:: ProjectModel(project_data=None) Bases: :py:obj:`tik_manager4.ui.Qt.QtGui.QStandardItemModel` Model for the Shotgrid projects. .. py:method:: populate_model() Populate the model with the project data. .. py:attribute:: columns :value: ['Name', 'Id', 'Status', 'Start Date', 'End Date'] .. py:attribute:: filter_key :value: 'super' .. py:property:: project_data Return the project data. .. py:class:: ProjectPickWidget(management_handler, parent=None) Bases: :py:obj:`tik_manager4.ui.Qt.QtWidgets.QWidget` Widget to pick a project from Management Platform. .. py:method:: build_ui() Put widgets into layouts and connect signals. .. py:method:: get_selected_item() Return the selected project definition. .. py:method:: get_selected_project_id() Return the selected project id. .. py:method:: on_size_changed(value) Change the size of the icons in the icon view. .. py:method:: show_icon_view() Show the icon view and hide the list view. .. py:method:: show_list_view() Show the list view and hide the icon view. .. py:class:: ProjectTreeView Bases: :py:obj:`tik_manager4.ui.Qt.QtWidgets.QTreeView` Custom QTreeView for the Management platform. .. py:method:: expandAll() Expand all the items in the view and resize the columns. .. py:method:: set_size(size) Set the size of the icons in the view. .. py:class:: WidgetDataContainer Widget data container for the Management platform.