Provides a git-status-like repository widget.
This widget observes the main model and broadcasts Qt signals.
Create a new top-level item in the status tree.
Expand the top-level category “folder” once and only once.
Given an item, returns the index of the item.
The indexes for unstaged items are grouped such that the index of unmerged[1] = len(modified) + 1, etc.
Returns a list of (category, row) representing the tree selection.
Return the current selection in the repo status tree.
Adds items to the ‘Modified’ subtree.
Adds items to the ‘Staged’ subtree.
Adds items to the ‘Unmerged’ subtree.
Adds items to the ‘Untracked’ subtree.
Scan across staged, modified, etc. and return a single item.
Called when an item is clicked in the repo status tree.
Create context menus for the repo status tree.
Set up the status menu for the repo status tree.
Called when an item is double-clicked in the repo status tree.
Show a data for the selected item.
Update display from model data.