eric7.Plugins.VcsPlugins.vcsMercurial.HgTagBranchListDialog

Module implementing a dialog to show a list of tags or branches.

Global Attributes

None

Classes

HgTagBranchListDialog Class implementing a dialog to show a list of tags or branches.

Functions

None


HgTagBranchListDialog

Class implementing a dialog to show a list of tags or branches.

Derived from

QDialog, Ui_HgTagBranchListDialog

Class Attributes

None

Class Methods

None

Methods

HgTagBranchListDialog Constructor
__closeBranch Private slot to close the selected branch.
__closeBranchHeads Private slot to close the selected branches.
__finish Private slot called when the process finished or the user pressed the button.
__generateItem Private method to generate a tag item in the tag list.
__highlightCurrentBranch Private method to highlight the current branch with a bold font.
__processOutputLine Private method to process the lines of output.
__resizeColumns Private method to resize the list columns.
__resort Private method to resort the tree.
__showError Private slot to show some error.
__switchTo Private slot to switch the working directory to the selected revision.
closeEvent Protected slot implementing a close event handler.
on_buttonBox_clicked Private slot called by a button of the button box clicked.
on_refreshButton_clicked Private slot to refresh the log.
on_tagList_customContextMenuRequested Private slot to handle the context menu request.
start Public slot to start the tags command.

Static Methods

None

HgTagBranchListDialog (Constructor)

HgTagBranchListDialog(vcs, parent=None)

Constructor

vcs (Hg)
reference to the vcs object
parent (QWidget)
parent widget

HgTagBranchListDialog.__closeBranch

__closeBranch()

Private slot to close the selected branch.

HgTagBranchListDialog.__closeBranchHeads

__closeBranchHeads()

Private slot to close the selected branches.

HgTagBranchListDialog.__finish

__finish()

Private slot called when the process finished or the user pressed the button.

HgTagBranchListDialog.__generateItem

__generateItem(revision, changeset, status, name)

Private method to generate a tag item in the tag list.

revision (str)
revision of the tag/branch
changeset (str)
changeset of the tag/branch
status (str)
of the tag/branch
name (str)
name of the tag/branch

HgTagBranchListDialog.__highlightCurrentBranch

__highlightCurrentBranch()

Private method to highlight the current branch with a bold font.

HgTagBranchListDialog.__processOutputLine

__processOutputLine(line)

Private method to process the lines of output.

line (str)
output line to be processed

HgTagBranchListDialog.__resizeColumns

__resizeColumns()

Private method to resize the list columns.

HgTagBranchListDialog.__resort

__resort()

Private method to resort the tree.

HgTagBranchListDialog.__showError

__showError(out)

Private slot to show some error.

out (str)
error to be shown

HgTagBranchListDialog.__switchTo

__switchTo()

Private slot to switch the working directory to the selected revision.

HgTagBranchListDialog.closeEvent

closeEvent(e)

Protected slot implementing a close event handler.

e (QCloseEvent)
close event

HgTagBranchListDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot called by a button of the button box clicked.

button (QAbstractButton)
button that was clicked

HgTagBranchListDialog.on_refreshButton_clicked

on_refreshButton_clicked()

Private slot to refresh the log.

HgTagBranchListDialog.on_tagList_customContextMenuRequested

on_tagList_customContextMenuRequested(pos)

Private slot to handle the context menu request.

pos (QPoint)
position the context menu was requested at

HgTagBranchListDialog.start

start(tags, tagsList, allTagsList)

Public slot to start the tags command.

tags (bool)
flag indicating a list of tags is requested (False = branches, True = tags)
tagsList (list of str)
reference to string list receiving the tags
allTagsList (list of str)
reference to string list all tags
Up