PipeLionMainWindow is derived by QMainWindow and is the MainWindow of the pipeLion
method will update the calendar header-line, which shows the current month and year, which is shown in the calendar below.
Parameters: |
|
---|---|
Type : | year: int |
method is called when the tab is changed. In case the current tab is the user-tab (index=0) the toDo and done lists are filled out.
Parameters: | tab (int) – index number of the current tab |
---|
ProjectTab is derived by QWidget It is the main Tab for each project, which is assigned to a User
it holds information about the project and if the User is an admin to the project or not.
method checks if the current user is admin to the current project
Returns: | indicator if user is admon or not |
---|---|
Return type: | bool |
method will call refresh methods in case tha main tab in the projectTab is changed
Parameters: | tabId (int) – id of the tab: 0=projectInfoTab, 1=shotsTab, 2=scheduleTab |
---|
ProjectInfoTab is derived by QWidget it will build up a wiget which holds basic information about the project such as global-timespan, people involved etc
method allows to change the key-image of a project. this function runs a QFileDialog, to get the path of the desired image by using the ConfigManager and the projects name it will generate the basePath of the project, and will figure out if the selected image is inside the current project or not. If it is inside the project the path will be changed to a relative-path
if self.isAdmin is True the loglineWidget is editable and any edit will trigger this method to store the current-logline text within the project
if self.isAdmin is True the objectivesWidget is editable and any edit will trigger this method to store the current-logline text within the project
method to fill in the key picture. this method will check in the config for the project Server, and will resolve relative-links to the project
method will fill in the logline of the project, if self.isAdmin is True this widget will be set as editable.
method will fill in the objectives of the project, if self.isAdmin is True this widget will be set as editable.
method sets the currentProject to this widget
Parameters: | project (Project) – current project |
---|
derived by QWidget ShotsTab is the man editing and information gathering tab of the ProjectTab.
method will be called if if the current item in the adminGraph changed In that case, the properties widget will show the properties of the currently selected node
Parameters: |
|
---|
method will fill in the list, which is lefty of the userGraph depending on which boxes are checked above.
method will iter over allAssets within the project-asset and return the asset, which has the same baseId and the same id
Parameters: |
|
---|---|
Returns: | asset |
Return type: | AbstractAsset |
method will set the parent-project, set to this tab and will update all child widgets of itself
Parameters: | project (Project) – project asset |
---|
method will set the user set to the given user
Parameters: |
|
---|
AssetInfoWidget is derived by QWidget It describes the information shown to the right of the userGraph
method changes the asset-state to the given state:
0 -> 'not started'
1 ->'in progress'
2 -> 'done'
Parameters: | currentIndex (int) – state set in the stateComboBox |
---|
method will fill in the state-comboBox with the values ‘not started’,’in progress’, and done’
method assigns an asset, a project and a user to itself, and updates all childWidgets
Parameters: |
|
---|
AssetInfoWidget is derived by QWidget It describes the information shown to the right of the userGraph
method will fill in the state-comboBox with the values ‘not started’,’in progress’, and done’
method assigns an asset, a project and a user to itself, and updates all childWidgets
Parameters: |
|
---|
AssetInfoWidget is derived by QWidget It describes the information shown to the right of the userGraph
method will fill in the releaseTreeWidget with the all files found in the release-folder
method will fill in the workTreeWidget with the all files found in the work-folder
method will generate a hierarchy of QTreeWidgetItems. For each path in the given ListOfPath it will genearate a toplevelitem and for each subfolder, it will generate a new childNode for each file it will store the full path to that file in the 32-role and column 0
Parameters: | pathList (list of strings) – list of Folders which should be put in the hierarchy |
---|---|
Returns: | list of toplevelitems holding their hierarchy of subfolders and files |
Return type: | list of QTreeWidgetItems |
method will launch the selected reference-file with the default application
method assigns an asset, a project and a user to itself, and updates all childWidgets
Parameters: |
|
---|
reimplemented from QCalendarWidget This custom Calendar widget will show all tasks of the logged-in user in a calendar-view
method will create a context menue with a selection of table-types. this selection is connected to the TableGraph-object and will change the table-type for the entire scene
Parameters: | event (QContextMenuEvent) – context menu event |
---|
method will gather the selected asset in the combo-box and will launch the default connection
method is reimplemented from the QCalendarWidget-class. it paints exactly one day in the calendar. It was reimplemented to add the users-tasks to the calendar-view
Parameters: |
|
---|